rollback
Store commit hashes with purpose and scope to make reverting safer. Mark follow-up work after a checkpoint to track changes.
Instructions
Manage rollback checkpoints. Store commit hashes with purpose/scope so rollback is safer. Mark when follow-up work starts after a checkpoint.
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": "rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope of changes in the checkpoint | |
| action | Yes | Action | |
| project | No | Project slug (auto-detected if omitted) | |
| purpose | No | Purpose of the checkpoint (required for add) | |
| commit_hash | No | Commit hash (required for add) | |
| checkpoint_id | No | Checkpoint ID to mark follow-up for | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |