snapshot
Retrieve the current page's interactive elements as an indexed list for clicking or typing. Re-run after page changes to keep the list accurate.
Instructions
Return the current page's interactive elements as [index] <tag> text.
Pass an index to click/type_text. Re-run after the page changes.
Args: session_id: Session to inspect (default: "default")
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 |
|---|---|---|---|
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |