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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |