Preview a rollback
preview_rollbackShow exactly which memories a rollback to a checkpoint would create, update and remove, without changing anything. Returns a short-lived confirmation token that rollback requires.
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>"
},
"name": "preview_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the rollback is being considered; recorded with it. | |
| snapshot_id | Yes | Checkpoint id from create_snapshot or list_snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| truncated | Yes | ||
| create_keys | Yes | ||
| remove_keys | Yes | ||
| snapshot_id | Yes | ||
| update_keys | Yes | ||
| confirmation_token | Yes | ||
| confirmation_expires_at | Yes |