Use MCP with "minimal" reasoning effort config results unknown variant `minimal`

Resolved 💬 3 comments Opened Aug 21, 2025 by fix777 Closed Oct 28, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.23.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 23.2.0 x86_64 i386

What steps can reproduce the bug?

Call mcp__codex__codex tool with parameters:

  • "model_reasoning_effort":"minimal"

This is the MCP tool call log:

⏺ codex - codex (MCP)(prompt: "Quick overview of the button component structure", sandbox:
                     "read-only", approval-policy: "never", config: {"model_reasoning_effort":"minimal"},
                     cwd: "***")
  ⎿  Error: Failed to load Codex configuration from overrides: unknown variant `minimal`, expected one of 
     `low`, `medium`, `high`, `none` in `model_reasoning_effort`

What is the expected behavior?

MCP tool call succeed with minimal resoning effort

What do you see instead?

Error occured:

Error: Failed to load Codex configuration from overrides: unknown variant `minimal`, expected one of `low`, `medium`, `high`, `none` in `model_reasoning_effort`

Additional information

_No response_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 10 months ago

I suspect this issue is no longer relevant. I'm going to close it, but if you are still seeing this issue with the latest version, let us know and I'll reopen.

caidingding233 · 5 months ago

<img width="1734" height="1067" alt="Image" src="https://github.com/user-attachments/assets/2ba48a74-e90e-4224-b185-2b8283960ad2" />
Yes it is still exsit. idk if it is my Codex version or something else

caidingding233 · 5 months ago
I suspect this issue is no longer relevant. I'm going to close it, but if you are still seeing this issue with the latest version, let us know and I'll reopen.

But the Codex App works perfect.

<img width="3840" height="2488" alt="Image" src="https://github.com/user-attachments/assets/443c1ed7-9967-432f-bd7d-3a53d566de4d" />