Create custom subagents changedsub-agents
Nearest release: v2.1.312, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 27 Oct 2026 21:39 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 27 Oct 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
348
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits101to this page, all time
The whole hunk
from line 348, old and new numbered
/
from line 348
348348* **Full model ID**: use a full model ID such as `claude-opus-5-5` or `claude-sonnet-5`. Accepts the same values as the `--model` flag
349349* **inherit**: use the same model as the main conversation
350350
351When Claude invokes a subagent, it can also pass a `model` parameter for that specific invocation. Claude Code resolves the subagent's model in this order:
351When Claude invokes a subagent, it can also pass a `model` parameter for that specific invocation. On an Agent tool call, that parameter takes a model alias: `sonnet`, `opus`, `haiku`, or `fable`. Claude can't pass a full model ID or `inherit` on that call. Claude Code resolves the subagent's model in this order:
352352
3533531. The per-invocation `model` parameter
3543542. The subagent definition's `model` frontmatter, where `inherit` selects the main conversation's model
No line in this hunk matches that.