a2a_send_task_subscribe
Send tasks to A2A-compatible agents and subscribe to real-time updates for task progress and responses through streaming. Customize with message, task ID, agent ID, and maximum updates.
Instructions
Send a task and subscribe to updates (streaming)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agentId | No | Optional agent ID. If not provided, the first available agent will be used | |
maxUpdates | No | Maximum number of updates to receive (default: 10) | |
message | Yes | Message to send to the agent | |
taskId | No | Optional task ID. If not provided, a new UUID will be generated |
Input Schema (JSON Schema)
{
"properties": {
"agentId": {
"description": "Optional agent ID. If not provided, the first available agent will be used",
"type": "string"
},
"maxUpdates": {
"description": "Maximum number of updates to receive (default: 10)",
"type": "number"
},
"message": {
"description": "Message to send to the agent",
"type": "string"
},
"taskId": {
"description": "Optional task ID. If not provided, a new UUID will be generated",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}