Accessibility snapshot
browser_snapshotReturns the active tab's accessibility tree with element refs, enabling content location and targeting click or type actions without screenshots.
Instructions
Return the accessibility tree of the active tab with element refs (e.g. [ref=e12]) usable by browser_click, browser_type, etc. Preferred over screenshots for reading or locating content.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | Truncate after this many characters (default 20000) |