Answer: Codex's config.toml supports a wide range of settings, including model selection, approval policy, sandbox mode, MCP servers, agents, memories, features, model providers, and OpenTelemetry options. The reference lists keys such as `model`, `approval_policy`, `sandbox_mode`, `mcp_servers..command`, and `otel.exporter`. Status: Confirmed Entry: tool/codex/settings/config-toml-settings Revision: 3 Digest: sha256:e994d1246ee4d030 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:48:23Z Last changed: 2026-11-19T13:26:35Z (config location: — → ~/.codex/config.toml) Last verified: 2026-11-20T13:36:04Z Next check: 2026-11-21T13:36:04Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config location | ~/.codex/config.toml | [1] | 2026-11-20 model setting | model | [1] | 2026-11-20 approval policy setting | approval_policy | [1] | 2026-11-20 sandbox mode setting | sandbox_mode | [1] | 2026-11-20 MCP server command setting | mcp_servers..command | [1] | 2026-11-20 OpenTelemetry exporter setting | otel.exporter | [1] | 2026-11-20 Sources: [1] OpenAI. "Configuration Reference". https://learn.chatgpt.com/docs/config-file/config-reference.md Role: primary. Accessed: 2026-11-20T13:36:04Z Quote: "User-level configuration lives in `~/.codex/config.toml`." (Supports: config location) Quote: "key: "model"," (Supports: model setting) Quote: "key: "approval_policy"," (Supports: approval policy setting) Quote: "key: "sandbox_mode"," (Supports: sandbox mode setting) Quote: "key: "mcp_servers..command"," (Supports: MCP server command setting) Quote: "key: "otel.exporter"," (Supports: OpenTelemetry exporter setting) Snapshot SHA-256: 5dc519915a3c5253e046d1fb9e365a7c588872f1b26f973e656b2961b5242be4 (captured 2026-11-18T13:30:06Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:30:07Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:36:04Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:36:04Z Last attempt: 2026-11-20T13:36:04Z Notes and limitations: Extracted automatically from a single official source (section "`config.toml`"). Only the first 60,000 characters of the page text were read. Related: https://latestn.com/tool/codex/settings/configure-aws-credentials-bedrock How do I configure AWS credentials for Codex to connect to Amazon Bedrock? https://latestn.com/tool/codex/settings/configure-cli-notifications How do I configure CLI notifications in Codex? https://latestn.com/tool/codex/settings/configure-deep-scan-runtime How do I configure the runtime limits for a Codex deep scan? https://latestn.com/tool/codex/settings/config-file-location Where is the Codex configuration file located and how do I open it? https://latestn.com/tool/codex/settings/config-precedence How does Codex decide which configuration value to use when settings conflict? https://latestn.com/tool/codex/settings/config-profiles How do I define and use profiles in Codex's config.toml? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:26:35Z | changed | config location: — → ~/.codex/config.toml | [1] 2026-11-19T13:26:35Z | changed | project-scoped config location: .codex/config.toml → — | [1] 2026-11-19T13:26:35Z | changed | config file location: ~/.codex/config.toml → — | [1] 2026-11-17T13:59:39Z | changed | OpenTelemetry exporter setting: — → otel.exporter | [1] 2026-11-17T13:59:39Z | changed | MCP server command setting: — → mcp_servers..command | [1] 2026-11-17T13:59:39Z | changed | sandbox mode setting: — → sandbox_mode | [1] 2026-11-17T13:59:39Z | changed | approval policy setting: — → approval_policy | [1] 2026-11-17T13:59:39Z | changed | tui setting: TUI-specific options such as enabling inline desktop notifications. → — | [1] 2026-11-17T13:59:39Z | changed | agents setting: Multi-agent settings and custom role declarations. Scalar setting names are reserved and can't be used as custom role names. → — | [1] 2026-11-17T13:59:39Z | changed | mcp_servers setting: Launcher command for an MCP stdio server. → — | [1] 2026-11-17T13:59:39Z | changed | sandbox_mode setting: read-only | workspace-write | danger-full-access → — | [1] 2026-11-17T13:59:39Z | changed | approval_policy setting: on-request | never | { granular = { sandbox_approval = bool, rules = bool, mcp_elicitations = bool, request_permissions = bool, skill_approval = bool } } → — | [1] 2026-11-17T13:59:39Z | changed | model setting: Model to use (e.g., `gpt-6.1-sol`). → model | [1] 2026-11-13T03:48:23Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/settings/config-toml-settings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/settings/config-toml-settings POST: https://latestn.com/dispute/tool/codex/settings/config-toml-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/settings/config-toml-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What settings can I configure in Codex config.toml? Revision 3, last verified 2026-11-20T13:36:04Z. https://latestn.com/tool/codex/settings/config-toml-settings (accessed 2026-11-21T09:54:42Z). @misc{LatestN_tool_codex_settings_config_toml_settings_r3, title = {What settings can I configure in Codex config.toml?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/settings/config-toml-settings}}, note = {Revision 3; digest sha256:e994d1246ee4d030; last verified 2026-11-20T13:36:04Z; accessed 2026-11-21T09:54:42Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/settings/config-toml-settings