Workflow Sweep Idle¶
Cancel active workflow runs that have had no step progress past the idle threshold. Runs automatically on an interval in the MCP gateway; also callable manually (with dry_run) for observability.
MCP name: workflow_sweep_idle
Category: context
Mutates state (retry policy: manual)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
dry_run |
bool |
No | List the runs that would be cancelled without cancelling them. |
idle_threshold_hours |
float |
No | Override the idle threshold in hours. Omit to use the configured default (workflows.run_lifecycle.idle_timeout_hours). |