snapshot
Get a flat accessibility/DOM tree of the current page, including tag, role, text, and ref for element targeting. Use a returned ref with click to interact.
Instructions
Return a flat accessibility/DOM snapshot (tag, role, text, ref) for element targeting. Use a returned ref with click.
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 |
|---|---|---|---|
No arguments | |||