terminate_activity
Forcefully terminate a standalone Temporal activity execution by activity ID, optionally specifying run ID, namespace, and reason.
Instructions
Forcefully terminate a standalone activity 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": {
"activity_id": "<activity_id>"
},
"name": "terminate_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for termination | |
| run_id | No | Run ID for the standalone activity execution | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| activity_id | Yes | Standalone activity execution ID |