Undo an action
undo_actionReverses an executed action when it registered an undo step, restoring the prior state and recording who performed the reversal.
Instructions
Reverses an action that ran, if it registered an undo step. Says who did it.
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": {
"action_id": "<action_id>",
"by": "<by>"
},
"name": "undo_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| action_id | Yes |