undo
Restore the last or a specified snapshot to revert changes and verify the restored state's hash for integrity.
Instructions
Restore the last (or specified) snapshot. Verifies hash after restore.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | No | ||
| target_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |