Restore Restart Snapshot
restore_restart_snapshotResume previous work from a saved snapshot. Relevant when the user asks to resume/restart or after context loss. By default it overwrites the current working state with the snapshot's state and writes a restore event to the timeline. To only inspect a snapshot, pass restore_state=false and record_restore_event=false with its snapshot_id; without a snapshot_id, when no saved snapshot matches, a new snapshot of the current working state is saved first.
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": "restore_restart_snapshot"
}
}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 |
| state_key | No | Working-state key to save, snapshot, or restore, such as active_task. | |
| snapshot_id | No | Exact restart snapshot memory ID to restore. | |
| ttl_seconds | No | Time-to-live in seconds for working state or restart snapshot records. | |
| restore_state | No | Whether restore_restart_snapshot should restore the saved working-state record. | |
| source_session_id | No | Session ID whose saved restart snapshot should be restored. | |
| target_session_id | No | Session ID to associate with restored state and restore events. | |
| record_restore_event | No | Whether to write a timeline event after restoring a restart snapshot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |