codex_health
Runs a preflight check that verifies Codex CLI availability, MCP concurrency/policy limits, default model and reasoning config, cached models, and optional cwd/model/effort readiness.
Instructions
One-shot preflight and health check: verifies Codex CLI availability, MCP concurrency/policy limits, default model/reasoning config, cached models, and optional cwd/model/reasoning_effort readiness.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory to validate against existence and allowed_roots. | |
| model | No | Optional target Codex model slug to cross-check against cached models. | |
| reasoning_effort | No | Optional target reasoning effort to validate and cross-check. |