Page snapshot
browser_snapshotCapture accessibility snapshot of the current page, this is better than screenshot. Takes the session_id from open_browser. 0.1¢ a step that runs.
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": {
"session_id": "<session_id>"
},
"name": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxes | No | Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect) | |
| depth | No | Limit the depth of the snapshot tree | |
| target | No | Exact target element reference from the page snapshot, or a unique element selector | |
| filename | No | Save snapshot to a file instead of returning it in the response. Relative file names are resolved against the workspace root. | |
| session_id | Yes | The session id open_browser returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The address of the page after the step. | |
| error | No | Why the step failed, when it failed. | |
| title | No | The page title. | |
| read_at | No | When the page was read. | |
| took_ms | No | How long the step took. | |
| price_usd | No | What the step cost, in dollars. |