snapshot
Retrieve complete conversation state from open sessions, including prompts, replies, tool calls, plans, approvals and notifications, with filters to limit results and incremental updates by sequence.
Instructions
Full conversation of open sessions, the same as the webui shows: prompts, replies, thinking, tool calls with their input, output and diffs, plans, approvals, questions and agent-specific messages, plus each session's state and pending notifications. It can be large: pass session, and use last, types or exclude_types to keep it small. Pass back server_id and seq as since to get only what changed. ack is for UI clients that relay notifications. UI clients that poll: pass simplify to leave out tool call details (input, output, content) and session commands, and get one item in full with item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ack | No | Notification keys already relayed | |
| last | No | Only the last n items, after the kind filters | |
| since | No | seq from the previous call: only items changed after it | |
| types | No | Only these item kinds | |
| session | No | Only this session | |
| simplify | No | Tool items keep only their title, status and other header fields; commands are left out | |
| server_id | No | server_id from the previous call; a different one resets | |
| exclude_types | No | Leave these item kinds out |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | Yes | ||
| reset | Yes | ||
| sessions | Yes | ||
| server_id | Yes |