a2a_wait_turn
Wait for the next prompt in a turn-based agent session, bounded by a timeout so it never hangs. Returns the prompt text or a status message to relay to the human for their reply.
Instructions
Wait for the next turn's prompt, bounded by max_seconds (default 30) so
this never hangs indefinitely. Returns the prompt text once it's your turn,
"the session is over." once the remote agent finishes, an "Error: ..." string
if the session broke, or "No turn yet — call a2a_wait_turn again." if the
window elapsed first (just call it again). Show whatever this returns to your
human and get their actual reply before calling a2a_send.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "a2a_wait_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |