cancel_activity
Stop a currently running background activity by providing its ID. Use this to terminate operations that are in progress.
Instructions
Cancel a running background activity.
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 |
|---|---|---|---|
| env_id | No | 0 | |
| activity_id | Yes | ||
| agent_token | No |