undo_last_edit
Undo the most recent in-memory edit to revert changes without affecting the saved file.
Instructions
Undo the last in-memory edit without touching disk.
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": {
"project_id": "<project_id>"
},
"name": "undo_last_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||