Restore from Checkpoint
sdd_restoreRestore spec artifacts to a previous checkpoint snapshot. Overwrites current files with checkpoint versions after creating an automatic backup.
Instructions
Restores all spec artifacts to a previous checkpoint snapshot. Overwrites current files with the checkpoint versions. Creates an automatic backup checkpoint of current state before restoring.
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": {
"checkpoint_id": "<checkpoint_id>"
},
"name": "sdd_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_dir | No | Spec directory path | .specs |
| checkpoint_id | Yes | Checkpoint ID to restore (e.g. 'CP-001' or the label) | |
| feature_number | No | Feature number (e.g. '001') | 001 |