batch_terminate
Terminate multiple Temporal workflows matching a query to stop many executions at once. Set an optional limit to control batch size and provide a reason.
Instructions
Terminate multiple workflows matching a query. Specify 'limit' to control batch size (default: 100).
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": {
"query": "<query>"
},
"name": "batch_terminate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of workflows to terminate (default: 100) | |
| query | Yes | Query to select workflows to terminate | |
| reason | No | Reason for termination | |
| namespace | No | Temporal namespace for this operation; omit to use the server default |