browser_snapshot
Get a distilled, token-efficient snapshot of the current page with reference IDs for browser actions. Optionally truncate length or include URLs to guide AI agent decisions.
Instructions
Return a distilled AI-oriented aria snapshot (verbose /url lines dropped and data: URLs collapsed to save tokens). Use [ref=eN] values with browser_click/fill/type/hover/press/wait_for.
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 |
|---|---|---|---|
| maxLength | No | Truncate snapshot to this many chars. | |
| includeUrls | No | Keep /url lines for links. Default false for token efficiency. |