browser_snapshot
Read the page on a ready sandbox's screen: its accessibility tree as an indented outline, one element a line, such as - link "About" [ref=42]. Give an element's ref to browser_click, browser_type or browser_scroll. Refs last until the page changes: take a new snapshot after navigating.
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": {
"sandbox_id": "<sandbox_id>"
},
"name": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_id | Yes | The sandbox, `sbx_…`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page's URL. | |
| title | Yes | The page's title. | |
| snapshot | No | The page's accessibility tree as an indented outline, one element a line: `- role "name" [ref=N]`. A ref names the element to click, type into or scroll to. |