revert
Undo a prior edit by ID from history; the reversal is logged as a new change.
Instructions
Undo an edit from history(); the reversal is itself logged.
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": {
"edit_id": "<edit_id>"
},
"name": "revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| author | No | agent | |
| edit_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||