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

Resolved 💬 3 comments Opened Aug 21, 2025 by fix777 Closed Oct 28, 2025

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 ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