checkpoint_create
Create a named checkpoint of a task's current worktree HEAD, enabling session rewinding to that commit later.
Instructions
Create a git-tag checkpoint at the current worktree HEAD.
Captures the current HEAD commit of the task's worktree as a named checkpoint so the session can be rewound to this point later.
task_id is the ID of the task whose worktree to snapshot. step_index is a caller-assigned integer identifying this checkpoint (should be monotonically increasing within a session). description is an optional human-readable label for the checkpoint.
Returns dict with: task_id, session_id, step_index, commit_sha, tag_name, description, created_at.
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": {
"task_id": "<task_id>",
"step_index": "<step_index>"
},
"name": "checkpoint_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| step_index | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||