cancel_activity
Cancel a running standalone Temporal activity execution by specifying its activity ID, with optional run ID and namespace.
Instructions
Cancel a running 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": "cancel_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |