codex_models
Inspect available GPT models and reasoning levels from Codex models_cache.json, then set global orchestrator defaults or reset them to config.toml.
Instructions
Inspect available GPT models & reasoning levels from Codex models_cache.json, and optionally configure global orchestrator defaults or reset to config.toml.
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_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_hidden | No | Include models marked visibility="hide" in models_cache.json. | |
| reset_defaults | No | Reset orchestrator defaults back to inheriting Codex config.toml. | |
| set_default_model | No | Persist a new default model slug in routing.json (or empty string to clear). | |
| set_default_reasoning_effort | No | Persist a new default reasoning effort in routing.json (or "" to clear). |