discard_changes
Remove staged changes from your document—either all or specific change IDs—to revert edits before they are applied, ensuring clean document state.
Instructions
Drop staged changes (all of them, or specific change ids).
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": "discard_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| change_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||