state
App and inputRead-only
What is on screen and selected: the shell and mode, the open editor and its item (editor_item_id), armed tool, loading, panels, Quick Look, the library picker, where the next capture lands, the gallery's current and selected items, browser-extension connections, any recording in progress (an agent's or the user's), and temp_dir, SuperCapture's temp folder, where files are staged for library_add import. Check it first.
Available at every access level, including a client that sent X-Access-Level: readonly.
Parameters
This tool takes no parameters.
Example
A JSON-RPC call to POST http://localhost:21516/mcp with the bearer token, filling in the required parameters:
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "state", "arguments": {} }}See the MCP server overview for how to connect a client and where the token lives.