undo_last
Revert the previous undoable operation in the selected workspace; conflicting path changes block the entire undo and modify nothing.
Instructions
Undo the most recent undoable operation in the selected workspace. Destructive.
Same conflict rules as undo_operation: any path changed after the
operation refuses the whole undo with UNDO_CONFLICT and modifies nothing.
history_skipped entries in the result were above the history size cap and
cannot be restored (HISTORY_UNAVAILABLE). The undo is itself recorded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo_last"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||