get-page-snapshot
Reads a tab's accessibility snapshot and returns element references plus the snapshot ID required to act on page controls.
Instructions
Read a tab's accessibility snapshot, including element references and the snapshot ID needed to act on them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageId": "<pageId>"
},
"name": "get-page-snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| sessionId | No | Browser session ID. Defaults to 'default'. |