{"version":"2.1.257","anchor":"workflow-docs-model-override-guidance-suppressed-when-claud","canonical_anchor":"new-claude-code-subagent-model-force-env-var","heading":"New CLAUDE_CODE_SUBAGENT_MODEL_FORCE env var forces subagent model","tier":"use","area":"Workflows","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/workflow-docs-model-override-guidance-suppressed-when-claud","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### New CLAUDE_CODE_SUBAGENT_MODEL_FORCE env var forces subagent model\n\nWith the forced subagent model set, the workflow authoring reference drops its model-override guidance.\n\nA new environment variable, `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`, forces the Task tool to ignore a per-call `model` override for subagents\/workflow agents. When set, the `model` parameter is stripped from the Task tool schema (`n.omit({ model: !0 })`), and workflow agent model requests are dropped with a logged message.\n\nThe in-tool Workflow authoring reference also checks `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`: when set, it omits the `model` field from the documented `agent()` opts and drops the guidance text about setting model overrides in `phase()` entries and `agent()` calls, since a forced subagent model makes that option moot.\n\n- Area: Workflows\n- Names: `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5"}