wait
Block until named agents finish, returning progress on timeout; use only when no other task can proceed.
Instructions
Block until the named agents finish. This blocks YOUR whole turn, so prefer the background-task bridge from spawn — use this only when there is genuinely nothing else to do. On timeout it returns progress rather than nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Agent ids to wait on. | |
| mode | No | Return on the first finisher, or all. Default all. | |
| timeoutSec | No | Seconds to block. Default 120, max 600. |