restore
Roll a project back to a checkpoint and remove files added since then. A safety checkpoint is created first so the action can be undone.
Instructions
Roll the project back to a checkpoint. Files added since are removed. A safety checkpoint is taken first, so a restore can itself be undone.
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": "restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |