Undo a change that ran
undo_actionReverse one change that already ran, within its undo window (15 minutes): pass its action_id. A created record is removed, an edit is put back, a held message is withdrawn. Sent messages cannot be undone. Free.
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>"
},
"name": "undo_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes | The action_id of the change to reverse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| status | Yes | ||
| receipt | Yes | ||
| action_id | Yes |