You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Controls which (if any) tool is called by the model.
10004
10005
`none` means the model will not call any tools and instead generates a message.
10005
-
`auto` is the default value and means the model can pick between generating a message or calling a tool.
10006
-
`required` means the model must pick one of the available tools or functions before responding to the user.
10006
+
`auto` is the default value and means the model can pick between generating a message or calling one or more tools.
10007
+
`required` means the model must call one or more tools before responding to the user.
10007
10008
Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
10008
10009
10009
10010
oneOf:
10010
10011
- type: string
10011
10012
description: >
10012
-
`none` means the model will not call a function and instead generates a message.
10013
-
`auto` means the model can pick between generating a message or calling a function or tool.
10014
-
`required` means the model must pick one of the available tools or functions before responding to the user.
10013
+
`none` means the model will not call any tools and instead generates a message.
10014
+
`auto` means the model can pick between generating a message or calling one or more tools.
10015
+
`required` means the model must call one or more tools before responding to the user.
0 commit comments