Restore draft checkpoint
restore_checkpointReplaces your draft's files with an earlier checkpoint's; the old state stays in history. Pass get_current_work's checkpoint.id as expectedCurrentCheckpointId.
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": {
"board": "<board>",
"operationId": "<operationId>",
"checkpointId": "<checkpointId>",
"expectedCurrentCheckpointId": "<expectedCurrentCheckpointId>"
},
"name": "restore_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | Yes | Your board: handle/slug or a boardrepo.com URL. | |
| operationId | Yes | Client-generated UUID. Reuse for retries of the same logical step; use a new one for a new edit or save. | |
| checkpointId | Yes | A retained checkpoint from get_current_work history. | |
| expectedCurrentCheckpointId | Yes | The draft's current checkpoint.id before restore. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||