AgentOS Extensions API - v1.0.3
    Preparing search index...

    Tool for getting page snapshot

    Implements

    Index

    Constructors

    Properties

    category: "research" = 'research'
    description: "Get an accessibility-like snapshot of the current page (interactive elements, links, forms)." = 'Get an accessibility-like snapshot of the current page (interactive elements, links, forms).'
    displayName: "Browser Snapshot" = 'Browser Snapshot'
    hasSideEffects: false
    id: "web-browser-snapshot-v1" = 'web-browser-snapshot-v1'
    inputSchema: JSONSchemaObject = ...
    name: "browser_snapshot" = 'browser_snapshot'

    Tool call name used by the LLM / ToolExecutor.

    Methods

    • Execute snapshot capture

      Parameters

      • input: { includeForms?: boolean; includeLinks?: boolean }
      • _context: ToolExecutionContext

      Returns Promise<ToolExecutionResult<PageSnapshot>>

    • Validate input

      Parameters

      • _input: Record<string, any>

      Returns { errors?: any[]; isValid: boolean }