browser_snapshot
Capture a structured DOM text snapshot for accessibility analysis. Narrow the scope with a root selector or limit characters to manage payload size.
Instructions
Accessibility snapshot (structured DOM text). Use root_selector to narrow scope; max_chars avoids huge MCP payloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | Stable tab id from browser_tabs list; preferred when multiple agents run in parallel. Mutually exclusive with tab_index. | |
| max_chars | No | If set, truncate snapshot to this many characters and append a notice. | |
| tab_index | No | Tab index from browser_tabs list. If omitted, uses the lowest-index tab. Mutually exclusive with tab_id. | |
| root_selector | No | CSS selector for the subtree to snapshot (default: body). |