undo_last_action
Undo the last change in Taskwarrior's undo log. Supports dry_run to preview before applying; the reversion is permanent and cannot be recovered.
Instructions
Undo the most recent Taskwarrior operation.
Reverts the last change in Taskwarrior's undo log. Only one level of undo is available — cannot be chained, and there is no redo.
Supports dry_run=true to preview what would be undone without applying it. Destructive: the reverted change cannot be recovered. May require a confirm_token depending on server configuration.
Caution: after batch operations, undo reverts only the last single operation, not the whole batch. Requires MANAGER role.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo_last_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |