edge_get_accessibility_snapshot
Capture a token-efficient semantic accessibility snapshot of the active page to inspect interactive elements without loading bulky HTML, optionally scoped by CSS selector.
Instructions
Get the semantic accessibility tree of the active page. This is the most token-efficient way for an AI agent to inspect interactive elements (buttons, inputs, links, headings) without loading bulky HTML.
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": "edge_get_accessibility_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootSelector | No | Optional CSS selector to scope the snapshot to a specific subtree/component | |
| interestingOnly | No | Filter out non-semantic structural containers to minimize tokens (default: true) |