checkpoint
Save active task state as session memory or restore the latest saved state to resume work and hand off context between sessions. Deprecated: use session instead.
Instructions
Deprecated: use session. Save the active task state (estado.md) as a session memory, or restore the latest; removed in the next minor release.
save: {"saved", "path", "task_title"}; saved is false when no state is active. restore: {"found", "path", "task_title", "content", "source"}. It reads the live active estado.md first (the branch's change, else the newest), with a flow line (etapa and tasks.md progress); without one it falls back to the saved checkpoint. Saved checkpoints of tasks with no active state are archived. Never blocks compaction. With [checkpoint] state_glob set, the JSON adds "deprecated".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "save" or "restore". | |
| project | No | Project; defaults to --project. | |
| hook_event | No | Only for Claude Code hooks: ${hook_event_name}. Omit otherwise. | |
| task_title | No | restore only: resume this task (exact title) instead of the branch's. | |
| project_dir | No | Absolute project directory (hooks pass ${cwd}). |