interceptor_browser_snapshot
Capture an ARIA accessibility snapshot of the current page as a YAML role tree, enabling LLM-driven page understanding without raw HTML parsing. Use mode 'ai' to add ref attributes for locator reuse.
Instructions
Take an ARIA accessibility snapshot of the bound page (YAML-formatted role tree). Great for LLM-driven page understanding without parsing HTML.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_id": "<target_id>"
},
"name": "interceptor_browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Snapshot mode — 'ai' adds ref attributes for locator reuse | default |
| selector | No | Root selector to snapshot (default: 'body') | body |
| target_id | Yes | Target ID from interceptor_browser_launch |