Wait for Codex
codex_waitWait for turns on one or more Codex threads, then return their reports. Use 'all' to wait for every thread or 'any' to return when one is done or blocked.
Instructions
Wait for turns on one or more Codex threads, then return their reports. mode "all" (default) returns when every thread is done or blocked on a request; "any" returns as soon as one is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | all | |
| thread_id | No | ||
| thread_ids | No | Several threads (batch wait). | |
| wait_seconds | No | Seconds to block before returning a progress snapshot (default 240). Returns early when the turn finishes or Codex needs an answer. The turn keeps running after this returns. |