snapshot
Lists a page's interactive elements and headings with refs grouped by region, so you can target them for clicks, typing, and form fills. Refs reset after each run and break after navigation.
Instructions
List the page's interactive elements (buttons, links, fields, checkboxes…) and headings with refs like [ref=e5], grouped by page region. Use refs with click/type/etc. Refs reset on each snapshot and break after navigation.
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": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max elements (default 300). Elements in view come first. | |
| tabId | No | Tab ID from tabs_list. Omit for the active tab. | |
| profile | No | Chrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile. | |
| interactiveOnly | No | Skip headings/images. Default false. |