undo_last_patch
Revert the latest patch in an edit session using compare-before-write metadata to restore the previous memory state.
Instructions
Undo the latest patch in the edit session using recorded compare-before-write metadata.
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": {
"editSessionId": "<editSessionId>"
},
"name": "undo_last_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editSessionId | Yes |