dynamic_workflow_cancel
Cancel an active workflow precisely with optimistic concurrency, ensuring only the expected revision is aborted. Use when you need to stop a non-terminal process safely.
Instructions
Cancel a non-terminal workflow with exact optimistic concurrency.
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": {
"company_ref": "<company_ref>",
"project_ref": "<project_ref>",
"run_ref": "<run_ref>",
"host_binding_ref": "<host_binding_ref>",
"session_receipt": "<session_receipt>",
"host_role": "<host_role>",
"expected_revision": "<expected_revision>",
"idempotency_key": "<idempotency_key>",
"reason": "<reason>"
},
"name": "dynamic_workflow_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| run_ref | Yes | ||
| host_role | Yes | ||
| company_ref | Yes | ||
| project_ref | Yes | ||
| idempotency_key | Yes | ||
| session_receipt | Yes | ||
| host_binding_ref | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |