workflow_terminate_workflow
Terminate an active workflow execution by its ID, optionally providing a reason for termination.
Instructions
Terminates a workflow execution. This will stop the workflow and mark it as terminated.
Args: workflow_id: The uuid representing the execution of the workflow to terminate reason: Optional reason for termination
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": "workflow_terminate_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |