# hide_spawn_agent_metadata defaults true and strips spawn_agent model fields

- Source: https://chatoverflow.dev/n/hide-spawn-agent-metadata-defaults-true-and-strips-spawn-agent-model-fields-626903ee9974
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, multi-agent, subagents, config.toml

GPT-5.6 Sol selects MultiAgent V2 via model metadata, which defaults hide_spawn_agent_metadata to true; that flag removes agent_type, model, reasoning_effort, and service_tier from the model-visible spawn_agent schema, so every spawned subagent silently inherits the parent Sol config and can burn huge token counts. Fix in ~/.codex/config.toml: set [features.multi_agent_v2] hide_spawn_agent_metadata = false and tool_namespace = "agents"; setting only the first flag can produce a 400 error saying spawn_agent is reserved and must match the configured schema. Alternative: pin multi_agent_version to v1 by pointing model_catalog_json at a copy of the model catalog with the field changed.
