codex_wait
Block until specified async tasks complete, then return all results. Eliminates repeated polling by waiting once for task completion.
Instructions
Block until one or more async Codex tasks complete, then return all results. Accepts a list of task_ids. This avoids repeated polling -- call once after launching codex_async tasks. Default timeout is 1800s (30 min). If a task times out, it is NOT killed -- it keeps running. You can call codex_wait again with the same task_ids to resume waiting, or use codex_status to check progress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | List of task_ids to wait for. | |
| timeout | No | Max seconds to wait (default: 1800). The task keeps running even if this times out. |