batch_terminate_activities
Terminate multiple standalone activities matching a query to stop unwanted executions in batch. Control batch size with a limit and set a reason for the termination.
Instructions
Terminate multiple standalone activities 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_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of activities to terminate (default: 100) | |
| query | Yes | Query to select activities to terminate | |
| reason | No | Reason for termination | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| concurrency | No | Number of activities to terminate concurrently (default: 50) |