文档导航

配置参考

Codex config.toml 和 requirements.toml 完整参考

您可以在本页搜索 Codex 配置文件中的设置。有关基本概念和示例,请先参阅配置基础和高级配置。

工作云端访问本地计算机的设置

启用工作云端访问本地计算机后,OpenAI 云端负责任务协调,受支持的工具则在云端或已连接的计算机上运行。要求用于设定限制,配置值用于提供默认设置。

使用策略 API 管理全局设置。要管理本地或 Codex 云端设置,请使用智能体安全管理界面。迁移后,现有的全局 API 工作流仍然可用。请测试您的脚本和 Terraform 集成,并确认策略分配和顺序保持不变。仅凭 requirements.toml 支持某个字段,无法确定该字段与 API 兼容。

设置或设置类别 工作云端访问本地计算机时的适用范围 配置说明
审批策略和审查要求 启用托管策略时,适用于编排器的全局策略 请在全局范围内设置审批和审查控制。环境覆盖设置无法更改编排器的控制。本地执行和云端容器执行各有独立的策略范围。
托管应用、MCP 服务器、插件、市场和命令规则 全局策略 请在全局范围内设置这些控制。某个字段出现在模式中,并不代表可以按环境编辑该字段。
文件、沙盒和可跨环境使用的网络要求 本地执行 对于本地执行,MDM 和旧版托管设备要求的优先级高于智能体安全设置,设备系统要求文件的优先级则低于智能体安全设置。新的企业 requirements.toml 配置不适用于工作云端容器,这些容器继续使用现有的工作云端策略。
特定平台的执行器控制 执行该步骤的计算机 支持情况取决于执行器和平台。
托管钩子 启用后,管理员定义的 MCP 钩子会在云端协调器(编排器)上运行,处理受支持的生命周期事件和工具事件。 在依赖这些钩子之前,请测试回调连接,确认收到哪些事件,并检查失败对任务的影响。MCP 钩子无法提供完整的合规 API 审计记录。云端编排不支持命令钩子、本地配置钩子或插件钩子,即使工具在本地执行也是如此。对于编排和执行均在本地进行的工作模式线程和 Codex 线程,原有受支持的钩子仍然适用。
代理监听地址、端口和进程设置 无法跨环境使用的策略 云端运行时不支持托管 HTTP/SOCKS 监听端口,也不支持在非回环地址上监听的代理。是否支持套接字规则取决于执行路径。自定义代理配置与受支持的目标地址限制相互独立。
应用专用设置和常规本地默认值 云端协调过程不一定使用这些设置 即使工作云端访问本地计算机时不使用这些设置,应用自身强制执行的控制仍可生效。请分别验证策略的云端下发情况和云端浏览器的行为。

工作云端访问本地计算机时的智能体安全要求

对于具有本地访问权限的工作模式和 dot,启用托管策略后,受支持的全局策略适用于共享的云端编排器。本地执行要求适用于已连接的计算机。工作云端容器和 dot 云端计算机各自使用自己的执行配置和要求。请分别测试本地和云端控制。

可在智能体安全管理界面中设置

  • 允许的审批策略
  • 允许的网页搜索模式

通过 TOML 配置

  • allowed_approvals_reviewers
  • auto_review
  • guardian_policy_config
  • apps
  • mcp_servers
  • plugins
  • rules

这些编排器要求始终属于全局设置。它们不会配置共享云端功能的权限,也不会让本地执行设置适用于工作云端容器或 dot 云端计算机。

工作云端访问本地计算机时的兼容性限制

支持情况取决于具体字段、策略下发方式和任务运行位置。启用同步之前,请检查对该成员实际生效的策略。部分控制需要在您的部署环境中测试,详见下表。

同一策略内,特定操作系统的环境覆盖设置优先于所有操作系统通用的环境覆盖设置,后者又优先于全局设置。不同策略之间,优先级较高的策略生效,即使较低优先级的策略更具体。

对于本地执行,MDM 和旧版托管设备要求优先于智能体安全设置,后者又优先于设备的系统要求文件。部分要求(包括网络要求)的合并规则和运行时限制因字段而异。有关示例,请参阅托管配置。

设置或类别 与工作云端访问本地计算机的兼容性 管理员指南
sqlite_home、log_dir、model_catalog_json 不支持用作托管云端覆盖设置。 本地路径无法更改云端存储或日志的位置。本地模型目录也不会沿用到云端。
model_provider、model_providers 工作云端访问本地计算机的托管要求和配置均不支持。 无法通过这些字段沿用自定义推理网关或提供方连接。模型选择是独立的设置。
enforce_residency 在任一云端策略中启用后,即会阻止工作云端访问本地计算机。 如果任一云端策略启用了 enforce_residency,工作模式和 dot 的允许访问本地计算机选项均会被禁用。这项保护措施不会配置工作空间的数据驻留,也不会单独禁用工作云端或 dot。
application.network.enabled 和 application.network.domains 工作云端访问本地计算机时不支持。 请勿使用这些应用目标地址限制来控制工作云端访问本地计算机时执行的命令的网络访问。
allow_browser_and_computer_use、in_app_browser、additional_developer_instructions 需要验证云端策略下发情况。工作云端访问本地计算机时会拒绝这些托管要求键。 应用端会检查浏览器限制,但这并不能证明策略已下发到云端或由云端浏览器强制执行。additional_developer_instructions 需要编排器支持。
experimental_network 和 permissions.<profile>.network 部分支持。受支持的目标地址和执行器限制与自定义代理配置不同。 云端运行时不支持托管 HTTP/SOCKS 监听端口,也不支持在非回环地址上监听的代理。是否支持套接字规则取决于执行路径。本地执行有独立的合并规则。对命令的网络限制不会禁用托管搜索、MCP 或应用工具。
功能 / feature_requirements、模型、computer_use 部分支持。 系统会拒绝已停用的开关,例如 tool_search = false、tool_search_always_defer_mcp_tools = false、js_repl = true 和 remote_control = true。部分计算机使用设置仍需端到端验证。
browser_use、allow_appshots、反馈、allow_remote_control、市场来源限制 在部分策略下发路径上,应用或应用服务器会强制执行这些控制。 即使工作云端访问本地计算机时忽略某个字段,应用端控制仍可生效。桌面浏览器的站点规则不适用于工作云端容器。请验证实际使用的产品界面和策略下发路径。

配置模式中的某些键可能不适用于工作云端访问本地计算机,也可能不支持环境覆盖设置。有关全局基线和优先级,请参阅托管配置。

config.toml

用户级配置位于 ~/.codex/config.toml。您也可以在 .codex/config.toml 文件中添加项目级覆盖设置。只有在您信任项目时,Codex 才会加载项目级配置文件。

项目级配置无法覆盖本机的提供方、身份验证、由主机管理的应用请求元数据、通知、配置方案选择或遥测路由设置。如果 openai_base_url、chatgpt_base_url、apps_mcp_product_sku、model_provider、model_providers、notify、profile、profiles、experimental_realtime_ws_base_url 或 otel 出现在项目本地的 .codex/config.toml 中,Codex 会忽略这些键。请将提供方、通知和遥测键放在用户级配置中。配置方案文件与 config.toml 位于同一目录,路径格式为 $CODEX_HOME/profile-name.config.toml。使用 --profile profile-name 选择配置方案。

对于沙盒和审批键(approval_policy、sandbox_mode 和 sandbox_workspace_write.*),请结合本页参阅沙盒与审批、可写根目录中的受保护路径和网络访问。有关测试版的权限配置方案,请参阅权限。

Codex 和 ChatGPT 工作不再支持 approval_policy = "untrusted"。请移除此设置或选择受支持的策略。使用 trust_level = "untrusted" 的项目条目在用户级 ~/.codex/config.toml 中仍受支持。有关示例以及选择审批方式时需要权衡的因素,请参阅从已停用的 untrusted 审批策略迁移。

请将 model 设为您当前登录的账号或工作空间可用的模型。使用示例值前,请查看各套餐的模型可用性。

