Update State
update_stateSave the current working state—active task, next action, or blocker—to resume work in future sessions.
Instructions
Save the current working state during long-running work — active task, next action, or blocker — so future turns/sessions can resume. For durable user facts use remember.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope that narrows memory access; leave blank for the token default. | |
| bucket | No | Memory bucket or namespace to read from or write to; use % only for tools that support wildcard reads. | work |
| content | No | Text body to save, such as a memory, TODO/action item, event note, or state summary. | |
| state_key | No | Working-state key to save, snapshot, or restore, such as active_task. | active_task |
| next_action | No | Next action to persist so future turns can resume the work. | |
| ttl_seconds | No | Time-to-live in seconds for working state or restart snapshot records. | |
| current_task | No | Current task or work item to persist for later resume. | |
| metadata_json | No | Optional JSON object string with extra metadata for the operation. | {} |
| blocked_reason | No | Short explanation of why the current work is blocked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |