a2a_cancel_task
Stop a running task by providing its task ID and the agent ID handling it. This tool halts ongoing operations in the A2A Client MCP Server.
Instructions
Cancel a running 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>",
"agentId": "<agentId>"
},
"name": "a2a_cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ID of the task to cancel | |
| agentId | Yes | ID of the agent that is handling the task |