a2a_cancel_task
Cancel a running task by specifying its task ID and the agent ID handling it. This tool ensures efficient task management within the A2A Client MCP Server environment.
Instructions
Cancel a running task
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agentId | Yes | ID of the agent that is handling the task | |
taskId | Yes | ID of the task to cancel |
Input Schema (JSON Schema)
{
"properties": {
"agentId": {
"description": "ID of the agent that is handling the task",
"type": "string"
},
"taskId": {
"description": "ID of the task to cancel",
"type": "string"
}
},
"required": [
"taskId",
"agentId"
],
"type": "object"
}