kloakt_session_read
Read a persistent session's page state without altering it. Choose text mode for the page's text or snapshot mode for an accessibility tree (optionally only interactive elements).
Instructions
Read the current state of a persistent session's page without changing it. mode='text' returns document.body.innerText; mode='snapshot' returns an indexed accessibility/structure tree (pass interactive=true for only the actionable elements). Use to observe what the page looks like now.
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": {
"name": "<name>"
},
"name": "kloakt_session_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | What to read (default: text) | text |
| name | Yes | Session name | |
| interactive | No | For mode=snapshot: only return actionable elements (default: false) |