Selectively undo one file
walkback_revertReverse the most recent change to a specific file, preserving all other modifications since the checkpoint.
Instructions
Reverse just a single file (the most recent change to it), leaving every other change since the checkpoint in place. The opposite of rollback's all-or-nothing.
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": {
"path": "<path>"
},
"name": "walkback_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory. Defaults to the server's working directory. | |
| path | Yes | The file to revert. |