Wait for Codex progress
codex_waitMonitor an active Codex turn by long-polling until it finishes, requests approval, or times out, then continue from the returned event cursor.
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. |