a2a_send
Delegate a task to a remote A2A agent and wait for the response, returning state and result text; when input is required, provides login or authorization options.
Instructions
把任务委派给远程 A2A agent 并等待结果。返回 state 与结果正文;若停在 input-required,会给出登录链接或工具授权选项。
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": {
"prompt": "<prompt>"
},
"name": "a2a_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 任务内容(自然语言) | |
| contextId | No | 可选:复用同一个 A2A 会话上下文 | |
| waitSeconds | No | 最多等待多少秒,默认 600 |