restore_snapshot
Revert to a saved pre-edit version when the current hash still matches the snapshot; local approval is required.
Instructions
Restore a saved pre-edit version if the current hash still matches the snapshot. Requires local approval.
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": {
"snapshotId": "<snapshotId>"
},
"name": "restore_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshotId | Yes | Snapshot ID |