undo
Revert the selected editor's most recent change, including manual edits, by supplying the expected revision. Inspect the current state first to obtain the correct revision.
Instructions
Undo the selected editor’s last change, including manual changes. Inspect state first; requires current revision.
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": {
"sessionId": "<sessionId>",
"expectedRevision": "<expectedRevision>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| expectedRevision | Yes |