browser_snapshot
Capture a structured accessibility snapshot of the page, revealing element hierarchy and properties beyond what a screenshot offers. Specify target element, depth limit, bounding boxes, or save output to markdown.
Instructions
Capture accessibility snapshot of the current page, this is better than 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": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Exact target element reference from the page snapshot, or a unique element selector | |
| filename | No | Save snapshot to markdown file instead of returning it in the response. | |
| depth | No | Limit the depth of the snapshot tree | |
| boxes | No | Include each element's bounding box as [box=x,y,width,height] in the snapshot |