chrome_snapshot
Capture a semantic snapshot of a Chrome tab to list interactive elements with [#N] refs and page-declared tools before clicking or typing.
Instructions
Semantic snapshot of a tab: interactive elements with [#N] refs, plus page-declared site tools. Take one before clicking or typing.
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": "chrome_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Chrome tab id (default: active tab) | |
| frameId | No | Frame id, default 0 | |
| snapshotId | No | snapshotId returned by chrome_snapshot; rejects stale actions | |
| maxElements | No |