Skip to content

app-server tool router rejects exec_command as unsupported call: exec_commandexec_command #31702

Closed as duplicate

Description

@TaoYySC

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.

Environment

  • Codex CLI version: 0.143.0
  • Node version: 22.23.1
  • npm version: 10.9.8
  • OS: Ubuntu 20.04 x86_64
  • Remote mode: Codex App Remote SSH / codex app-server
  • Shell: bash
  • Project cwd: /mnt/Storage2/home/yangtao/FuncPhos-STR

Reproduction

From the remote server:

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.

Activity

  1. added
    app
    on Jul 9, 2026
  2. added
    bug
    app-server
    tool-calls
    on Jul 9, 2026
  3. SAIKA40170 commented on Jul 9, 2026

    @SAIKA40170

    I also got this issues

  4. PlumYu-Labs commented on Jul 9, 2026

    @PlumYu-Labs

    +1

  5. hmy-2002 commented on Jul 9, 2026

    @hmy-2002

    The same, back to version142 can solve the problem

  6. TaoYySC commented on Jul 9, 2026

    @TaoYySC
    Author

    The same, back to version142 can solve the problem

    yes, i change the model to 5.4 also can solve this problem, maybe it just a version problem.

  7. roruizf commented on Jul 9, 2026

    @roruizf

    Same issue here on WSL with Codex 0.143.0. Rollback to 0.142.5 resolved it immediately — no more exec_commandexec_command errors.

  8. taduo commented on Jul 13, 2026

    @taduo

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugremotetool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions