snapshot
Capture an accessibility tree snapshot of the current page to get element refs for interaction, understanding page state with far fewer tokens than a screenshot.
Instructions
Get accessibility tree snapshot of the page. Returns element refs (e0, e1, ...) for interaction. This is the primary way to understand page state and costs far fewer tokens than a screenshot.
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": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Compact format to reduce tokens | |
| interactive | No | Only show interactive elements |