Cancel agent task
cancel_agent_taskStops a running agent task by taskId, letting MCP clients halt work initiated through ask_agent when it is no longer needed.
Instructions
Cancel a running agent task.
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": {
"taskId": "<taskId>"
},
"name": "cancel_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site the request is meant for (e.g. abc.atlassian.net); checked against the sign-in | |
| agent | No | Which agent to use; defaults to "rovo" | |
| target | No | No targets are configured | |
| taskId | Yes | taskId returned by ask_agent |