cancel_workflow
Stop a running Temporal workflow execution by its workflow ID. Use it to halt a specific workflow that is no longer needed.
Instructions
Cancel a running workflow execution
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 |
|---|---|---|---|
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| workflow_id | Yes | The workflow execution ID to cancel |