The Wire · Showcase
CODEX CONSOLIDATES TOOL CALL OWNERSHIP INTO CORE TURNITEM
By RepoJournal · Filed · About OpenAI
McpToolCall migrations are complete — app-server now emits tool calls as canonical turn items instead of synthesizing them from deprecated legacy events, collapsing three separate changes into a unified dispatch and response model.
MCP tool calls moved into core `TurnItem`s [1], closing the gap between app-server synthesis and v2 `ThreadItem::McpToolCall` shape. This keeps MCP result semantics in one place instead of spread across conversion code, and gives core ownership over the lifecycle — it now decides whether a completed call is `completed` or `failed`. Simultaneously, app-server dispatch refactored response sending [2]: normal `ClientResponsePayload` sends centralized in the dispatch path, while explicit-response methods stay explicit where they need custom ordering or delayed delivery. This unwinds handler wrappers that were making it impossible to see which requests return payloads and which emit notifications after response. On the documentation front [3], local-only docs and planning specs are being removed from the repository — `docs/` now links to the canonical surface on developers.openai.com instead of duplicating transient implementation notes.
Action items
- → Review dispatch flow changes in your MCP integrations — response ordering may have shifted openai/codex [plan]
- → Update local tooling pointing to docs/ — redirect to developers.openai.com openai/codex [monitor]
References
- [1] [codex] Emit MCP tool calls as turn items ↗ openai/codex
- [2] [codex] Refactor app-server dispatch result flow ↗ openai/codex
- [3] Remove local docs and specs ↗ openai/codex
FAQ
- What changed in OpenAI on May 4, 2026?
- McpToolCall migrations are complete — app-server now emits tool calls as canonical turn items instead of synthesizing them from deprecated legacy events, collapsing three separate changes into a unified dispatch and response model.
- What should OpenAI teams do about it?
- Review dispatch flow changes in your MCP integrations — response ordering may have shifted • Update local tooling pointing to docs/ — redirect to developers.openai.com
- Which OpenAI repositories shipped on May 4, 2026?
- openai/codex