snapshot
Capture a structured snapshot of a web page with Markdown and element selectors to locate and interact with elements via refs.
Instructions
Capture a structured snapshot of a tab: clean Markdown with inline fingerprint refs (<!--fp:...-->) and an 'Element Selector Map' (fp | tag | text). Use this instead of read_page+grep to locate elements, then pass a ref to click. Targets the active tab unless a browserId is given.
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 |
|---|---|---|---|
| browserId | No | Target tab (from list_tabs). Defaults to active. |