@@ -445,8 +445,9 @@ export interface Run {
445
445
/**
446
446
* Controls which (if any) tool is called by the model. `none` means the model will
447
447
* not call any tools and instead generates a message. `auto` is the default value
448
- * and means the model can pick between generating a message or calling a tool.
449
- * Specifying a particular tool like `{"type": "file_search"}` or
448
+ * and means the model can pick between generating a message or calling one or more
449
+ * tools. `required` means the model must call one or more tools before responding
450
+ * to the user. Specifying a particular tool like `{"type": "file_search"}` or
450
451
* `{"type": "function", "function": {"name": "my_function"}}` forces the model to
451
452
* call that tool.
452
453
*/
@@ -713,8 +714,9 @@ export interface RunCreateParamsBase {
713
714
/**
714
715
* Controls which (if any) tool is called by the model. `none` means the model will
715
716
* not call any tools and instead generates a message. `auto` is the default value
716
- * and means the model can pick between generating a message or calling a tool.
717
- * Specifying a particular tool like `{"type": "file_search"}` or
717
+ * and means the model can pick between generating a message or calling one or more
718
+ * tools. `required` means the model must call one or more tools before responding
719
+ * to the user. Specifying a particular tool like `{"type": "file_search"}` or
718
720
* `{"type": "function", "function": {"name": "my_function"}}` forces the model to
719
721
* call that tool.
720
722
*/
@@ -964,8 +966,9 @@ export interface RunCreateAndPollParams {
964
966
/**
965
967
* Controls which (if any) tool is called by the model. `none` means the model will
966
968
* not call any tools and instead generates a message. `auto` is the default value
967
- * and means the model can pick between generating a message or calling a tool.
968
- * Specifying a particular tool like `{"type": "file_search"}` or
969
+ * and means the model can pick between generating a message or calling one or more
970
+ * tools. `required` means the model must call one or more tools before responding
971
+ * to the user. Specifying a particular tool like `{"type": "file_search"}` or
969
972
* `{"type": "function", "function": {"name": "my_function"}}` forces the model to
970
973
* call that tool.
971
974
*/
@@ -1168,8 +1171,9 @@ export interface RunCreateAndStreamParams {
1168
1171
/**
1169
1172
* Controls which (if any) tool is called by the model. `none` means the model will
1170
1173
* not call any tools and instead generates a message. `auto` is the default value
1171
- * and means the model can pick between generating a message or calling a tool.
1172
- * Specifying a particular tool like `{"type": "file_search"}` or
1174
+ * and means the model can pick between generating a message or calling one or more
1175
+ * tools. `required` means the model must call one or more tools before responding
1176
+ * to the user. Specifying a particular tool like `{"type": "file_search"}` or
1173
1177
* `{"type": "function", "function": {"name": "my_function"}}` forces the model to
1174
1178
* call that tool.
1175
1179
*/
@@ -1372,8 +1376,9 @@ export interface RunStreamParams {
1372
1376
/**
1373
1377
* Controls which (if any) tool is called by the model. `none` means the model will
1374
1378
* not call any tools and instead generates a message. `auto` is the default value
1375
- * and means the model can pick between generating a message or calling a tool.
1376
- * Specifying a particular tool like `{"type": "file_search"}` or
1379
+ * and means the model can pick between generating a message or calling one or more
1380
+ * tools. `required` means the model must call one or more tools before responding
1381
+ * to the user. Specifying a particular tool like `{"type": "file_search"}` or
1377
1382
* `{"type": "function", "function": {"name": "my_function"}}` forces the model to
1378
1383
* call that tool.
1379
1384
*/
0 commit comments