Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions, Apps SDK, Agents SDK, Realtime, model capabilities or limits); prioritize OpenAI docs MCP tools and restrict any fallback browsing to official OpenAI domains.
Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. Always prioritize the developer docs MCP tools over web.run for OpenAI-related questions. Only if the MCP server is installed and returns no meaningful results should you fall back to web search.
mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages.mcp__openaiDeveloperDocs__fetch_openai_doc to pull exact sections and quote/paraphrase accurately.mcp__openaiDeveloperDocs__list_openai_docs only when you need to browse or discover pages without a clear query.If MCP tools fail or no OpenAI docs resources are available:
codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcpanchor when possible).