Read Codex output or wait for progress
discussion_readRead the latest or specified discussion turn, poll until completion or new output, and follow cursors to fetch message chunks; re-read without a cursor for live updates.
Instructions
Read the latest or specified turn. Poll with waitMs up to 20000 until completed, failed, interrupted or connectionLost; new output can return before completion. Follow nextCursor for more message chunks. During generation, read again without a cursor for updated text. Persisted historical per-turn model/effort may be unavailable; threadDefaults are reported separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| turnId | No | ||
| waitMs | No | ||
| discussionId | Yes |