Codex CLI 0.143.0 removes namespace separator from tool names, causing all tool calls to fail

Resolved 💬 2 comments Opened Jul 8, 2026 by behousing-ronald Closed Jul 13, 2026

What version of Codex CLI is running?

codex-cli 0.143.0 when affected. Currently downgraded to codex-cli 0.142.5, where tool execution works.

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5.5

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Command Prompt 10.0.26200.8737, Windows PowerShell 5.1.26100.8737, PowerShell 7.5.8

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1783532445s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.143.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "C:\\Users\\Ronald\\.codex\\app-server-control\\app-server-control.sock",
        "daemon state dir": "C:\\Users\\Ronald\\.codex\\app-server-daemon",
        "mode": "ephemeral",
        "pid file": "C:\\Users\\Ronald\\.codex\\app-server-daemon\\app-server.pid (missing)",
        "settings": "C:\\Users\\Ronald\\.codex\\app-server-daemon\\settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "C:\\Users\\Ronald\\.codex\\app-server-daemon\\app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "C:\\Users\\Ronald\\.codex\\auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "C:\\Users\\Ronald\\.codex",
        "config.toml": "C:\\Users\\Ronald\\.codex\\config.toml",
        "config.toml parse": "ok",
        "cwd": "C:\\Users\\Ronald\\Source\\BeHousing\\vanity",
        "enabled feature flags": "<redacted>",
        "feature flag overrides": "experimental_windows_sandbox=true",
        "feature flags enabled": "34",
        "log dir": "C:\\Users\\Ronald\\.codex\\log",
        "mcp servers": "0",
        "model": "gpt-5.5",
        "model provider": "openai",
        "sqlite home": "C:\\Users\\Ronald\\.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git version 2.44.0.windows.1",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "C:\\Program Files\\Git\\cmd\\git.exe",
        "PATH git entries": "1",
        "git branch": "feat/uhpotte",
        "git build options": "git version 2.44.0.windows.1; cpu: x86_64; built from commit: ad0bbfffa543db6979717be96df630d3e5741331; sizeof-long: 4; sizeof-size_t: 8; shell-path: /bin/sh; feature: fsmonitor--daemon",
        "git exec path": "C:/Program Files/Git/mingw64/libexec/git-core",
        "git version": "git version 2.44.0.windows.1",
        "repo detected": "true",
        "repo root": "C:\\Users\\Ronald\\Source\\BeHousing\\vanity",
        "selected git": "C:\\Program Files\\Git\\cmd\\git.exe"
      },
      "remediation": null,
      "durationMs": 77
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "C:\\Program Files\\nodejs\\codex",
        "PATH codex #2": "C:\\Program Files\\nodejs\\codex.cmd",
        "PATH codex entries": "2",
        "current executable": "C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install context": "npm (package C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed package root": "C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex",
        "npm update target": "C:\\Program Files\\nodejs\\node_modules\\@openai\\codex"
      },
      "remediation": null,
      "durationMs": 301
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "no MCP servers configured",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "proxy env vars": "none"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 403)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 103
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 2 IPv6, first IPv6",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "models etag present": "true",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 569
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on windows-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install method": "npm (package C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "platform": "windows-x86_64",
        "version": "0.143.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search is OK (bundled)",
      "details": {
        "search command": "C:\\Users\\Ronald\\AppData\\Roaming\\nvm\\v24.12.0\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path\\rg.exe",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "none",
        "execve wrapper helper": "none",
        "filesystem sandbox": "unrestricted",
        "network sandbox": "enabled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "C:\\Users\\Ronald\\.codex (dir)",
        "active rollout files": "392 files, 143911843 total bytes, 367122 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "C:\\Users\\Ronald\\.codex\\goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "C:\\Users\\Ronald\\.codex\\logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "C:\\Users\\Ronald\\.codex\\log (dir)",
        "memories DB": "C:\\Users\\Ronald\\.codex\\memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "sqlite home": "C:\\Users\\Ronald\\.codex (dir)",
        "state DB": "C:\\Users\\Ronald\\.codex\\state_5.sqlite (file)",
        "state DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 352
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "392",
        "rollout DB active rows": "392",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=392",
        "rollout DB rows": "392",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=392",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 1572
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language en-GB",
      "details": {
        "EDITOR": "not set",
        "VISUAL": "not set",
        "os": "Windows 10.0.26200 (Windows 11 Core) [64-bit]",
        "os language": "en-GB",
        "os type": "Windows",
        "os version": "10.0.26200"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "warning",
      "summary": "height 15 rows - content may scroll off (recommended >=24)",
      "details": {
        "color output": "disabled (stdout is not a terminal)",
        "console input code page": "850",
        "console output code page": "850",
        "stderr console mode": "0x00000007 (VT processing: true)",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout console mode": "unavailable",
        "stdout is terminal": "false",
        "terminal": "Apple Terminal",
        "terminal size": "180x15"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "height 15 rows - content may scroll off (recommended >=24)",
          "measured": "180 x 15",
          "expected": ">= 24 rows",
          "remedy": "resize the window to at least 24 rows",
          "fields": [
            "terminal size"
          ]
        }
      ],
      "remediation": null,
      "durationMs": 0
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "git repo root",
        "terminal title project value": "vanity",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.143.0",
        "check for update on startup": "true",
        "last checked at": "2026-07-08T04:51:29.892106700Z",
        "latest version": "0.143.0",
        "latest version status": "current version is not older",
        "npm update target": "C:\\Program Files\\nodejs\\node_modules\\@openai\\codex",
        "update action": "npm install -g @openai/codex",
        "version cache": "C:\\Users\\Ronald\\.codex\\version.json"
      },
      "remediation": null,
      "durationMs": 441
    }
  }
}

