Wait for tasks or rounds
waitBlock until dispatched subagent tasks or rounds become ready, then collect terminal results and surface blockers or pending reviews.
Instructions
Return when any handle is ready; reason=ready contains all ready now in updates (tasks) and rounds, not necessarily all finished.
Ready: terminal; execution_blocked (still running; once/category); review_needed (pending_review needs decide_answers); seat_lost (failed/blocked seat while peers run; once/seat, answers withheld; retry via run_round.retry_seats). pending_ids lists unreceived ends for the given ids or inbox; all_finished means none remain. Handle blockers/reviews, then wait on pending_ids until all_finished; drop delivered handles. Ends are never pushed: wait after dispatch or independent work; collect every terminal result before ending your turn. wait_elapsed gives status/activity; wait again normally. Only wait_seconds=0 adds running tails (up to 1000 characters) and age, subject to include_output. Round answers arrive once; output_returned means reread with read_conversation. Unknown/expired/duplicate ids reject the whole call. Inbox ends arrive once; reviews stay ready until decided; nothing_pending means an empty inbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Distinct invocation_ids/round_ids; omit for this server inbox of unreceived tasks and rounds. | |
| wait_seconds | No | Omit to wait up to 240s; 0 checks progress immediately and includes running tails; ready results are still received; neither value stops work. | |
| include_output | No | false omits reply bodies and tails, including answers under review. | |
| manager_session_id | No | Inbox chat filter when ids is omitted; ignored with ids; identity rules in MCP instructions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| rounds | Yes | ||
| updates | Yes | ||
| pending_ids | Yes | ||
| all_finished | Yes |