a2a_send_message
Send a message to an A2A agent and retrieve its reply. Supports continuing existing tasks, provider selection, and async polling when the agent is still working.
Instructions
Send a message to an A2A agent and return its reply.
Set provider to "litellm-auto" or "github" when the target agent supports provider selection. The selected provider is carried in the message for the local Copilot A2A agent; other agents may ignore it. Pass task_id to continue an existing task, for example to answer an agent that returned state="input_required". If the agent is still working when timeout_s elapses, this returns done=false with a task_id to poll rather than blocking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| message | Yes | ||
| task_id | No | ||
| provider | No | ||
| timeout_s | No | ||
| context_id | No |