restore
Restore files to their pre-change state using a restore point ID. Get the ID from restore_points, then revert AI modifications without touching git history.
Instructions
Restore files to their state before a specific AI change. Uses the shadow restore point system. Does NOT affect git history. Call restore_points first to find the point ID.
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": {
"point_id": "<point_id>"
},
"name": "restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point_id | Yes | The restore point ID (format: rp-timestamp-hash). Get from restore_points. |