shell_command returns "unsupported call" after app update
Open 💬 2 comments Opened May 21, 2026 by yanglinyi887-a11y
What version of the Codex App are you using (From “About Codex” dialog)?
Now there's an issue—I can't view the settings or check anything, but I just updated it this morning.
What subscription do you have?
Free
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
After updating the Codex desktop app today, ALL shell_command calls
return "unsupported call: shell" — even simple commands like echo test
or Get-Date. This was working fine before the update.
The issue persists across app restart.
What steps can reproduce the bug?
just update the newest one
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
same issue
Adding a repro for what looks like the same failure class, but on macOS + CLI (not the desktop app) and with a different tool name:
exec_commandinstead ofshell.Environment
codex updatereinstalls 0.143.0)-mflag)codex exec,--sandbox workspace-writeSymptom
Every tool call the model makes is rejected by the local tool router:
(Note the tool name is printed twice in the error line — a small log-formatting
quirk, but it's verbatim and stable across runs.)
The model retries a few times (2–3 in single-run probes; more under longer
agentic prompts), then gives up and answers in text that it couldn't run the
command — exact wording varies per run ("the shell tool failed…", "the
terminal tool failed…"). Notably,
codex execstill exits 0, so inscripted/CI usage this fails silently — the session "completes" having done
no work.
Minimal repro
Workaround
Pinning the previous model works perfectly with the same CLI/binary and the same prompt:
So this doesn't look like a stale-client issue: the newest available CLI (0.143.0) doesn't recognize the tool names gpt-5.5 emits (
exec_command/apply_patch/list_mcp_resources), while gpt-5.4 emits the older tool set and works. It seems the server is handing the model a toolset the client never advertised.Two smaller notes from the same session, in case they help triage:
codex execprocesses,~/.codex/models_cache.jsonended up empty and loggedfailed to load models cache: EOF while parsing a value at line 1 column 0(possible concurrent-write race; it healed on the next run and is unrelated to the router error, which reproduces single-run with a warm cache)."reply with exactly: ok") works fine on gpt-5.5 — only tool calls are affected.