browser_snapshot
Capture a browser tab's accessibility tree with element references, scoped by target or query, to inspect UI structure and track changes via delta snapshots; passwords are masked.
Instructions
Accessibility tree with refs; scope by target or query. Passwords are masked. With delta:true, pass the prior revision as since.
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": {
"tabId": "<tabId>"
},
"name": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | Request incremental snapshot | |
| query | No | ||
| since | No | Prior revision | |
| tabId | Yes | ||
| target | No | Target. | |
| maxChars | No | Default 8000 |