Chat Completions and Assistants add tool_choice "required"
tool_choice: "required" forces the model to call at least one of the supplied tools, without pinning which one, closing the gap between "auto" and naming a single function.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo decision needed — a small reliability improvement your team can adopt in place.
Engineer
What to change, what breaks, what to test Worth knowingSet `tool_choice: "required"` when the turn must produce a tool call but you don't want to pin which one. You can delete catch-all dummy functions and the retry-on-prose workaround. Batch API now also covers embeddings models.
General consumer
Using ChatGPT, not the API No impactNothing to do — this is an API-only parameter.
A new tool_choice value, required, became available in Chat Completions and the Assistants API. It guarantees the model calls one of the provided tools while leaving the choice of which tool to the model — previously the options were auto (the model might answer in prose instead) or naming one specific function.
This removes a common workaround where developers named a single catch-all function, or retried when the model returned text where a tool call was needed.
The same changelog entry added Batch API support for embeddings models and published a Batch API guide.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
tool_choice | changed | no |
Terms on this page: Batch processing