Wait for Codex progress
codex_waitLong-poll an active Codex turn until it completes, fails, requests approval, or times out, then use the returned cursor to continue.
Instructions
Long-poll an active turn until it completes, fails, requests approval, is interrupted, or reaches the timeout. Continue with the returned eventCursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | Codex thread id. | |
| maxEvents | No | ||
| timeoutMs | No | ||
| afterSequence | No | Cursor returned by the preceding Codex tool call. |