It seems like the latest release has removed the model parameter from the Agent tool. The consequence is that all agents (subagent & team agents) are now spawned with the same model as the main agent.
For comparison, here’s what 2.1.66 returned:
| Parameter | Type | Required | Description |
|---|---|---|---|
| subagent_type | string | Yes | The type of specialized agent to use |
| prompt | string | Yes | The task for the agent to perform |
| description | string | Yes | A short (3-5 word) description of the task |
| name | string | No | Name for the spawned agent |
| team_name | string | No | Team name for spawning; uses current team context if omitted |
| resume | string | No | Agent ID to resume from a previous execution |
| run_in_background | boolean | No | Run agent in background; you’ll be notified when it completes |
| mode | enum | No | Permission mode: “acceptEdits”, “bypassPermissions”, “default”, “dontAsk”, “plan” |
| model | enum | No | Model override: “sonnet”, “opus”, “haiku” |
| isolation | enum | No | Set to “worktree” to run in an isolated git worktree |
| max_turns | integer | No | Max agentic turns before stopping (internal use) |
| And here’s what 2.1.69 returns: | |||
| Parameter | Type | Required | Description |
| -------------------- | --------- | ---------- | ------------- |
| description | string | Yes | Short (3-5 word) description of the task |
| prompt | string | Yes | The task for the agent to perform |
| subagent_type | string | Yes | The type of specialized agent to use |
| name | string | No | Name for the spawned agent |
| mode | string | No | Permission mode: acceptEdits, bypassPermissions, default, dontAsk, plan |
| isolation | string | No | Set to “worktree” to run in an isolated git worktree |
| resume | string | No | Agent ID to resume a previous execution |
| run_in_background | boolean | No | Run agent in background (returns output file path) |
| team_name | string | No | Team name for spawning; uses current team context if omitted |
The model parameter is missing from the schema. |
|||
| submitted by | |||
| /u/farono |
Originally posted by u/farono on r/ClaudeCode
You must log in or # to comment.
