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.
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) |