cancel_workflow
Cancel an ongoing workflow to stop pending steps and avoid charges for unfinished work. Completed steps remain as-is.
Instructions
Cancel an in-progress workflow. All queued and dispatched steps are marked CANCELLED. Completed steps are not reversed. You are only billed for steps that completed before cancellation.
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": {
"workflow_id": "<workflow_id>"
},
"name": "cancel_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Workflow ID to cancel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| cancelled | Yes | ||
| status | No |