If your agent relies on tool_choice: {"type": "any"} to guarantee that a tool gets called, that guarantee no longer exists on Claude's newest models — it returns a 400. The documented replacement is not a smaller version of the same promise. It is a different promise: auto plus strict: true assures you the arguments will match your schema, and says nothing whatsoever about whether a call happens at all.
At a glance
Four modes, two of which stopped working on the models you most want to use.
| Mode | What it promised | On the newest models | Use instead |
|---|---|---|---|
auto | The model may call a tool or answer directly. Default when tools are present. | Supported | — |
any | The model must call one of your tools, but you do not say which. | 400 error | auto + strict: true |
tool | The model must call the one tool you name. | 400 error | auto + prompt instruction |
none | The model may not call tools. Default when no tools are present. | Supported | — |
The affected models, named in the documentation, are Claude Fable 5.2, Mythos 5.2, Opus 5.5, Sonnet 5.5, Fable 5.1 and Mythos 5.1. On those, any and tool return a 400; auto and none continue to work. Older models in the 4.x and 5.0 generations still accept forced tool use, which is exactly the shape of problem that bites during a model upgrade rather than during development.
What was actually being promised
It is worth separating two guarantees that got bundled together in most people's heads, because the bundle is what is coming apart.
The first is occurrence: a tool call will happen on this turn. That is what tool_choice bought. It is a scheduling guarantee, enforced by the decoder being started in a state where the only legal continuation is a tool-use block.
The second is validity: if a tool call happens, its arguments conform to your schema. That is what strict: true buys, by compiling your schema into a grammar and masking the sampler. It is a correctness guarantee and it is completely silent on whether anything gets called.
Teams reached for forcing because they wanted validity and forcing was the lever that happened to be nearby. If your handler crashed on a missing field, forcing the call did not help with that at all — but it did make the shape of the turn predictable enough that you could paper over the rest. The withdrawal is, read charitably, a correction: the platform now sells validity directly and has stopped selling the thing that was being misused as a proxy for it.
The two things forcing quietly cost you
It skips thinking entirely
This is the sharpest detail in the documentation and the best clue as to why the feature is going. On every model that still accepts forced tool use, forcing a tool skips thinking: the response begins with the tool_use block and contains no thinking block at all. Separately, with manual extended thinking enabled, any and tool are not supported and error out.
So forcing was never free. It bought occurrence by spending deliberation — and it spent it silently, which is the worst way to spend anything. An agent forced to act on every turn is an agent that cannot decide not to act, and the cases where it should decline are precisely the cases where you would most want it to have thought first. As models moved to thinking by default, a flag whose semantics are "begin with an action, do not reason" became a flag at war with the model's own shape.
It suppresses the preamble, whatever you ask for
When tool_choice is any or tool, the response starts with a tool call, so there is no natural-language text before it — and the documentation is explicit that this holds even if you ask for one. Any product surface that renders "here's what I'm about to do" above the tool call was getting an empty string on forced turns and probably attributed it to the model being terse.
The documented way to get both is to use auto and put the instruction in a user message: What's the weather in London? Use the get_weather tool in your response. Prompting still influences which tool auto picks. You trade a hard guarantee for a strong tendency, and you get the preamble and the thinking back.
The replacement is a different guarantee, wired differently
Anthropic's documentation points at auto with strict tool use as the substitute, and on models that do still support forcing it recommends combining any with strict: true to get both at once. Strict mode guarantees two things and only two: the tool input follows your input_schema, and the tool name is always a real one. That second one quietly deletes a failure mode people forget to handle — a hallucinated tool name — which forcing never addressed.
What strict mode will not do is make a call appear. If your pipeline's next stage requires a tool result, you still need the branch where there isn't one. The honest migration is therefore not a config change but the addition of an else-branch you may never have written, and the awkward part is that it was always needed: a forced call could still arrive with the wrong tool selected, or with arguments that were well-typed and wrong.
It also costs something on the budget side. Strict mode compiles your schema, and the limits are combined per request rather than per tool — 20 strict tools, 24 optional parameters and 16 union-typed parameters across every strict schema in the request, with a 180-second compilation ceiling behind that. Switching twelve tools to strict: true to recover a guarantee you used to get from a one-line flag is a real change in your schema budget, not a free swap.
What breaks in your code
The 400 arrives at upgrade time, not at deploy time
Because older models still accept forcing, the code path is fine until someone bumps a model string. That makes this a model-migration hazard rather than an API-migration one, and it will surface as a hard failure on the first request after the bump — which, as hazards go, is the good kind. Grep for tool_choice before the upgrade rather than after.
Changing tool_choice invalidates cached message blocks
Under prompt caching, a change to tool_choice invalidates cached message blocks: tool definitions and system prompts stay cached, but message content has to be reprocessed. So a migration that flips the parameter is not cost-neutral on its first request per conversation, and an A/B test that varies tool_choice per request is quietly paying a cache miss on every switch. If you are measuring the migration's latency impact, that effect is in your numbers and it is not the model's doing.
Two assumptions worth auditing while you are in there
First, any code that treats "no tool call in the response" as impossible. Second, any code that treats the absence of preamble text as a signal about the model's confidence or verbosity — on forced turns it was a structural consequence of the flag, and after migration that text will reappear.
When to pick which
| You want | Reach for | And accept |
|---|---|---|
| Arguments that cannot violate the schema | auto + strict: true | Handling the turn where no call happens; the per-request schema budget |
| A specific tool used on this turn | auto + an instruction in a user message | A strong tendency rather than a guarantee |
| A fixed JSON shape back, not an action | Structured outputs (output_config.format) | It is not a tool call; incompatible with citations and prefilling |
| No tool use at all on this turn | none | Nothing — this one is unchanged |
The one case with no clean answer is a deterministic pipeline whose stage N+1 genuinely cannot proceed without a tool result. There, the right move is usually to stop asking the model for the call and make the call yourself, using the model only to produce the arguments via structured outputs. If a step must happen, a loop is the wrong place to put that requirement — which is the same conclusion Agents vs Chatbots vs Workflows reaches from the other direction.
FAQ
Which models return a 400 for forced tool use?
Claude Fable 5.2, Mythos 5.2, Opus 5.5, Sonnet 5.5, Fable 5.1 and Mythos 5.1, per Anthropic's tool-use documentation. On those models tool_choice values any and tool error; auto and none are supported.
Does strict tool use guarantee that a tool is called?
No. Strict mode guarantees that if a call happens its input matches your input_schema, and that the tool name is valid. Whether a call happens at all is still the model's decision under auto.
Why would forcing a tool call be removed rather than fixed?
Forcing a call skips the model's thinking block, and is unsupported outright with manual extended thinking enabled. As thinking became the default behaviour rather than an opt-in, a flag that means "act first, do not reason" conflicts with the model's own execution shape, and the guarantee people actually wanted — valid arguments — is now available directly.
Can I still force a tool call on older Claude models?
Yes. Models in the earlier generations still accept any and tool, and the documentation suggests pairing any with strict: true there to get both occurrence and validity. That is why this tends to surface as a model-upgrade failure rather than an API change.
Does switching tool_choice cost anything under prompt caching?
Yes. Changing tool_choice invalidates cached message blocks, so message content is reprocessed on the next request; tool definitions and system prompts remain cached. A test that varies the parameter per request pays that miss repeatedly.
What replaces forcing when I need a guaranteed JSON shape rather than an action?
Structured outputs via output_config.format, which uses the same grammar pipeline as strict tool use. Note it is incompatible with citations (the API returns a 400) and with message prefilling.
Further reading
On this wiki:
- Schemas, Contracts & Defaults — which keywords compile into the grammar, which are rejected, and which get silently demoted to prose.
- Constrained Decoding — the mechanism underneath both strict tool use and structured outputs.
- Structured Outputs vs Tool Calls — same trick underneath, different ergonomics above.
- Changing a Tool Schema — what a schema edit costs once a grammar is involved.
- Parallel Tool Calls — the other place the shape of a turn is decided before anything runs.
- Model Deprecation & Migration — why a model bump is a re-qualification, not a string replacement.
Primary sources:
- Define tools — the forced-tool-use restriction table, the thinking interaction, and the preamble note.
- Strict tool use — what strict mode guarantees, and what it does not.
- Structured outputs — the schema subset, the per-request complexity limits, and the compatibility list.