What issue are you seeing?

After upgrading the NPM installation of Codex CLI to 0.143.0, every tool call fails before the underlying tool or shell is reached.

The fully qualified tool name appears to lose the separator between its namespace and function name.

Examples:

Expected:
shell_command.shell_command

Reported error:
unsupported call: shell_commandshell_command

Expected:
list_mcp_resources.list_mcp_resources

Reported error:
unsupported call: list_mcp_resourceslist_mcp_resources

The failure affects shell tools and non-shell tools, so it is not specific to PowerShell, CMD, or an MCP server.

Restarting Codex, opening a new session, reinstalling Codex, changing the launching shell, and restarting Windows did not resolve it.

Downgrading from 0.143.0 to 0.142.5 immediately restored tool execution without any other configuration changes.

What steps can reproduce the bug?

  1. On Windows x64 with Node v24.12.0 and NPM 11.6.2, install Codex CLI 0.143.0:
npm uninstall -g @openai/codex
npm cache verify
npm install -g @openai/codex@0.143.0
codex --version
  1. Start Codex in an existing project.
  1. Ask Codex to execute a basic shell command, such as:
pwd
  1. Observe:
unsupported call: shell_commandshell_command

The issue reproduced consistently on 0.143.0 and stopped reproducing immediately on 0.142.5.

What is the expected behavior?

Codex should preserve the namespace separator in fully qualified tool names and dispatch the call to the registered tool.

For example, shell_command.shell_command should be dispatched as that exact tool name instead of being transformed into shell_commandshell_command.

Additional information

Installation method: NPM global package
Affected version: codex-cli 0.143.0
Working version: codex-cli 0.142.5
Node: v24.12.0
NPM: 11.6.2
OS: Windows 11 Core, x64, version 10.0.26200
Model provider: OpenAI
Model: gpt-5.5
Authentication: ChatGPT
Configured external MCP servers: none
Proxy environment variables: none

where.exe codex on 0.143.0 returned:

C:\\Program Files\\nodejs\\codex
C:\\Program Files\\nodejs\\codex.cmd

The issue persisted after:

  • Starting a new Codex session
  • Restarting Codex
  • Reinstalling 0.143.0
  • Running npm cache verify
  • Launching from PowerShell
  • Launching from CMD
  • Restarting the host

Downgrading to 0.142.5 was the only change required to restore tool execution.

View original on GitHub ↗

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