browser_snapshot
Captures a compact, numbered snapshot of visible and interactive page elements with reference numbers and bounding boxes so agents can target them for clicking or typing.
Instructions
Capture a compact, numbered DOM snapshot of visible & interactive elements (with ref numbers and bounding boxes). Call this before browser_click or browser_type by ref.
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 |
|---|---|---|---|
| tab_id | No | Target tab id from browser_tabs. |