revert_fixes
Restores the before state of applied changes from apply_fixes, update_entities or create_entities by reversing them last to first; newly created items are deleted, while deleted items remain irreversible.
Instructions
Restore the "before" state of applied items (applyId from apply_fixes, update_entities or create_entities) — from last to first. What was created in a batch is deleted. What was deleted is not restored — such items are marked irreversible in the plan.
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": {
"applyId": "<applyId>",
"confirmed": "<confirmed>"
},
"name": "revert_fixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Defaults to all | |
| applyId | Yes | applyId from apply_fixes | |
| confirmed | Yes | The user agreed to the revert |