rollback
Abort a running workflow and undo completed steps in reverse order, skipping irreversible ones. Sets workflow to failed. Use cancel_workflow to stop unstarted or rejected workflows.
Instructions
[WRITE] Abort a workflow and rollback completed steps in reverse order.
Use this to undo steps that already ran; use cancel_workflow instead to stop a workflow that has not started yet or whose approval was rejected. Works in any state except 'completed'. Irreversible steps are skipped. The workflow state is set to 'failed' after rollback.
Args: workflow_id: The workflow ID to rollback.
Returns: Rollback results for each step. Check get_workflow_status afterwards to see which steps were actually reversed and which were skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes |