You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app-server tool router rejects exec_command as unsupported call: exec_commandexec_command #31702
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingremotetool-callsIssues related to tool calling
What version of the Codex App are you using (From “About Codex” dialog)?
0.143
What subscription do you have?
Plus
What platform is your computer?
Local Codex App platform:Windows 11 x64 Remote server platfom: Linux 5.15.0-139-generic x86_64 x86_64
What issue are you seeing?
Summary
codex app-server starts successfully and creates a thread with the correct remote workspace, but command execution fails because the tool router rejects an unsupported tool call named exec_commandexec_command.
This prevents Codex App Remote SSH sessions from using the read-only terminal/file tools. The terminal-based Codex CLI works, but the App/app-server path cannot run even simple commands such as pwd or ls -la.
cd /mnt/Storage2/home/yangtao/FuncPhos-STR
codex debug app-server send-message-v2 "Run pwd and ls -la. Do not modify files."### What steps can reproduce the bug?
[codex_app_server_exec_command_bug.txt](https://github.com/user-attachments/files/29830972/codex_app_server_exec_command_bug.txt)
### What is the expected behavior?pwd
ls -la
### Additional information
codex --version works.
codex app-server --help works.
The remote workspace path exists and is readable.
The terminal-based Codex CLI can be started from the project directory.
The issue appears specific to the app-server/tool-routing path.
I’m also seeing this issue on WSL with Codex CLI 0.143.0 installed via the standalone installer under ~/.local/bin/codex. Tool execution fails with the malformed exec_commandexec_command call. Rolling back to 0.142.5 resolved it.
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingremotetool-callsIssues related to tool calling
Activity
github-actions commentedon Jul 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SAIKA40170 commentedon Jul 9, 2026
I also got this issues
PlumYu-Labs commentedon Jul 9, 2026
+1
hmy-2002 commentedon Jul 9, 2026
The same, back to version142 can solve the problem
TaoYySC commentedon Jul 9, 2026
yes, i change the model to 5.4 also can solve this problem, maybe it just a version problem.
roruizf commentedon Jul 9, 2026
Same issue here on WSL with Codex 0.143.0. Rollback to 0.142.5 resolved it immediately — no more
exec_commandexec_commanderrors.taduo commentedon Jul 13, 2026
I’m also seeing this issue on WSL with Codex CLI 0.143.0 installed via the standalone installer under
~/.local/bin/codex. Tool execution fails with the malformedexec_commandexec_commandcall. Rolling back to 0.142.5 resolved it.