Specifying a particular tool via {"type": "function", "function": {"name": "my_function"}} forces the model to call that tool. Only one of tool_choice_option or tool_choice must be present.
{"type": "function", "function": {"name": "my_function"}}
tool_choice_option
tool_choice
The named function.
The tool type.
Specifying a particular tool via
{"type": "function", "function": {"name": "my_function"}}
forces the model to call that tool. Only one oftool_choice_option
ortool_choice
must be present.