Key
agents
类型 / 取值
table
详细信息
Key
agents.<name>.config_file
类型 / 取值
string (path)
详细信息
Key
agents.<name>.description
类型 / 取值
string
详细信息
Key
agents.default_subagent_model
类型 / 取值
string
详细信息
Key
agents.default_subagent_reasoning_effort
类型 / 取值
string
详细信息
Key
agents.enabled
类型 / 取值
boolean
详细信息
Key
agents.interrupt_message
类型 / 取值
boolean
详细信息
Key
agents.max_concurrent_threads_per_session
类型 / 取值
number
详细信息
Key
agents.max_threads
类型 / 取值
number
详细信息
Key
allow_login_shell
类型 / 取值
boolean
详细信息
Key
allow_symlinked_codex_home
类型 / 取值
boolean
详细信息
Key
analytics.enabled
类型 / 取值
boolean
详细信息
Key
approval_policy
类型 / 取值
on-request | never | { granular = { sandbox_approval = bool, rules = bool, mcp_elicitations = bool, request_permissions = bool, skill_approval = bool } }
详细信息
Key
approval_policy.granular.mcp_elicitations
类型 / 取值
boolean
详细信息
Key
approval_policy.granular.request_permissions
类型 / 取值
boolean
详细信息
Key
approval_policy.granular.rules
类型 / 取值
boolean
详细信息
Key
approval_policy.granular.sandbox_approval
类型 / 取值
boolean
详细信息
Key
approval_policy.granular.skill_approval
类型 / 取值
boolean
详细信息
Key
approvals_reviewer
类型 / 取值
user | auto_review
详细信息
Key
apps._default.approvals_reviewer
类型 / 取值
user | auto_review
详细信息
Key
apps._default.default_tools_approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
apps._default.destructive_enabled
类型 / 取值
boolean
详细信息
Key
apps._default.enabled
类型 / 取值
boolean
详细信息
Key
apps._default.open_world_enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.approvals_reviewer
类型 / 取值
user | auto_review
详细信息
Key
apps.<id>.default_tools_approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
apps.<id>.default_tools_enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.destructive_enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.omit_tools_from
类型 / 取值
array<string>
详细信息
Key
apps.<id>.open_world_enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.tools.<tool>.approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
apps.<id>.tools.<tool>.approvals_reviewer
类型 / 取值
user | auto_review
详细信息
Key
apps.<id>.tools.<tool>.enabled
类型 / 取值
boolean
详细信息
Key
auto_review.policy
类型 / 取值
string
详细信息
Key
background_terminal_max_timeout
类型 / 取值
number
详细信息
Key
browser_use.allow_history_access
类型 / 取值
boolean
详细信息
Key
browser_use.default_origin_policy
类型 / 取值
table
详细信息
Key
browser_use.origins.<origin>
类型 / 取值
table
详细信息
Key
chatgpt_base_url
类型 / 取值
string
详细信息
Key
check_for_update_on_startup
类型 / 取值
boolean
详细信息
Key
cli_auth_credentials_store
类型 / 取值
file | keyring | auto | ephemeral
详细信息
Key
compact_prompt
类型 / 取值
string
详细信息
Key
computer_use.default_app_access
类型 / 取值
allow | deny
详细信息
Key
computer_use.macos.bundle_ids
类型 / 取值
map<string, allow | deny>
详细信息
Key
computer_use.windows.always_allowed_app_ids
类型 / 取值
array<string>
详细信息
Key
computer_use.windows.aumids
类型 / 取值
map<string, allow | deny>
详细信息
Key
computer_use.windows.exes
类型 / 取值
array<table>
详细信息
Key
default_permissions
类型 / 取值
string
详细信息
Key
desktop.custom_file_handlers.<id>
类型 / 取值
table
详细信息
Key
desktop.custom_file_handlers.<id>.args
类型 / 取值
array<string>
详细信息
Key
desktop.custom_file_handlers.<id>.command
类型 / 取值
string
详细信息
Key
desktop.custom_file_handlers.<id>.icon
类型 / 取值
string
详细信息
Key
desktop.custom_file_handlers.<id>.input
类型 / 取值
path | json_argument | json_stdin
详细信息
Key
desktop.custom_file_handlers.<id>.label
类型 / 取值
string
详细信息
Key
desktop.custom_file_handlers.<id>.supports_ssh
类型 / 取值
boolean
详细信息
Key
developer_instructions
类型 / 取值
string
详细信息
Key
disable_paste_burst
类型 / 取值
boolean
详细信息
Key
experimental_compact_prompt_file
类型 / 取值
string (path)
详细信息
Key
experimental_use_unified_exec_tool
类型 / 取值
boolean
详细信息
Key
features.apps
类型 / 取值
boolean
详细信息
Key
features.code_mode.direct_only_tool_namespaces
类型 / 取值
array<string>
详细信息
Key
features.code_mode.enabled
类型 / 取值
boolean
详细信息
Key
features.code_mode.excluded_tool_namespaces
类型 / 取值
array<string>
详细信息
Key
features.context_management.experimental_mode
类型 / 取值
boolean
详细信息
Key
features.enable_request_compression
类型 / 取值
boolean
详细信息
Key
features.fast_mode
类型 / 取值
boolean
详细信息
Key
features.gateway_setup_wizard
类型 / 取值
boolean
详细信息
Key
features.goals
类型 / 取值
boolean
详细信息
Key
features.hooks
类型 / 取值
boolean
详细信息
Key
features.mcp_lazy_stdio_startup
类型 / 取值
boolean
详细信息
Key
features.memories
类型 / 取值
boolean
详细信息
Key
features.multi_agent
类型 / 取值
boolean
详细信息
Key
features.network_proxy
类型 / 取值
boolean | table
详细信息
Key
features.network_proxy.allow_local_binding
类型 / 取值
boolean
详细信息
Key
features.network_proxy.allow_upstream_proxy
类型 / 取值
boolean
详细信息
Key
features.network_proxy.dangerously_allow_all_unix_sockets
类型 / 取值
boolean
详细信息
Key
features.network_proxy.dangerously_allow_non_loopback_proxy
类型 / 取值
boolean
详细信息
Key
features.network_proxy.domains
类型 / 取值
map<string, allow | deny>
详细信息
Key
features.network_proxy.enable_socks5
类型 / 取值
boolean
详细信息
Key
features.network_proxy.enable_socks5_udp
类型 / 取值
boolean
详细信息
Key
features.network_proxy.enabled
类型 / 取值
boolean
详细信息
Key
features.network_proxy.proxy_url
类型 / 取值
string
详细信息
Key
features.network_proxy.socks_url
类型 / 取值
string
详细信息
Key
features.network_proxy.unix_sockets
类型 / 取值
map<string, allow | deny>
详细信息
Key
features.personality
类型 / 取值
boolean
详细信息
Key
features.prefer_mxc
类型 / 取值
boolean
详细信息
Key
features.prevent_idle_sleep
类型 / 取值
boolean
详细信息
Key
features.remote_plugin
类型 / 取值
boolean
详细信息
Key
features.rollout_budget.enabled
类型 / 取值
boolean
详细信息
Key
features.rollout_budget.limit_tokens
类型 / 取值
integer
详细信息
Key
features.rollout_budget.prefill_token_weight
类型 / 取值
number
详细信息
Key
features.rollout_budget.reminder_at_remaining_tokens
类型 / 取值
array<integer>
详细信息
Key
features.rollout_budget.sampling_token_weight
类型 / 取值
number
详细信息
Key
features.shell_snapshot
类型 / 取值
boolean
详细信息
Key
features.shell_tool
类型 / 取值
boolean
详细信息
Key
features.skill_mcp_dependency_install
类型 / 取值
boolean
详细信息
Key
features.ultrafast_mode
类型 / 取值
boolean
详细信息
Key
features.unified_exec
类型 / 取值
boolean
详细信息
Key
features.view_image
类型 / 取值
boolean
详细信息
Key
features.web_search
类型 / 取值
boolean
详细信息
Key
features.web_search_cached
类型 / 取值
boolean
详细信息
Key
features.web_search_request
类型 / 取值
boolean
详细信息
Key
feedback.enabled
类型 / 取值
boolean
详细信息
Key
file_opener
类型 / 取值
vscode | vscode-insiders | windsurf | cursor | none
详细信息
Key
forced_chatgpt_workspace_id
类型 / 取值
string (uuid)
详细信息
Key
forced_login_method
类型 / 取值
chatgpt | api
详细信息
Key
goals.max_goal_token_budget
类型 / 取值
integer (positive)
详细信息
Key
hide_agent_reasoning
类型 / 取值
boolean
详细信息
Key
history.max_bytes
类型 / 取值
number
详细信息
Key
history.persistence
类型 / 取值
save-all | none
详细信息
Key
hooks
类型 / 取值
table
详细信息
Key
hooks.<Event>
类型 / 取值
array<table>
详细信息
Key
hooks.<Event>[].hooks
类型 / 取值
array<table>
详细信息
Key
hooks.<Event>[].hooks[].additionalContextLimit
类型 / 取值
integer
详细信息
Key
hooks.<Event>[].hooks[].async
类型 / 取值
boolean
详细信息
Key
hooks.<Event>[].hooks[].commandWindows
类型 / 取值
string
详细信息
Key
instructions
类型 / 取值
string
详细信息
Key
log_dir
类型 / 取值
string (path)
详细信息
Key
marketplaces.<name>.ref
类型 / 取值
string
详细信息
Key
marketplaces.<name>.source
类型 / 取值
string
详细信息
Key
marketplaces.<name>.source_type
类型 / 取值
git | local
详细信息
Key
marketplaces.<name>.sparse_paths
类型 / 取值
array<string>
详细信息
Key
mcp_oauth_callback_port
类型 / 取值
integer
详细信息
Key
mcp_oauth_callback_url
类型 / 取值
string
详细信息
Key
mcp_oauth_credentials_store
类型 / 取值
auto | file | keyring
详细信息
Key
mcp_optional_startup_grace_ms
类型 / 取值
integer (milliseconds)
详细信息
Key
mcp_servers.<id>.args
类型 / 取值
array<string>
详细信息
Key
mcp_servers.<id>.auth
类型 / 取值
oauth | chatgpt
详细信息
Key
mcp_servers.<id>.bearer_token_env_var
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.command
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.cwd
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.default_tools_approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
mcp_servers.<id>.disabled_tools
类型 / 取值
array<string>
详细信息
Key
mcp_servers.<id>.enabled
类型 / 取值
boolean
详细信息
Key
mcp_servers.<id>.enabled_tools
类型 / 取值
array<string>
详细信息
Key
mcp_servers.<id>.env
类型 / 取值
map<string,string>
详细信息
Key
mcp_servers.<id>.env_http_headers
类型 / 取值
map<string,string>
详细信息
Key
mcp_servers.<id>.env_vars
类型 / 取值
array<string | { name = string, source = "local" | "remote" }>
详细信息
Key
mcp_servers.<id>.environment_id
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.http_headers
类型 / 取值
map<string,string>
详细信息
Key
mcp_servers.<id>.http_headers_helper
类型 / 取值
string (command)
详细信息
Key
mcp_servers.<id>.oauth_resource
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.oauth.callback_port
类型 / 取值
integer
详细信息
Key
mcp_servers.<id>.oauth.callback_url
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.oauth.client_id
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.oauth.client_secret
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.omit_tools_from
类型 / 取值
array<string>
详细信息
Key
mcp_servers.<id>.required
类型 / 取值
boolean
详细信息
Key
mcp_servers.<id>.scopes
类型 / 取值
array<string>
详细信息
Key
mcp_servers.<id>.startup_readiness
类型 / 取值
connection | catalog
详细信息
Key
mcp_servers.<id>.startup_timeout_ms
类型 / 取值
number
详细信息
Key
mcp_servers.<id>.startup_timeout_sec
类型 / 取值
number
详细信息
Key
mcp_servers.<id>.supports_parallel_tool_calls
类型 / 取值
boolean
详细信息
Key
mcp_servers.<id>.tool_input_schema_max_bytes
类型 / 取值
integer (positive)
详细信息
Key
mcp_servers.<id>.tool_timeout_sec
类型 / 取值
number
详细信息
Key
mcp_servers.<id>.tools.<tool>.approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
mcp_servers.<id>.tools.<tool>.output_token_limit
类型 / 取值
integer (positive)
详细信息
Key
mcp_servers.<id>.url
类型 / 取值
string
详细信息
Key
memories.consolidation_model
类型 / 取值
string
详细信息
Key
memories.consolidation_service_tier
类型 / 取值
string
详细信息
Key
memories.disable_on_external_context
类型 / 取值
boolean
详细信息
Key
memories.dual_write
类型 / 取值
boolean
详细信息
Key
memories.extract_model
类型 / 取值
string
详细信息
Key
memories.generate_memories
类型 / 取值
boolean
详细信息
Key
memories.max_raw_memories_for_consolidation
类型 / 取值
number
详细信息
Key
memories.max_rollout_age_days
类型 / 取值
number
详细信息
Key
memories.max_rollouts_per_startup
类型 / 取值
number
详细信息
Key
memories.max_unused_days
类型 / 取值
number
详细信息
Key
memories.min_rate_limit_remaining_percent
类型 / 取值
number
详细信息
Key
memories.min_rollout_idle_hours
类型 / 取值
number
详细信息
Key
memories.use_memories
类型 / 取值
boolean
详细信息
Key
memories.version
类型 / 取值
v1 | v2
详细信息
Key
model
类型 / 取值
string
详细信息
Key
model_auto_compact_token_limit
类型 / 取值
number
详细信息
Key
model_auto_compact_token_limit_scope
类型 / 取值
total | body_after_prefix
详细信息
Key
model_catalog_json
类型 / 取值
string (path)
详细信息
Key
model_context_window
类型 / 取值
number
详细信息
Key
model_instructions_file
类型 / 取值
string (path)
详细信息
Key
model_post_turn_compact_threshold_percent
类型 / 取值
integer (0–100)
详细信息
Key
model_provider
类型 / 取值
string
详细信息
Key
model_providers.<id>
类型 / 取值
table
详细信息
Key
model_providers.<id>.auth
类型 / 取值
table
详细信息
Key
model_providers.<id>.auth.args
类型 / 取值
array<string>
详细信息
Key
model_providers.<id>.auth.command
类型 / 取值
string
详细信息
Key
model_providers.<id>.auth.cwd
类型 / 取值
string (path)
详细信息
Key
model_providers.<id>.auth.refresh_interval_ms
类型 / 取值
number
详细信息
Key
model_providers.<id>.auth.timeout_ms
类型 / 取值
number
详细信息
Key
model_providers.<id>.base_url
类型 / 取值
string
详细信息
Key
model_providers.<id>.capabilities.external_web_access
类型 / 取值
boolean
详细信息
Key
model_providers.<id>.capabilities.remote_compaction
类型 / 取值
unsupported | v2
详细信息
Key
model_providers.<id>.env_http_headers
类型 / 取值
map<string,string>
详细信息
Key
model_providers.<id>.env_key
类型 / 取值
string
详细信息
Key
model_providers.<id>.env_key_instructions
类型 / 取值
string
详细信息
Key
model_providers.<id>.experimental_bearer_token
类型 / 取值
string
详细信息
Key
model_providers.<id>.gateway_oauth.credential_export
类型 / 取值
table
详细信息
Key
model_providers.<id>.gateway_oauth.device_authorization_url
类型 / 取值
string
详细信息
Key
model_providers.<id>.http_headers
类型 / 取值
map<string,string>
详细信息
Key
model_providers.<id>.model_catalog_url
类型 / 取值
string
详细信息
Key
model_providers.<id>.name
类型 / 取值
string
详细信息
Key
model_providers.<id>.query_params
类型 / 取值
map<string,string>
详细信息
Key
model_providers.<id>.request_max_retries
类型 / 取值
number
详细信息
Key
model_providers.<id>.requires_openai_auth
类型 / 取值
boolean
详细信息
Key
model_providers.<id>.stream_idle_timeout_ms
类型 / 取值
number
详细信息
Key
model_providers.<id>.stream_max_retries
类型 / 取值
number
详细信息
Key
model_providers.<id>.supports_standalone_web_search
类型 / 取值
boolean
详细信息
Key
model_providers.<id>.supports_websockets
类型 / 取值
boolean
详细信息
Key
model_providers.<id>.wire_api
类型 / 取值
responses
详细信息
Key
model_providers.amazon-bedrock.aws.profile
类型 / 取值
string
详细信息
Key
model_providers.amazon-bedrock.aws.region
类型 / 取值
string
详细信息
Key
model_providers.gcp.base_url
类型 / 取值
string
详细信息
Key
model_providers.gcp.credential_file
类型 / 取值
string (absolute path)
详细信息
Key
model_providers.gcp.location
类型 / 取值
string
详细信息
Key
model_providers.gcp.project_id
类型 / 取值
string
详细信息
Key
model_reasoning_effort
类型 / 取值
string
详细信息
Key
model_reasoning_summary
类型 / 取值
auto | concise | detailed | none
详细信息
Key
model_verbosity
类型 / 取值
low | medium | high
详细信息
Key
notice.hide_full_access_warning
类型 / 取值
boolean
详细信息
Key
notice.hide_gpt-5.1-codex-max_migration_prompt
类型 / 取值
boolean
详细信息
Key
notice.hide_gpt5_1_migration_prompt
类型 / 取值
boolean
详细信息
Key
notice.hide_rate_limit_model_nudge
类型 / 取值
boolean
详细信息
Key
notice.hide_world_writable_warning
类型 / 取值
boolean
详细信息
Key
notice.model_migrations
类型 / 取值
map<string,string>
详细信息
Key
notify
类型 / 取值
array<string>
详细信息
Key
openai_base_url
类型 / 取值
string
详细信息
Key
oss_provider
类型 / 取值
lmstudio | ollama
详细信息
Key
otel.environment
类型 / 取值
string
详细信息
Key
otel.exporter
类型 / 取值
none | otlp-http | otlp-grpc
详细信息
Key
otel.exporter.<id>.endpoint
类型 / 取值
string
详细信息
Key
otel.exporter.<id>.headers
类型 / 取值
map<string,string>
详细信息
Key
otel.exporter.<id>.protocol
类型 / 取值
binary | json
详细信息
Key
otel.exporter.<id>.tls.ca-certificate
类型 / 取值
string
详细信息
Key
otel.exporter.<id>.tls.client-certificate
类型 / 取值
string
详细信息
Key
otel.exporter.<id>.tls.client-private-key
类型 / 取值
string
详细信息
Key
otel.headers_helper
类型 / 取值
string
详细信息
Key
otel.headers_helper_refresh_interval_ms
类型 / 取值
integer (positive)
详细信息
Key
otel.log_agent_responses
类型 / 取值
boolean
详细信息
Key
otel.log_guardian_assessments
类型 / 取值
boolean
详细信息
Key
otel.log_sse_deltas
类型 / 取值
boolean
详细信息
Key
otel.log_user_prompt
类型 / 取值
boolean
详细信息
Key
otel.metrics_exporter
类型 / 取值
none | statsig | otlp-http | otlp-grpc
详细信息
Key
otel.span_attributes
类型 / 取值
map<string,string>
详细信息
Key
otel.tool_result.max_bytes
类型 / 取值
integer (nonnegative)
详细信息
Key
otel.trace_exporter
类型 / 取值
none | otlp-http | otlp-grpc
详细信息
Key
otel.trace_exporter.<id>.endpoint
类型 / 取值
string
详细信息
Key
otel.trace_exporter.<id>.headers
类型 / 取值
map<string,string>
详细信息
Key
otel.trace_exporter.<id>.protocol
类型 / 取值
binary | json
详细信息
Key
otel.trace_exporter.<id>.tls.ca-certificate
类型 / 取值
string
详细信息
Key
otel.trace_exporter.<id>.tls.client-certificate
类型 / 取值
string
详细信息
Key
otel.trace_exporter.<id>.tls.client-private-key
类型 / 取值
string
详细信息
Key
otel.tracestate
类型 / 取值
map<string,map<string,string>>
详细信息
Key
permissions.<name>.description
类型 / 取值
string
详细信息
Key
permissions.<name>.extends
类型 / 取值
string
详细信息
Key
permissions.<name>.filesystem
类型 / 取值
table
详细信息
Key
permissions.<name>.filesystem.":workspace_roots".<subpath-or-glob>
类型 / 取值
"read" | "write" | "deny"
详细信息
Key
permissions.<name>.filesystem.<path-or-glob>
类型 / 取值
"read" | "write" | "deny" | table
详细信息
Key
permissions.<name>.filesystem.glob_scan_max_depth
类型 / 取值
number
详细信息
Key
permissions.<name>.network.allow_local_binding
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.allow_upstream_proxy
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.dangerously_allow_all_unix_sockets
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.dangerously_allow_non_loopback_proxy
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.domains
类型 / 取值
table
详细信息
Key
permissions.<name>.network.domains.<pattern>
类型 / 取值
allow | deny
详细信息
Key
permissions.<name>.network.enable_socks5
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.enable_socks5_udp
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.enabled
类型 / 取值
boolean
详细信息
Key
permissions.<name>.network.mode
类型 / 取值
limited | full
详细信息
Key
permissions.<name>.network.proxy_url
类型 / 取值
string
详细信息
Key
permissions.<name>.network.socks_url
类型 / 取值
string
详细信息
Key
permissions.<name>.network.unix_sockets
类型 / 取值
table
详细信息
Key
permissions.<name>.network.unix_sockets.<path>
类型 / 取值
allow | deny
详细信息
Key
permissions.<name>.workspace_roots
类型 / 取值
table
详细信息
Key
permissions.<name>.workspace_roots.<path>
类型 / 取值
boolean
详细信息
Key
personality
类型 / 取值
none | friendly | pragmatic
详细信息
Key
plan_mode_reasoning_effort
类型 / 取值
string
详细信息
Key
plugins._default.enabled
类型 / 取值
boolean
详细信息
Key
plugins.<plugin>.enabled
类型 / 取值
boolean
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.default_tools_approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.disabled_tools
类型 / 取值
array<string>
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.enabled
类型 / 取值
boolean
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.enabled_tools
类型 / 取值
array<string>
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.tools.<tool>.approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
project_doc_fallback_filenames
类型 / 取值
array<string>
详细信息
Key
project_doc_max_bytes
类型 / 取值
number
详细信息
Key
project_root_markers
类型 / 取值
array<string>
详细信息
Key
projects.<path>.trust_level
类型 / 取值
string
详细信息
Key
review_model
类型 / 取值
string
详细信息
Key
sandbox_mode
类型 / 取值
read-only | workspace-write | danger-full-access
详细信息
Key
sandbox_workspace_write.exclude_slash_tmp
类型 / 取值
boolean
详细信息
Key
sandbox_workspace_write.exclude_tmpdir_env_var
类型 / 取值
boolean
详细信息
Key
sandbox_workspace_write.network_access
类型 / 取值
boolean
详细信息
Key
sandbox_workspace_write.writable_roots
类型 / 取值
array<string>
详细信息
Key
service_tier
类型 / 取值
string
详细信息
Key
shell_environment_policy.exclude
类型 / 取值
array<string>
详细信息
Key
shell_environment_policy.experimental_use_profile
类型 / 取值
boolean
详细信息
Key
shell_environment_policy.filters
类型 / 取值
map<string, include | exclude>
详细信息
Key
shell_environment_policy.ignore_default_excludes
类型 / 取值
boolean
详细信息
Key
shell_environment_policy.include_only
类型 / 取值
array<string>
详细信息
Key
shell_environment_policy.inherit
类型 / 取值
all | core | none
详细信息
Key
shell_environment_policy.set
类型 / 取值
map<string,string>
详细信息
Key
show_raw_agent_reasoning
类型 / 取值
boolean
详细信息
Key
skills.bundled.enabled
类型 / 取值
boolean
详细信息
Key
skills.config
类型 / 取值
array<object>
详细信息
Key
skills.config.<index>.enabled
类型 / 取值
boolean
详细信息
Key
skills.config.<index>.name
类型 / 取值
string
详细信息
Key
skills.config.<index>.path
类型 / 取值
string (path)
详细信息
Key
skills.include_instructions
类型 / 取值
boolean
详细信息
Key
skills.max_context_tokens
类型 / 取值
integer (positive)
详细信息
Key
sqlite_home
类型 / 取值
string (path)
详细信息
Key
suppress_unstable_features_warning
类型 / 取值
boolean
详细信息
Key
thread_unload_delay_secs
类型 / 取值
integer (nonnegative)
详细信息
Key
tool_output_token_limit
类型 / 取值
number
详细信息
Key
tool_suggest.disabled_tools
类型 / 取值
array<table>
详细信息
Key
tool_suggest.discoverables
类型 / 取值
array<table>
详细信息
Key
tools.web_search
类型 / 取值
boolean | { context_size = "low|medium|high", allowed_domains = [string], location = { country, region, city, timezone } }
详细信息
Key
tui
类型 / 取值
table
详细信息
Key
tui.alternate_screen
类型 / 取值
auto | always | never
详细信息
Key
tui.animations
类型 / 取值
boolean
详细信息
Key
tui.auto_recap
类型 / 取值
boolean
详细信息
Key
tui.collapse_turn_details
类型 / 取值
boolean
详细信息
Key
tui.disable_paste_burst
类型 / 取值
boolean
详细信息
Key
tui.keymap.<context>.<action>
类型 / 取值
string | array<string>
详细信息
Key
tui.keymap.<context>.<action> = []
类型 / 取值
empty array
详细信息
Key
tui.model_availability_nux.<model>
类型 / 取值
integer
详细信息
Key
tui.notification_condition
类型 / 取值
unfocused | always
详细信息
Key
tui.notification_method
类型 / 取值
auto | osc9 | bel
详细信息
Key
tui.notifications
类型 / 取值
boolean | array<string>
详细信息
Key
tui.presets.<digit>.input
类型 / 取值
string
详细信息
Key
tui.presets.<digit>.label
类型 / 取值
string
详细信息
Key
tui.raw_output_mode
类型 / 取值
boolean
详细信息
Key
tui.resume_cwd
类型 / 取值
current | session
详细信息
Key
tui.show_server_version_notice
类型 / 取值
boolean
详细信息
Key
tui.show_tooltips
类型 / 取值
boolean
详细信息
Key
tui.status_line
类型 / 取值
array<string> | null
详细信息
Key
tui.terminal_title
类型 / 取值
array<string> | null
详细信息
Key
tui.theme
类型 / 取值
string
详细信息
Key
tui.vim_mode_default
类型 / 取值
boolean
详细信息
Key
web_search
类型 / 取值
disabled | cached | indexed | live
详细信息
Key
windows.sandbox
类型 / 取值
mxc | elevated | unelevated
详细信息

config.toml 的最新 JSON 模式可在此处查看。

要在 VS Code 或 Cursor 中编辑 config.toml 时使用自动补全和诊断功能,您可以安装 Even Better TOML 扩展程序,然后将下面这一行添加到 config.toml 顶部。

#:schema https://developers.openai.com/codex/config-schema.json

Codex 已弃用 experimental_instructions_file。请在现有配置中将此键重命名为 model_instructions_file。

requirements.toml

requirements.toml 是由管理员强制执行的配置文件,用于约束涉及安全的设置,用户无法覆盖这些约束。有关详情、文件位置和示例,请参阅管理员强制执行的要求。

对于 ChatGPT Business 和 Enterprise 用户,Codex 还可以应用从云端获取的要求。有关优先级的详细信息,请参阅安全页面。要通过您自己的 HTTPS 端点提供 CLI 策略,请参阅为团队自行托管 Codex 配置。

使用 [features] 表可在 requirements.toml 中固定运行时功能标志的值,键名与 config.toml 使用的规范键名相同。要求中还可以包含文档列出但不适用于 config.toml 的应用专用键。省略的键不受约束。

部分托管要求会强制使用确切的配置值,而不是指定允许列表。用户无法覆盖强制指定的路径、更新偏好、登录 shell 策略或反馈设置。

请将 allowed_sandbox_modes 与 sandbox_mode 搭配使用。如果部署使用权限配置方案,请将 allowed_permission_profiles 与托管的 default_permissions 搭配使用。

untrusted 仍可作为 allowed_approval_policies 的条目,允许 Codex 在项目使用 trust_level = "untrusted" 时采用由此推导出的更严格审批行为。此条目不允许显式设置 approval_policy = "untrusted"。

[models.new_thread] 表提供托管默认值,但不强制执行。如果您通过 --model、--config 或 --profile 显式覆盖模型或推理强度,Codex 会同时忽略 model 和 model_reasoning_effort 这两个字段在 [models.new_thread] 中的值。service_tier 独立生效。

浏览器相关要求分别控制三类操作。in_app_browser 控制用户直接打开和操作的浏览器面板。browser_use 控制智能体在浏览器中执行的操作。computer_use 控制智能体在原生桌面应用中执行的操作。

浏览器和计算机使用功能的嵌套策略值本身不会授予访问权限。针对特定来源或应用的 allow 可以覆盖同一策略来源中的回退值,但仍需通过常规功能、审批和其他策略检查。当托管要求和 config.toml 同时适用时,任一来源的 deny 均优先。

Key
additional_developer_instructions
类型 / 取值
string
详细信息
Key
allow_appshots
类型 / 取值
boolean
详细信息
Key
allow_browser_and_computer_use
类型 / 取值
boolean
详细信息
Key
allow_login_shell
类型 / 取值
boolean
详细信息
Key
allow_managed_hooks_only
类型 / 取值
boolean
详细信息
Key
allow_remote_control
类型 / 取值
boolean
详细信息
Key
allowed_approval_policies
类型 / 取值
array<string>
详细信息
Key
allowed_approvals_reviewers
类型 / 取值
array<string>
详细信息
Key
allowed_chatgpt_workspaces
类型 / 取值
array<string>
详细信息
Key
allowed_login_methods
类型 / 取值
array<string>
详细信息
Key
allowed_permission_profiles
类型 / 取值
table<boolean>
详细信息
Key
allowed_permission_profiles.<name>
类型 / 取值
boolean
详细信息
Key
allowed_sandbox_modes
类型 / 取值
array<string>
详细信息
Key
allowed_web_search_modes
类型 / 取值
array<string>
详细信息
Key
application
类型 / 取值
table
详细信息
Key
application.network
类型 / 取值
table
详细信息
Key
application.network.domains
类型 / 取值
table<allow | deny>
详细信息
Key
application.network.domains.<domain>
类型 / 取值
allow | deny
详细信息
Key
application.network.enabled
类型 / 取值
boolean
详细信息
Key
application.storage
类型 / 取值
table
详细信息
Key
application.storage.default_project_parent
类型 / 取值
string (absolute path)
详细信息
Key
application.storage.projectless_workspace_root
类型 / 取值
string (absolute path)
详细信息
Key
apps
类型 / 取值
table
详细信息
Key
apps.<id>.enabled
类型 / 取值
boolean
详细信息
Key
apps.<id>.tools.<tool>.approval_mode
类型 / 取值
auto | prompt | writes | approve
详细信息
Key
auto_review
类型 / 取值
table
详细信息
Key
auto_review.ignore_rules
类型 / 取值
array<string>
详细信息
Key
auto_review.required_on_models
类型 / 取值
array<string>
详细信息
Key
browser_use
类型 / 取值
table
详细信息
Key
browser_use.allow_global_persistent_approval
类型 / 取值
boolean
详细信息
Key
browser_use.allow_history_access
类型 / 取值
boolean
详细信息
Key
browser_use.allow_webmcp
类型 / 取值
boolean
详细信息
Key
browser_use.default_origin_policy
类型 / 取值
table
详细信息
Key
browser_use.default_origin_policy.access
类型 / 取值
allow | deny
详细信息
Key
browser_use.default_origin_policy.access_approval_lifetime
类型 / 取值
turn | thread
详细信息
Key
browser_use.default_origin_policy.auto_review
类型 / 取值
allow | deny
详细信息
Key
browser_use.default_origin_policy.downloads
类型 / 取值
allow | deny
详细信息
Key
browser_use.default_origin_policy.full_cdp_access
类型 / 取值
allow | deny
详细信息
Key
browser_use.default_origin_policy.persistent_approval
类型 / 取值
boolean
详细信息
Key
browser_use.default_origin_policy.uploads
类型 / 取值
allow | deny
详细信息
Key
browser_use.disable_auto_review
类型 / 取值
boolean
详细信息
Key
browser_use.extension
类型 / 取值
table
详细信息
Key
browser_use.extension.request_headers
类型 / 取值
array<table>
详细信息
Key
browser_use.extension.request_headers[].name
类型 / 取值
string
详细信息
Key
browser_use.extension.request_headers[].value
类型 / 取值
string
详细信息
Key
browser_use.origins
类型 / 取值
map<string, table>
详细信息
Key
browser_use.origins.<pattern>
类型 / 取值
table
详细信息
Key
browser_use.origins.<pattern>.access
类型 / 取值
allow | deny
详细信息
Key
browser_use.origins.<pattern>.access_approval_lifetime
类型 / 取值
turn | thread
详细信息
Key
browser_use.origins.<pattern>.auto_review
类型 / 取值
allow | deny
详细信息
Key
browser_use.origins.<pattern>.downloads
类型 / 取值
allow | deny
详细信息
Key
browser_use.origins.<pattern>.full_cdp_access
类型 / 取值
allow | deny
详细信息
Key
browser_use.origins.<pattern>.persistent_approval
类型 / 取值
boolean
详细信息
Key
browser_use.origins.<pattern>.uploads
类型 / 取值
allow | deny
详细信息
Key
chatgpt_base_url
类型 / 取值
string
详细信息
Key
check_for_update_on_startup
类型 / 取值
boolean
详细信息
Key
cli_auth_credentials_store
类型 / 取值
file | keyring | auto | ephemeral
详细信息
Key
computer_use
类型 / 取值
table
详细信息
Key
computer_use.allow_locked_computer_use
类型 / 取值
boolean
详细信息
Key
computer_use.allow_persistent_approval
类型 / 取值
boolean
详细信息
Key
computer_use.default_app_access
类型 / 取值
allow | deny
详细信息
Key
computer_use.macos
类型 / 取值
table
详细信息
Key
computer_use.macos.bundle_ids
类型 / 取值
map<string, allow | deny>
详细信息
Key
computer_use.macos.bundle_ids.<bundle-id>
类型 / 取值
allow | deny
详细信息
Key
computer_use.windows
类型 / 取值
table
详细信息
Key
computer_use.windows.aumids
类型 / 取值
map<string, allow | deny>
详细信息
Key
computer_use.windows.aumids.<aumid>
类型 / 取值
allow | deny
详细信息
Key
computer_use.windows.exes
类型 / 取值
array<table>
详细信息
Key
computer_use.windows.exes[].access
类型 / 取值
allow | deny
详细信息
Key
computer_use.windows.exes[].binary_name
类型 / 取值
string
详细信息
Key
computer_use.windows.exes[].product_name
类型 / 取值
string
详细信息
Key
computer_use.windows.exes[].publisher_name
类型 / 取值
string
详细信息
Key
config_server
类型 / 取值
table
详细信息
Key
config_server
类型 / 取值
table
详细信息
Key
config_server.base_url
类型 / 取值
string (HTTPS URL)
详细信息
Key
config_server.base_url
类型 / 取值
string
详细信息
Key
config_server.oauth
类型 / 取值
table
详细信息
Key
config_server.oauth
类型 / 取值
table
详细信息
Key
config_server.oauth.authorization_url
类型 / 取值
string (HTTPS URL)
详细信息
Key
config_server.oauth.client_id
类型 / 取值
string
详细信息
Key
config_server.oauth.redirect_port
类型 / 取值
number
详细信息
Key
config_server.oauth.resource
类型 / 取值
string
详细信息
Key
config_server.oauth.scopes
类型 / 取值
array<string>
详细信息
Key
config_server.oauth.token_url
类型 / 取值
string (HTTPS URL)
详细信息
Key
default_permissions
类型 / 取值
string
详细信息
Key
enforce_residency
类型 / 取值
string
详细信息
Key
features
类型 / 取值
table
详细信息
Key
features.<name>
类型 / 取值
boolean
详细信息
Key
features.api_key_cyber_access_programs
类型 / 取值
boolean
详细信息
Key
features.apps
类型 / 取值
boolean
详细信息
Key
features.browser_annotation_api
类型 / 取值
boolean
详细信息
Key
features.browser_use
类型 / 取值
boolean
详细信息
Key
features.browser_use_external
类型 / 取值
boolean
详细信息
Key
features.browser_use_full_cdp_access
类型 / 取值
boolean
详细信息
Key
features.computer_use
类型 / 取值
boolean
详细信息
Key
features.fast_mode
类型 / 取值
boolean
详细信息
Key
features.guardian_approval
类型 / 取值
boolean
详细信息
Key
features.in_app_browser
类型 / 取值
boolean
详细信息
Key
features.in_app_chat
类型 / 取值
boolean
详细信息
Key
features.in_app_dictation
类型 / 取值
boolean
详细信息
Key
features.in_app_local_automation
类型 / 取值
boolean
详细信息
Key
features.in_app_updates
类型 / 取值
boolean
详细信息
Key
features.in_app_voice
类型 / 取值
boolean
详细信息
Key
features.memories
类型 / 取值
boolean
详细信息
Key
features.multi_agent
类型 / 取值
boolean
详细信息
Key
features.plugin_sharing
类型 / 取值
boolean
详细信息
Key
features.plugins
类型 / 取值
boolean
详细信息
Key
features.realtime_conversation
类型 / 取值
boolean
详细信息
Key
features.remote_plugin
类型 / 取值
boolean
详细信息
Key
features.standalone_web_search
类型 / 取值
boolean
详细信息
Key
features.ultrafast_mode
类型 / 取值
boolean
详细信息
Key
features.workspace_dependencies
类型 / 取值
boolean
详细信息
Key
feedback
类型 / 取值
table
详细信息
Key
feedback.enabled
类型 / 取值
boolean
详细信息
Key
guardian_policy_config
类型 / 取值
string
详细信息
Key
hooks
类型 / 取值
table
详细信息
Key
hooks.<Event>
类型 / 取值
array<table>
详细信息
Key
hooks.<Event>[].hooks
类型 / 取值
array<table>
详细信息
Key
hooks.<Event>[].hooks[].additionalContextLimit
类型 / 取值
integer
详细信息
Key
hooks.<Event>[].hooks[].async
类型 / 取值
boolean
详细信息
Key
hooks.<Event>[].hooks[].commandWindows
类型 / 取值
string
详细信息
Key
hooks.managed_dir
类型 / 取值
string (absolute path)
详细信息
Key
hooks.windows_managed_dir
类型 / 取值
string (absolute path)
详细信息
Key
in_app_browser
类型 / 取值
table
详细信息
Key
in_app_browser.allow_external_browser_settings_import
类型 / 取值
boolean
详细信息
Key
log_dir
类型 / 取值
string (path)
详细信息
Key
marketplaces
类型 / 取值
table
详细信息
Key
marketplaces.allowed_sources
类型 / 取值
table
详细信息
Key
marketplaces.allowed_sources.<name>
类型 / 取值
table
详细信息
Key
marketplaces.allowed_sources.<name>.host_pattern
类型 / 取值
string
详细信息
Key
marketplaces.allowed_sources.<name>.path
类型 / 取值
string (absolute path)
详细信息
Key
marketplaces.allowed_sources.<name>.ref
类型 / 取值
string
详细信息
Key
marketplaces.allowed_sources.<name>.source
类型 / 取值
git | host_pattern | local
详细信息
Key
marketplaces.allowed_sources.<name>.url
类型 / 取值
string
详细信息
Key
marketplaces.restrict_to_allowed_sources
类型 / 取值
boolean
详细信息
Key
mcp_servers
类型 / 取值
table
详细信息
Key
mcp_servers.<id>.identity
类型 / 取值
table
详细信息
Key
mcp_servers.<id>.identity.command
类型 / 取值
string | table
详细信息
Key
mcp_servers.<id>.identity.command.args
类型 / 取值
array<table>
详细信息
Key
mcp_servers.<id>.identity.command.args[].expression
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.identity.command.args[].match
类型 / 取值
exact | prefix | regex
详细信息
Key
mcp_servers.<id>.identity.command.args[].value
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.identity.command.executable
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.identity.url
类型 / 取值
string | table
详细信息
Key
mcp_servers.<id>.identity.url.expression
类型 / 取值
string
详细信息
Key
mcp_servers.<id>.identity.url.match
类型 / 取值
exact | prefix | regex
详细信息
Key
mcp_servers.<id>.identity.url.value
类型 / 取值
string
详细信息
Key
model_catalog_json
类型 / 取值
string (path)
详细信息
Key
model_provider
类型 / 取值
string
详细信息
Key
model_providers
类型 / 取值
map<string, table>
详细信息
Key
model_providers.<id>
类型 / 取值
table
详细信息
Key
models
类型 / 取值
table
详细信息
Key
models.new_thread
类型 / 取值
table
详细信息
Key
models.new_thread.model
类型 / 取值
string
详细信息
Key
models.new_thread.model_reasoning_effort
类型 / 取值
string
详细信息
Key
models.new_thread.service_tier
类型 / 取值
string
详细信息
Key
network_proxy
类型 / 取值
table
详细信息
Key
network_proxy.allow_local_binding
类型 / 取值
boolean
详细信息
Key
network_proxy.allow_upstream_proxy
类型 / 取值
boolean
详细信息
Key
network_proxy.allowed_domains
类型 / 取值
array<string>
详细信息
Key
network_proxy.dangerously_allow_all_unix_sockets
类型 / 取值
boolean
详细信息
Key
network_proxy.dangerously_allow_non_loopback_proxy
类型 / 取值
boolean
详细信息
Key
network_proxy.denied_domains
类型 / 取值
array<string>
详细信息
Key
network_proxy.domains
类型 / 取值
map<string, allow | deny>
详细信息
Key
network_proxy.domains.<pattern>
类型 / 取值
allow | deny
详细信息
Key
network_proxy.enabled
类型 / 取值
boolean
详细信息
Key
network_proxy.http_port
类型 / 取值
integer
详细信息
Key
network_proxy.managed_allowed_domains_only
类型 / 取值
boolean
详细信息
Key
network_proxy.review_domains
类型 / 取值
array<string>
详细信息
Key
network_proxy.socks_port
类型 / 取值
integer
详细信息
Key
network_proxy.unix_sockets
类型 / 取值
map<string, allow | deny>
详细信息
Key
network_proxy.unix_sockets.<path>
类型 / 取值
allow | deny
详细信息
Key
otel
类型 / 取值
table
详细信息
Key
otel.environment
类型 / 取值
string
详细信息
Key
otel.exporter
类型 / 取值
none | otlp-http | otlp-grpc
详细信息
Key
otel.headers_helper
类型 / 取值
string
详细信息
Key
otel.headers_helper_refresh_interval_ms
类型 / 取值
integer (positive)
详细信息
Key
otel.log_agent_responses
类型 / 取值
boolean
详细信息
Key
otel.log_guardian_assessments
类型 / 取值
boolean
详细信息
Key
otel.log_sse_deltas
类型 / 取值
boolean
详细信息
Key
otel.log_user_prompt
类型 / 取值
boolean
详细信息
Key
otel.metrics_exporter
类型 / 取值
none | statsig | otlp-http | otlp-grpc
详细信息
Key
otel.span_attributes
类型 / 取值
map<string,string>
详细信息
Key
otel.tool_result
类型 / 取值
table
详细信息
Key
otel.tool_result.max_bytes
类型 / 取值
integer (nonnegative)
详细信息
Key
otel.trace_exporter
类型 / 取值
none | otlp-http | otlp-grpc
详细信息
Key
otel.tracestate
类型 / 取值
map<string,map<string,string>>
详细信息
Key
permissions
类型 / 取值
table
详细信息
Key
permissions.<name>
类型 / 取值
table
详细信息
Key
permissions.filesystem.deny_read
类型 / 取值
array<string>
详细信息
Key
plugins
类型 / 取值
table
详细信息
Key
plugins.<plugin>.mcp_servers
类型 / 取值
table
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity
类型 / 取值
table
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command
类型 / 取值
string | table
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command.args
类型 / 取值
array<table>
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command.args[].expression
类型 / 取值
string
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command.args[].match
类型 / 取值
exact | prefix | regex
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command.args[].value
类型 / 取值
string
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.command.executable
类型 / 取值
string
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.url
类型 / 取值
string | table
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.url.expression
类型 / 取值
string
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.url.match
类型 / 取值
exact | prefix | regex
详细信息
Key
plugins.<plugin>.mcp_servers.<server>.identity.url.value
类型 / 取值
string
详细信息
Key
remote_sandbox_config
类型 / 取值
array<table>
详细信息
Key
remote_sandbox_config[].allowed_sandbox_modes
类型 / 取值
array<string>
详细信息
Key
remote_sandbox_config[].hostname_patterns
类型 / 取值
array<string>
详细信息
Key
rules
类型 / 取值
table
详细信息
Key
rules.prefix_rules
类型 / 取值
array<table>
详细信息
Key
rules.prefix_rules[].decision
类型 / 取值
prompt | forbidden
详细信息
Key
rules.prefix_rules[].justification
类型 / 取值
string
详细信息
Key
rules.prefix_rules[].pattern
类型 / 取值
array<table>
详细信息
Key
rules.prefix_rules[].pattern[].any_of
类型 / 取值
array<string>
详细信息
Key
rules.prefix_rules[].pattern[].token
类型 / 取值
string
详细信息
Key
sqlite_home
类型 / 取值
string (path)
详细信息
Key
unsafe_enforce_sqlite_journal_mode
类型 / 取值
boolean
详细信息
Key
windows
类型 / 取值
table
详细信息
Key
windows.allow_mxc
类型 / 取值
boolean
详细信息
Key
windows.allowed_sandbox_implementations
类型 / 取值
array<string>
详细信息
Key
windows.require_mxc
类型 / 取值
boolean
详细信息

输入关键词搜索中文文档。