snapshot
Capture a page outline with headings, text, and interactive elements marked by refs. Use those refs before click, type, or fill_form actions to target the right elements reliably.
Instructions
Read the page as an outline of headings, text and interactive elements. Each element you can act on has a ref like [e14]. Take a snapshot before acting and use the refs in click, type and fill_form.
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 |
|---|---|---|---|
| tab | No | Tab handle from list_tabs, e.g. "chrome:812". Optional when only one tab is shared. | |
| maxLines | No | Default 400. |