Roll back to a checkpoint
rollbackRestore the workspace to a checkpoint the user confirmed after seeing preview_rollback, using the confirmation token it returned. Memories created or changed after the checkpoint are reverted; the rollback itself is recorded in the audit trail.
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": {
"snapshot_id": "<snapshot_id>",
"reason": "<reason>",
"confirmation_token": "<confirmation_token>"
},
"name": "rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | The same reason given to preview_rollback. | |
| snapshot_id | Yes | Checkpoint id from create_snapshot or list_snapshots. | |
| confirmation_token | Yes | Token returned by preview_rollback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| snapshot_id | Yes | ||
| state_version | Yes |