{ "name": "browser_snapshot", "description": "Capture accessibility snapshot of the current page, this is better than screenshot", "arguments": { "type": "object", "properties": { "viewId": { "type": "string", "description": "Target browser tab ID. If omitted, uses the last interacted tab." }, "interactive": { "type": "boolean", "description": "When true, only include interactive elements in the snapshot. Defaults to false." }, "maxDepth": { "type": "number", "description": "Maximum depth for snapshot output. Defaults to 20." }, "compact": { "type": "boolean", "description": "When true, outputs a more compact snapshot format. Defaults to false." }, "selector": { "type": "string", "description": "Optional CSS selector to scope the snapshot to a subtree." }, "includeDiff": { "type": "boolean", "description": "When true, include a diff vs the previous snapshot for this tab. Defaults to false." }, "take_screenshot_afterwards": { "type": "boolean", "description": "When true, takes a screenshot after snapshot completes. Defaults to false." } }, "required": [] } }