Check the Codex CLI installation
codex_doctorCheck if the local Codex CLI is installed, current, authenticated, and able to load configuration; if not, get exact repair steps. Use before delegating tasks or when a CLI availability error occurs.
Instructions
Check whether the local Codex CLI is installed, recent enough, signed in and able to load its configuration, and report the exact steps to fix it if not. Run this when any other tool reports the CLI is unavailable, or before relying on delegation for the first time. It only inspects the installation; it never installs or changes anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Re-probe the CLI instead of reusing the cached diagnosis. | |
| working_dir | No | Absolute directory to run the check in. Codex loads the configuration of the directory it runs in, so pass the one a delegation would use. Defaults to this server's own. |