Workflow Cancel¶
Cancel a running workflow run — drop it from the in-memory active-runs map, mark its on-disk DAG cancelled (kept for audit), and revoke its consent blanket. Idempotent; a completed run is left untouched.
MCP name: workflow_cancel
Category: context
Mutates state (retry policy: manual)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
reason |
str |
No | Free-text reason recorded on the cancelled DAG for the audit trail. Defaults to 'user_requested'. |
workflow_run_id |
str |
Yes | Run id of the workflow to cancel (e.g. 'wf_7040ee31'). Find it via wb_status or the conductor's active-runs list. |