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.
10003
10005
`none` means the model will not call any tools and instead generates a message.
10004
-
`auto` is the default value and means the model can pick between generating a message or calling a tool.
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.
10005
10008
Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
10006
10009
10007
10010
oneOf:
10008
10011
- type: string
10009
10012
description: >
10010
-
`none` means the model will not call a function and instead generates a message.
10011
-
`auto` means the model can pick between generating a message or calling a function.
10012
-
enum: [none, auto]
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