Items
Understand the structured items returned by Codex turns.
Every completed Codex turn contains items. Items are discriminated by type, so applications can render or persist each kind without parsing prose.
Use the SDK's exported types or the MCP protocol schemas rather than assuming every item has the same fields. See src/items.ts in the repository for the current TypeScript definitions.
Mis à jour le 31 août 2026