Check the Codex CLI installation
codex_doctorCheck 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.
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 repairs anything. Opt in with extended for a slow, networked config.load report from codex doctor --json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Re-probe the CLI instead of reusing the cached diagnosis. | |
| extended | No | Run the slow, networked Codex doctor report in addition to the cheap 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. |