cortex_rollback
Restore a file to a specific checkpoint to revert changes; uses the latest checkpoint if no ID is provided.
Instructions
Restore file to checkpoint
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": {
"file_path": "<file_path>"
},
"name": "cortex_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path to restore | |
| checkpoint_id | No | Specific checkpoint ID (latest if not provided) |