Required & Multiple Tools
Force the model to call specific tools and use multiple tools simultaneously.
Required Tools
Setting required: true forces the model to call the tool instead of freely choosing whether to call it. This is useful when you need to ensure the model always performs a specific operation (e.g., data validation, permission checks):
When only one tool is marked as required, tool_choice is set to that tool; when multiple tools are marked as required, tool_choice is set to "required".
Multiple Tools
You can pass multiple tools simultaneously, and the model will autonomously choose which tools to call based on context:

