snapshot
snapshotCurrent page as a compact tree; interactive elements carry ref=eN for click/type/select; draggable ones are marked (drag: from ref to ref). Refs stay valid while the element exists. mode=diff shows only changes.
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": {
"session_id": "<session_id>",
"secret": "<secret>"
},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full (default) or only what changed since the last snapshot | |
| scope | No | ref of a section to show only that subtree | |
| cursor | No | line to continue from when the tree was truncated | |
| secret | Yes | session secret from create_session | |
| max_chars | No | text cap (default 20000) | |
| session_id | Yes | session id from create_session |