page_state
Reads the live state of an interactive page—what users added, edited, or checked off—and returns the state, stateRevision, and eventCursor, optionally for a specific path.
Instructions
Read the live state of an interactive page: what the user has actually added, edited, or checked off. Returns the state (or, with path, just that part), stateRevision, and eventCursor (pass it to page_wait to wait for events after this read). Works whether or not the tab is focused, closed, or the browser is open. On a page with large arrays, read one part: path "cards/num=12", or path "cards" with where. Images on a single card or todo are attached so you can see them; a whole-board read does not inline every cover. Pages with template actions often have a cheaper list action. Do not poll this tool while waiting for the user — use page_wait.
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": "page_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tab id, e.g. t_ab12cd34. | |
| key | No | Page key, e.g. scribe:sprint-notes. | |
| path | No | Return only the value at this path. "/"-separated: a key on an object; on an array an item's id ("cards/c_12ab"), a field=value match ("cards/num=31"), or "#<index>". Same paths as page_update ops. | |
| guide | No | Include the page's template guide even if it was already sent in this session. | |
| where | No | With a path to an array: only the items whose fields equal these values, e.g. path "cards", where { col: "col_ab12" }. |