Snapshot Page
browser_snapshotCaptures a compact combined view of page DOM text, inputs, links, and interactive elements to debug AI agent browser interactions.
Instructions
Use when a compact combined view of page state, text, inputs, links, and interactive elements is more useful than separate inspection calls. Preconditions: an active page and acknowledgeRawCapture: true are required. Next: select a target for browser_observe_action_result or compare with a later snapshot. Sensitivity: snapshots may include DOM text, visible input values, links, and externalized raw artifacts.
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 |
|---|---|---|---|
| selector | No | ||
| includeLinks | No | ||
| maxTextBytes | No | ||
| elementsLimit | No | ||
| includeInputs | No | ||
| acknowledgeRawCapture | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |