@orq-ai/node 4.1.0-rc.39 → 4.1.0-rc.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +662 -352
- package/bin/mcp-server.js.map +49 -49
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createagentrequest.d.ts +370 -42
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +277 -48
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createprompt.d.ts +10 -10
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +96 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +57 -7
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +96 -4
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +59 -7
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +96 -4
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +65 -11
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +96 -4
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +63 -11
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +370 -42
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +276 -48
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createagentrequest.ts +696 -86
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createprompt.ts +25 -23
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +122 -8
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +130 -8
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +126 -10
- package/src/models/operations/streamrunagent.ts +128 -10
- package/src/models/operations/updateagent.ts +698 -86
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -114,6 +114,42 @@ export type ModelConfigurationResponseFormat =
|
|
|
114
114
|
| UpdateAgentResponseFormatJSONObject
|
|
115
115
|
| UpdateAgentResponseFormatJSONSchema;
|
|
116
116
|
|
|
117
|
+
/**
|
|
118
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
119
|
+
*
|
|
120
|
+
* @remarks
|
|
121
|
+
*
|
|
122
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
123
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
124
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
125
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
126
|
+
*
|
|
127
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
128
|
+
*/
|
|
129
|
+
export const ModelConfigurationReasoningEffort = {
|
|
130
|
+
None: "none",
|
|
131
|
+
Minimal: "minimal",
|
|
132
|
+
Low: "low",
|
|
133
|
+
Medium: "medium",
|
|
134
|
+
High: "high",
|
|
135
|
+
Xhigh: "xhigh",
|
|
136
|
+
} as const;
|
|
137
|
+
/**
|
|
138
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
139
|
+
*
|
|
140
|
+
* @remarks
|
|
141
|
+
*
|
|
142
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
143
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
144
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
145
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
146
|
+
*
|
|
147
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
148
|
+
*/
|
|
149
|
+
export type ModelConfigurationReasoningEffort = ClosedEnum<
|
|
150
|
+
typeof ModelConfigurationReasoningEffort
|
|
151
|
+
>;
|
|
152
|
+
|
|
117
153
|
/**
|
|
118
154
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
119
155
|
*/
|
|
@@ -232,9 +268,18 @@ export type ModelConfigurationParameters = {
|
|
|
232
268
|
| UpdateAgentResponseFormatJSONSchema
|
|
233
269
|
| undefined;
|
|
234
270
|
/**
|
|
235
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
271
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
272
|
+
*
|
|
273
|
+
* @remarks
|
|
274
|
+
*
|
|
275
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
276
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
277
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
278
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
279
|
+
*
|
|
280
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
236
281
|
*/
|
|
237
|
-
reasoningEffort?:
|
|
282
|
+
reasoningEffort?: ModelConfigurationReasoningEffort | undefined;
|
|
238
283
|
/**
|
|
239
284
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
240
285
|
*/
|
|
@@ -426,6 +471,42 @@ export type UpdateAgentFallbackModelConfigurationResponseFormat =
|
|
|
426
471
|
| UpdateAgentResponseFormatAgentsJSONObject
|
|
427
472
|
| UpdateAgentResponseFormatAgentsRequestJSONSchema;
|
|
428
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
476
|
+
*
|
|
477
|
+
* @remarks
|
|
478
|
+
*
|
|
479
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
480
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
481
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
482
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
483
|
+
*
|
|
484
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
485
|
+
*/
|
|
486
|
+
export const UpdateAgentFallbackModelConfigurationReasoningEffort = {
|
|
487
|
+
None: "none",
|
|
488
|
+
Minimal: "minimal",
|
|
489
|
+
Low: "low",
|
|
490
|
+
Medium: "medium",
|
|
491
|
+
High: "high",
|
|
492
|
+
Xhigh: "xhigh",
|
|
493
|
+
} as const;
|
|
494
|
+
/**
|
|
495
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
496
|
+
*
|
|
497
|
+
* @remarks
|
|
498
|
+
*
|
|
499
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
500
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
501
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
502
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
503
|
+
*
|
|
504
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
505
|
+
*/
|
|
506
|
+
export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<
|
|
507
|
+
typeof UpdateAgentFallbackModelConfigurationReasoningEffort
|
|
508
|
+
>;
|
|
509
|
+
|
|
429
510
|
/**
|
|
430
511
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
431
512
|
*/
|
|
@@ -546,9 +627,20 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
546
627
|
| UpdateAgentResponseFormatAgentsRequestJSONSchema
|
|
547
628
|
| undefined;
|
|
548
629
|
/**
|
|
549
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
630
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
631
|
+
*
|
|
632
|
+
* @remarks
|
|
633
|
+
*
|
|
634
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
635
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
636
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
637
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
638
|
+
*
|
|
639
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
550
640
|
*/
|
|
551
|
-
reasoningEffort?:
|
|
641
|
+
reasoningEffort?:
|
|
642
|
+
| UpdateAgentFallbackModelConfigurationReasoningEffort
|
|
643
|
+
| undefined;
|
|
552
644
|
/**
|
|
553
645
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
554
646
|
*/
|
|
@@ -640,6 +732,21 @@ export type UpdateAgentToolApprovalRequired = ClosedEnum<
|
|
|
640
732
|
typeof UpdateAgentToolApprovalRequired
|
|
641
733
|
>;
|
|
642
734
|
|
|
735
|
+
/**
|
|
736
|
+
* MCP tool type
|
|
737
|
+
*/
|
|
738
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
739
|
+
{
|
|
740
|
+
Mcp: "mcp",
|
|
741
|
+
} as const;
|
|
742
|
+
/**
|
|
743
|
+
* MCP tool type
|
|
744
|
+
*/
|
|
745
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
746
|
+
ClosedEnum<
|
|
747
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
748
|
+
>;
|
|
749
|
+
|
|
643
750
|
/**
|
|
644
751
|
* Executes tools from Model Context Protocol (MCP) servers. Specify the parent MCP tool using "key" or "id", and the specific nested tool using "tool_id".
|
|
645
752
|
*/
|
|
@@ -647,7 +754,9 @@ export type AgentToolInputCRUDMCPTool = {
|
|
|
647
754
|
/**
|
|
648
755
|
* MCP tool type
|
|
649
756
|
*/
|
|
650
|
-
type
|
|
757
|
+
type?:
|
|
758
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
759
|
+
| undefined;
|
|
651
760
|
/**
|
|
652
761
|
* The key of the parent MCP tool
|
|
653
762
|
*/
|
|
@@ -666,6 +775,21 @@ export type AgentToolInputCRUDMCPTool = {
|
|
|
666
775
|
requiresApproval?: boolean | undefined;
|
|
667
776
|
};
|
|
668
777
|
|
|
778
|
+
/**
|
|
779
|
+
* Function tool type
|
|
780
|
+
*/
|
|
781
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
782
|
+
{
|
|
783
|
+
Function: "function",
|
|
784
|
+
} as const;
|
|
785
|
+
/**
|
|
786
|
+
* Function tool type
|
|
787
|
+
*/
|
|
788
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
789
|
+
ClosedEnum<
|
|
790
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
791
|
+
>;
|
|
792
|
+
|
|
669
793
|
/**
|
|
670
794
|
* Calls custom function tools defined in the agent configuration. Must reference a pre-created function tool by key or id.
|
|
671
795
|
*/
|
|
@@ -673,7 +797,9 @@ export type AgentToolInputCRUDFunctionTool = {
|
|
|
673
797
|
/**
|
|
674
798
|
* Function tool type
|
|
675
799
|
*/
|
|
676
|
-
type
|
|
800
|
+
type?:
|
|
801
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
802
|
+
| undefined;
|
|
677
803
|
/**
|
|
678
804
|
* The key of the pre-created function tool
|
|
679
805
|
*/
|
|
@@ -688,6 +814,21 @@ export type AgentToolInputCRUDFunctionTool = {
|
|
|
688
814
|
requiresApproval?: boolean | undefined;
|
|
689
815
|
};
|
|
690
816
|
|
|
817
|
+
/**
|
|
818
|
+
* Code execution tool type
|
|
819
|
+
*/
|
|
820
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
821
|
+
{
|
|
822
|
+
Code: "code",
|
|
823
|
+
} as const;
|
|
824
|
+
/**
|
|
825
|
+
* Code execution tool type
|
|
826
|
+
*/
|
|
827
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
828
|
+
ClosedEnum<
|
|
829
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
830
|
+
>;
|
|
831
|
+
|
|
691
832
|
/**
|
|
692
833
|
* Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
|
|
693
834
|
*/
|
|
@@ -695,7 +836,9 @@ export type AgentToolInputCRUDCodeExecutionTool = {
|
|
|
695
836
|
/**
|
|
696
837
|
* Code execution tool type
|
|
697
838
|
*/
|
|
698
|
-
type
|
|
839
|
+
type?:
|
|
840
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
841
|
+
| undefined;
|
|
699
842
|
/**
|
|
700
843
|
* The key of the pre-created code tool
|
|
701
844
|
*/
|
|
@@ -710,6 +853,21 @@ export type AgentToolInputCRUDCodeExecutionTool = {
|
|
|
710
853
|
requiresApproval?: boolean | undefined;
|
|
711
854
|
};
|
|
712
855
|
|
|
856
|
+
/**
|
|
857
|
+
* HTTP tool type
|
|
858
|
+
*/
|
|
859
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
860
|
+
{
|
|
861
|
+
Http: "http",
|
|
862
|
+
} as const;
|
|
863
|
+
/**
|
|
864
|
+
* HTTP tool type
|
|
865
|
+
*/
|
|
866
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
867
|
+
ClosedEnum<
|
|
868
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
869
|
+
>;
|
|
870
|
+
|
|
713
871
|
/**
|
|
714
872
|
* Executes HTTP requests to interact with external APIs and web services. Must reference a pre-created HTTP tool by key or id.
|
|
715
873
|
*/
|
|
@@ -717,7 +875,9 @@ export type AgentToolInputCRUDHTTPTool = {
|
|
|
717
875
|
/**
|
|
718
876
|
* HTTP tool type
|
|
719
877
|
*/
|
|
720
|
-
type
|
|
878
|
+
type?:
|
|
879
|
+
| UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
880
|
+
| undefined;
|
|
721
881
|
/**
|
|
722
882
|
* The key of the pre-created HTTP tool
|
|
723
883
|
*/
|
|
@@ -732,121 +892,213 @@ export type AgentToolInputCRUDHTTPTool = {
|
|
|
732
892
|
requiresApproval?: boolean | undefined;
|
|
733
893
|
};
|
|
734
894
|
|
|
895
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
|
|
896
|
+
{
|
|
897
|
+
CurrentDate: "current_date",
|
|
898
|
+
} as const;
|
|
899
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
|
|
900
|
+
ClosedEnum<
|
|
901
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
902
|
+
>;
|
|
903
|
+
|
|
735
904
|
/**
|
|
736
905
|
* Returns the current date and time
|
|
737
906
|
*/
|
|
738
907
|
export type AgentToolInputCRUDCurrentDateTool = {
|
|
739
|
-
type:
|
|
908
|
+
type:
|
|
909
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
|
|
740
910
|
/**
|
|
741
911
|
* Whether this tool requires approval before execution
|
|
742
912
|
*/
|
|
743
913
|
requiresApproval?: boolean | undefined;
|
|
744
914
|
};
|
|
745
915
|
|
|
916
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
|
|
917
|
+
{
|
|
918
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
919
|
+
} as const;
|
|
920
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
|
|
921
|
+
ClosedEnum<
|
|
922
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
923
|
+
>;
|
|
924
|
+
|
|
746
925
|
/**
|
|
747
926
|
* Queries knowledge bases for information
|
|
748
927
|
*/
|
|
749
928
|
export type AgentToolInputCRUDQueryKnowledgeBaseTool = {
|
|
750
|
-
type:
|
|
929
|
+
type:
|
|
930
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
|
|
751
931
|
/**
|
|
752
932
|
* Whether this tool requires approval before execution
|
|
753
933
|
*/
|
|
754
934
|
requiresApproval?: boolean | undefined;
|
|
755
935
|
};
|
|
756
936
|
|
|
937
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
|
|
938
|
+
{
|
|
939
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
940
|
+
} as const;
|
|
941
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
|
|
942
|
+
ClosedEnum<
|
|
943
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
944
|
+
>;
|
|
945
|
+
|
|
757
946
|
/**
|
|
758
947
|
* Lists available knowledge bases
|
|
759
948
|
*/
|
|
760
949
|
export type AgentToolInputCRUDRetrieveKnowledgeBasesTool = {
|
|
761
|
-
type:
|
|
950
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
|
|
762
951
|
/**
|
|
763
952
|
* Whether this tool requires approval before execution
|
|
764
953
|
*/
|
|
765
954
|
requiresApproval?: boolean | undefined;
|
|
766
955
|
};
|
|
767
956
|
|
|
957
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
|
|
958
|
+
{
|
|
959
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
960
|
+
} as const;
|
|
961
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
|
|
962
|
+
ClosedEnum<
|
|
963
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
964
|
+
>;
|
|
965
|
+
|
|
768
966
|
/**
|
|
769
967
|
* Deletes documents from memory stores
|
|
770
968
|
*/
|
|
771
969
|
export type AgentToolInputCRUDDeleteMemoryDocumentTool = {
|
|
772
|
-
type:
|
|
970
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
|
|
773
971
|
/**
|
|
774
972
|
* Whether this tool requires approval before execution
|
|
775
973
|
*/
|
|
776
974
|
requiresApproval?: boolean | undefined;
|
|
777
975
|
};
|
|
778
976
|
|
|
977
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type =
|
|
978
|
+
{
|
|
979
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
980
|
+
} as const;
|
|
981
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type =
|
|
982
|
+
ClosedEnum<
|
|
983
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type
|
|
984
|
+
>;
|
|
985
|
+
|
|
779
986
|
/**
|
|
780
987
|
* Lists available memory stores
|
|
781
988
|
*/
|
|
782
989
|
export type AgentToolInputCRUDRetrieveMemoryStoresTool = {
|
|
783
|
-
type:
|
|
990
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type;
|
|
784
991
|
/**
|
|
785
992
|
* Whether this tool requires approval before execution
|
|
786
993
|
*/
|
|
787
994
|
requiresApproval?: boolean | undefined;
|
|
788
995
|
};
|
|
789
996
|
|
|
997
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
|
|
998
|
+
{
|
|
999
|
+
WriteMemoryStore: "write_memory_store",
|
|
1000
|
+
} as const;
|
|
1001
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
|
|
1002
|
+
ClosedEnum<
|
|
1003
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
1004
|
+
>;
|
|
1005
|
+
|
|
790
1006
|
/**
|
|
791
1007
|
* Writes information to agent memory stores
|
|
792
1008
|
*/
|
|
793
1009
|
export type AgentToolInputCRUDWriteMemoryStoreTool = {
|
|
794
|
-
type:
|
|
1010
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
|
|
795
1011
|
/**
|
|
796
1012
|
* Whether this tool requires approval before execution
|
|
797
1013
|
*/
|
|
798
1014
|
requiresApproval?: boolean | undefined;
|
|
799
1015
|
};
|
|
800
1016
|
|
|
1017
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
|
|
1018
|
+
{
|
|
1019
|
+
QueryMemoryStore: "query_memory_store",
|
|
1020
|
+
} as const;
|
|
1021
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
|
|
1022
|
+
ClosedEnum<
|
|
1023
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
1024
|
+
>;
|
|
1025
|
+
|
|
801
1026
|
/**
|
|
802
1027
|
* Queries agent memory stores for context
|
|
803
1028
|
*/
|
|
804
1029
|
export type AgentToolInputCRUDQueryMemoryStoreTool = {
|
|
805
|
-
type:
|
|
1030
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
|
|
806
1031
|
/**
|
|
807
1032
|
* Whether this tool requires approval before execution
|
|
808
1033
|
*/
|
|
809
1034
|
requiresApproval?: boolean | undefined;
|
|
810
1035
|
};
|
|
811
1036
|
|
|
1037
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = {
|
|
1038
|
+
RetrieveAgents: "retrieve_agents",
|
|
1039
|
+
} as const;
|
|
1040
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType =
|
|
1041
|
+
ClosedEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType>;
|
|
1042
|
+
|
|
812
1043
|
/**
|
|
813
1044
|
* Retrieves available agents in the system
|
|
814
1045
|
*/
|
|
815
1046
|
export type AgentToolInputCRUDRetrieveAgentsTool = {
|
|
816
|
-
type:
|
|
1047
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType;
|
|
817
1048
|
/**
|
|
818
1049
|
* Whether this tool requires approval before execution
|
|
819
1050
|
*/
|
|
820
1051
|
requiresApproval?: boolean | undefined;
|
|
821
1052
|
};
|
|
822
1053
|
|
|
1054
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestType = {
|
|
1055
|
+
CallSubAgent: "call_sub_agent",
|
|
1056
|
+
} as const;
|
|
1057
|
+
export type UpdateAgentAgentToolInputCRUDAgentsRequestType = ClosedEnum<
|
|
1058
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestType
|
|
1059
|
+
>;
|
|
1060
|
+
|
|
823
1061
|
/**
|
|
824
1062
|
* Delegates tasks to specialized sub-agents
|
|
825
1063
|
*/
|
|
826
1064
|
export type AgentToolInputCRUDCallSubAgentTool = {
|
|
827
|
-
type:
|
|
1065
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestType;
|
|
828
1066
|
/**
|
|
829
1067
|
* Whether this tool requires approval before execution
|
|
830
1068
|
*/
|
|
831
1069
|
requiresApproval?: boolean | undefined;
|
|
832
1070
|
};
|
|
833
1071
|
|
|
1072
|
+
export const UpdateAgentAgentToolInputCRUDAgentsType = {
|
|
1073
|
+
WebScraper: "web_scraper",
|
|
1074
|
+
} as const;
|
|
1075
|
+
export type UpdateAgentAgentToolInputCRUDAgentsType = ClosedEnum<
|
|
1076
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsType
|
|
1077
|
+
>;
|
|
1078
|
+
|
|
834
1079
|
/**
|
|
835
1080
|
* Scrapes and extracts content from web pages
|
|
836
1081
|
*/
|
|
837
1082
|
export type AgentToolInputCRUDWebScraperTool = {
|
|
838
|
-
type:
|
|
1083
|
+
type: UpdateAgentAgentToolInputCRUDAgentsType;
|
|
839
1084
|
/**
|
|
840
1085
|
* Whether this tool requires approval before execution
|
|
841
1086
|
*/
|
|
842
1087
|
requiresApproval?: boolean | undefined;
|
|
843
1088
|
};
|
|
844
1089
|
|
|
1090
|
+
export const UpdateAgentAgentToolInputCRUDType = {
|
|
1091
|
+
GoogleSearch: "google_search",
|
|
1092
|
+
} as const;
|
|
1093
|
+
export type UpdateAgentAgentToolInputCRUDType = ClosedEnum<
|
|
1094
|
+
typeof UpdateAgentAgentToolInputCRUDType
|
|
1095
|
+
>;
|
|
1096
|
+
|
|
845
1097
|
/**
|
|
846
1098
|
* Performs Google searches to retrieve web content
|
|
847
1099
|
*/
|
|
848
1100
|
export type AgentToolInputCRUDGoogleSearchTool = {
|
|
849
|
-
type:
|
|
1101
|
+
type: UpdateAgentAgentToolInputCRUDType;
|
|
850
1102
|
/**
|
|
851
1103
|
* Whether this tool requires approval before execution
|
|
852
1104
|
*/
|
|
@@ -868,10 +1120,10 @@ export type UpdateAgentAgentToolInputCRUD =
|
|
|
868
1120
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool
|
|
869
1121
|
| AgentToolInputCRUDQueryKnowledgeBaseTool
|
|
870
1122
|
| AgentToolInputCRUDCurrentDateTool
|
|
1123
|
+
| AgentToolInputCRUDMCPTool
|
|
871
1124
|
| AgentToolInputCRUDHTTPTool
|
|
872
1125
|
| AgentToolInputCRUDCodeExecutionTool
|
|
873
|
-
| AgentToolInputCRUDFunctionTool
|
|
874
|
-
| AgentToolInputCRUDMCPTool;
|
|
1126
|
+
| AgentToolInputCRUDFunctionTool;
|
|
875
1127
|
|
|
876
1128
|
/**
|
|
877
1129
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
@@ -958,10 +1210,10 @@ export type UpdateAgentSettings = {
|
|
|
958
1210
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool
|
|
959
1211
|
| AgentToolInputCRUDQueryKnowledgeBaseTool
|
|
960
1212
|
| AgentToolInputCRUDCurrentDateTool
|
|
1213
|
+
| AgentToolInputCRUDMCPTool
|
|
961
1214
|
| AgentToolInputCRUDHTTPTool
|
|
962
1215
|
| AgentToolInputCRUDCodeExecutionTool
|
|
963
1216
|
| AgentToolInputCRUDFunctionTool
|
|
964
|
-
| AgentToolInputCRUDMCPTool
|
|
965
1217
|
>
|
|
966
1218
|
| undefined;
|
|
967
1219
|
/**
|
|
@@ -1306,6 +1558,42 @@ export type UpdateAgentResponseFormat =
|
|
|
1306
1558
|
| UpdateAgentResponseFormatAgentsResponseJSONObject
|
|
1307
1559
|
| UpdateAgentResponseFormatAgentsResponse200JSONSchema;
|
|
1308
1560
|
|
|
1561
|
+
/**
|
|
1562
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1563
|
+
*
|
|
1564
|
+
* @remarks
|
|
1565
|
+
*
|
|
1566
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
1567
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1568
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1569
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1570
|
+
*
|
|
1571
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1572
|
+
*/
|
|
1573
|
+
export const UpdateAgentReasoningEffort = {
|
|
1574
|
+
None: "none",
|
|
1575
|
+
Minimal: "minimal",
|
|
1576
|
+
Low: "low",
|
|
1577
|
+
Medium: "medium",
|
|
1578
|
+
High: "high",
|
|
1579
|
+
Xhigh: "xhigh",
|
|
1580
|
+
} as const;
|
|
1581
|
+
/**
|
|
1582
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1583
|
+
*
|
|
1584
|
+
* @remarks
|
|
1585
|
+
*
|
|
1586
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
1587
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1588
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1589
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1590
|
+
*
|
|
1591
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1592
|
+
*/
|
|
1593
|
+
export type UpdateAgentReasoningEffort = ClosedEnum<
|
|
1594
|
+
typeof UpdateAgentReasoningEffort
|
|
1595
|
+
>;
|
|
1596
|
+
|
|
1309
1597
|
/**
|
|
1310
1598
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1311
1599
|
*/
|
|
@@ -1424,9 +1712,18 @@ export type UpdateAgentParameters = {
|
|
|
1424
1712
|
| UpdateAgentResponseFormatAgentsResponse200JSONSchema
|
|
1425
1713
|
| undefined;
|
|
1426
1714
|
/**
|
|
1427
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1715
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1716
|
+
*
|
|
1717
|
+
* @remarks
|
|
1718
|
+
*
|
|
1719
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
1720
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1721
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1722
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1723
|
+
*
|
|
1724
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1428
1725
|
*/
|
|
1429
|
-
reasoningEffort?:
|
|
1726
|
+
reasoningEffort?: UpdateAgentReasoningEffort | undefined;
|
|
1430
1727
|
/**
|
|
1431
1728
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
1432
1729
|
*/
|
|
@@ -1597,6 +1894,41 @@ export type UpdateAgentFallbackModelConfigurationAgentsResponseFormat =
|
|
|
1597
1894
|
| UpdateAgentResponseFormatAgentsResponse200JSONObject
|
|
1598
1895
|
| UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema;
|
|
1599
1896
|
|
|
1897
|
+
/**
|
|
1898
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1899
|
+
*
|
|
1900
|
+
* @remarks
|
|
1901
|
+
*
|
|
1902
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
1903
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1904
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1905
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1906
|
+
*
|
|
1907
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1908
|
+
*/
|
|
1909
|
+
export const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = {
|
|
1910
|
+
None: "none",
|
|
1911
|
+
Minimal: "minimal",
|
|
1912
|
+
Low: "low",
|
|
1913
|
+
Medium: "medium",
|
|
1914
|
+
High: "high",
|
|
1915
|
+
Xhigh: "xhigh",
|
|
1916
|
+
} as const;
|
|
1917
|
+
/**
|
|
1918
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1919
|
+
*
|
|
1920
|
+
* @remarks
|
|
1921
|
+
*
|
|
1922
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
1923
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1924
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1925
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1926
|
+
*
|
|
1927
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1928
|
+
*/
|
|
1929
|
+
export type UpdateAgentFallbackModelConfigurationAgentsReasoningEffort =
|
|
1930
|
+
ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort>;
|
|
1931
|
+
|
|
1600
1932
|
/**
|
|
1601
1933
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1602
1934
|
*/
|
|
@@ -1719,9 +2051,20 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
1719
2051
|
| UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema
|
|
1720
2052
|
| undefined;
|
|
1721
2053
|
/**
|
|
1722
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
2054
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
2055
|
+
*
|
|
2056
|
+
* @remarks
|
|
2057
|
+
*
|
|
2058
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
2059
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
2060
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2061
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
2062
|
+
*
|
|
2063
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1723
2064
|
*/
|
|
1724
|
-
reasoningEffort?:
|
|
2065
|
+
reasoningEffort?:
|
|
2066
|
+
| UpdateAgentFallbackModelConfigurationAgentsReasoningEffort
|
|
2067
|
+
| undefined;
|
|
1725
2068
|
/**
|
|
1726
2069
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
1727
2070
|
*/
|
|
@@ -2211,6 +2554,15 @@ export function modelConfigurationResponseFormatFromJSON(
|
|
|
2211
2554
|
);
|
|
2212
2555
|
}
|
|
2213
2556
|
|
|
2557
|
+
/** @internal */
|
|
2558
|
+
export const ModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
2559
|
+
typeof ModelConfigurationReasoningEffort
|
|
2560
|
+
> = z.nativeEnum(ModelConfigurationReasoningEffort);
|
|
2561
|
+
/** @internal */
|
|
2562
|
+
export const ModelConfigurationReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
2563
|
+
typeof ModelConfigurationReasoningEffort
|
|
2564
|
+
> = ModelConfigurationReasoningEffort$inboundSchema;
|
|
2565
|
+
|
|
2214
2566
|
/** @internal */
|
|
2215
2567
|
export const ModelConfigurationStop$inboundSchema: z.ZodType<
|
|
2216
2568
|
ModelConfigurationStop,
|
|
@@ -2508,7 +2860,7 @@ export const ModelConfigurationParameters$inboundSchema: z.ZodType<
|
|
|
2508
2860
|
z.lazy(() => UpdateAgentResponseFormatJSONObject$inboundSchema),
|
|
2509
2861
|
z.lazy(() => UpdateAgentResponseFormatJSONSchema$inboundSchema),
|
|
2510
2862
|
]).optional(),
|
|
2511
|
-
reasoning_effort:
|
|
2863
|
+
reasoning_effort: ModelConfigurationReasoningEffort$inboundSchema.optional(),
|
|
2512
2864
|
verbosity: z.string().optional(),
|
|
2513
2865
|
seed: z.nullable(z.number()).optional(),
|
|
2514
2866
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2598,7 +2950,7 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
2598
2950
|
z.lazy(() => UpdateAgentResponseFormatJSONObject$outboundSchema),
|
|
2599
2951
|
z.lazy(() => UpdateAgentResponseFormatJSONSchema$outboundSchema),
|
|
2600
2952
|
]).optional(),
|
|
2601
|
-
reasoningEffort:
|
|
2953
|
+
reasoningEffort: ModelConfigurationReasoningEffort$outboundSchema.optional(),
|
|
2602
2954
|
verbosity: z.string().optional(),
|
|
2603
2955
|
seed: z.nullable(z.number()).optional(),
|
|
2604
2956
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -3139,6 +3491,15 @@ export function updateAgentFallbackModelConfigurationResponseFormatFromJSON(
|
|
|
3139
3491
|
);
|
|
3140
3492
|
}
|
|
3141
3493
|
|
|
3494
|
+
/** @internal */
|
|
3495
|
+
export const UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema:
|
|
3496
|
+
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationReasoningEffort> =
|
|
3497
|
+
z.nativeEnum(UpdateAgentFallbackModelConfigurationReasoningEffort);
|
|
3498
|
+
/** @internal */
|
|
3499
|
+
export const UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema:
|
|
3500
|
+
z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationReasoningEffort> =
|
|
3501
|
+
UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema;
|
|
3502
|
+
|
|
3142
3503
|
/** @internal */
|
|
3143
3504
|
export const UpdateAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<
|
|
3144
3505
|
UpdateAgentFallbackModelConfigurationStop,
|
|
@@ -3483,7 +3844,9 @@ export const UpdateAgentFallbackModelConfigurationParameters$inboundSchema:
|
|
|
3483
3844
|
UpdateAgentResponseFormatAgentsRequestJSONSchema$inboundSchema
|
|
3484
3845
|
),
|
|
3485
3846
|
]).optional(),
|
|
3486
|
-
reasoning_effort:
|
|
3847
|
+
reasoning_effort:
|
|
3848
|
+
UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema
|
|
3849
|
+
.optional(),
|
|
3487
3850
|
verbosity: z.string().optional(),
|
|
3488
3851
|
seed: z.nullable(z.number()).optional(),
|
|
3489
3852
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -3585,7 +3948,9 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3585
3948
|
UpdateAgentResponseFormatAgentsRequestJSONSchema$outboundSchema
|
|
3586
3949
|
),
|
|
3587
3950
|
]).optional(),
|
|
3588
|
-
reasoningEffort:
|
|
3951
|
+
reasoningEffort:
|
|
3952
|
+
UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema
|
|
3953
|
+
.optional(),
|
|
3589
3954
|
verbosity: z.string().optional(),
|
|
3590
3955
|
seed: z.nullable(z.number()).optional(),
|
|
3591
3956
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -3757,13 +4122,29 @@ export const UpdateAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
|
|
|
3757
4122
|
typeof UpdateAgentToolApprovalRequired
|
|
3758
4123
|
> = UpdateAgentToolApprovalRequired$inboundSchema;
|
|
3759
4124
|
|
|
4125
|
+
/** @internal */
|
|
4126
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema:
|
|
4127
|
+
z.ZodNativeEnum<
|
|
4128
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
4129
|
+
> = z.nativeEnum(
|
|
4130
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type,
|
|
4131
|
+
);
|
|
4132
|
+
/** @internal */
|
|
4133
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema:
|
|
4134
|
+
z.ZodNativeEnum<
|
|
4135
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
4136
|
+
> =
|
|
4137
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema;
|
|
4138
|
+
|
|
3760
4139
|
/** @internal */
|
|
3761
4140
|
export const AgentToolInputCRUDMCPTool$inboundSchema: z.ZodType<
|
|
3762
4141
|
AgentToolInputCRUDMCPTool,
|
|
3763
4142
|
z.ZodTypeDef,
|
|
3764
4143
|
unknown
|
|
3765
4144
|
> = z.object({
|
|
3766
|
-
type:
|
|
4145
|
+
type:
|
|
4146
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema
|
|
4147
|
+
.default("mcp"),
|
|
3767
4148
|
key: z.string().optional(),
|
|
3768
4149
|
id: z.string().optional(),
|
|
3769
4150
|
tool_id: z.string(),
|
|
@@ -3776,7 +4157,7 @@ export const AgentToolInputCRUDMCPTool$inboundSchema: z.ZodType<
|
|
|
3776
4157
|
});
|
|
3777
4158
|
/** @internal */
|
|
3778
4159
|
export type AgentToolInputCRUDMCPTool$Outbound = {
|
|
3779
|
-
type:
|
|
4160
|
+
type: string;
|
|
3780
4161
|
key?: string | undefined;
|
|
3781
4162
|
id?: string | undefined;
|
|
3782
4163
|
tool_id: string;
|
|
@@ -3789,7 +4170,9 @@ export const AgentToolInputCRUDMCPTool$outboundSchema: z.ZodType<
|
|
|
3789
4170
|
z.ZodTypeDef,
|
|
3790
4171
|
AgentToolInputCRUDMCPTool
|
|
3791
4172
|
> = z.object({
|
|
3792
|
-
type:
|
|
4173
|
+
type:
|
|
4174
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
|
|
4175
|
+
.default("mcp"),
|
|
3793
4176
|
key: z.string().optional(),
|
|
3794
4177
|
id: z.string().optional(),
|
|
3795
4178
|
toolId: z.string(),
|
|
@@ -3818,13 +4201,29 @@ export function agentToolInputCRUDMCPToolFromJSON(
|
|
|
3818
4201
|
);
|
|
3819
4202
|
}
|
|
3820
4203
|
|
|
4204
|
+
/** @internal */
|
|
4205
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema:
|
|
4206
|
+
z.ZodNativeEnum<
|
|
4207
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
4208
|
+
> = z.nativeEnum(
|
|
4209
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type,
|
|
4210
|
+
);
|
|
4211
|
+
/** @internal */
|
|
4212
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema:
|
|
4213
|
+
z.ZodNativeEnum<
|
|
4214
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
4215
|
+
> =
|
|
4216
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
4217
|
+
|
|
3821
4218
|
/** @internal */
|
|
3822
4219
|
export const AgentToolInputCRUDFunctionTool$inboundSchema: z.ZodType<
|
|
3823
4220
|
AgentToolInputCRUDFunctionTool,
|
|
3824
4221
|
z.ZodTypeDef,
|
|
3825
4222
|
unknown
|
|
3826
4223
|
> = z.object({
|
|
3827
|
-
type:
|
|
4224
|
+
type:
|
|
4225
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema
|
|
4226
|
+
.default("function"),
|
|
3828
4227
|
key: z.string().optional(),
|
|
3829
4228
|
id: z.string().optional(),
|
|
3830
4229
|
requires_approval: z.boolean().default(false),
|
|
@@ -3835,7 +4234,7 @@ export const AgentToolInputCRUDFunctionTool$inboundSchema: z.ZodType<
|
|
|
3835
4234
|
});
|
|
3836
4235
|
/** @internal */
|
|
3837
4236
|
export type AgentToolInputCRUDFunctionTool$Outbound = {
|
|
3838
|
-
type:
|
|
4237
|
+
type: string;
|
|
3839
4238
|
key?: string | undefined;
|
|
3840
4239
|
id?: string | undefined;
|
|
3841
4240
|
requires_approval: boolean;
|
|
@@ -3847,7 +4246,9 @@ export const AgentToolInputCRUDFunctionTool$outboundSchema: z.ZodType<
|
|
|
3847
4246
|
z.ZodTypeDef,
|
|
3848
4247
|
AgentToolInputCRUDFunctionTool
|
|
3849
4248
|
> = z.object({
|
|
3850
|
-
type:
|
|
4249
|
+
type:
|
|
4250
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
|
|
4251
|
+
.default("function"),
|
|
3851
4252
|
key: z.string().optional(),
|
|
3852
4253
|
id: z.string().optional(),
|
|
3853
4254
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3876,13 +4277,29 @@ export function agentToolInputCRUDFunctionToolFromJSON(
|
|
|
3876
4277
|
);
|
|
3877
4278
|
}
|
|
3878
4279
|
|
|
4280
|
+
/** @internal */
|
|
4281
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema:
|
|
4282
|
+
z.ZodNativeEnum<
|
|
4283
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
4284
|
+
> = z.nativeEnum(
|
|
4285
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type,
|
|
4286
|
+
);
|
|
4287
|
+
/** @internal */
|
|
4288
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema:
|
|
4289
|
+
z.ZodNativeEnum<
|
|
4290
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
4291
|
+
> =
|
|
4292
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
4293
|
+
|
|
3879
4294
|
/** @internal */
|
|
3880
4295
|
export const AgentToolInputCRUDCodeExecutionTool$inboundSchema: z.ZodType<
|
|
3881
4296
|
AgentToolInputCRUDCodeExecutionTool,
|
|
3882
4297
|
z.ZodTypeDef,
|
|
3883
4298
|
unknown
|
|
3884
4299
|
> = z.object({
|
|
3885
|
-
type:
|
|
4300
|
+
type:
|
|
4301
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema
|
|
4302
|
+
.default("code"),
|
|
3886
4303
|
key: z.string().optional(),
|
|
3887
4304
|
id: z.string().optional(),
|
|
3888
4305
|
requires_approval: z.boolean().default(false),
|
|
@@ -3893,7 +4310,7 @@ export const AgentToolInputCRUDCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
3893
4310
|
});
|
|
3894
4311
|
/** @internal */
|
|
3895
4312
|
export type AgentToolInputCRUDCodeExecutionTool$Outbound = {
|
|
3896
|
-
type:
|
|
4313
|
+
type: string;
|
|
3897
4314
|
key?: string | undefined;
|
|
3898
4315
|
id?: string | undefined;
|
|
3899
4316
|
requires_approval: boolean;
|
|
@@ -3905,7 +4322,9 @@ export const AgentToolInputCRUDCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
3905
4322
|
z.ZodTypeDef,
|
|
3906
4323
|
AgentToolInputCRUDCodeExecutionTool
|
|
3907
4324
|
> = z.object({
|
|
3908
|
-
type:
|
|
4325
|
+
type:
|
|
4326
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
|
|
4327
|
+
.default("code"),
|
|
3909
4328
|
key: z.string().optional(),
|
|
3910
4329
|
id: z.string().optional(),
|
|
3911
4330
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3935,13 +4354,29 @@ export function agentToolInputCRUDCodeExecutionToolFromJSON(
|
|
|
3935
4354
|
);
|
|
3936
4355
|
}
|
|
3937
4356
|
|
|
4357
|
+
/** @internal */
|
|
4358
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema:
|
|
4359
|
+
z.ZodNativeEnum<
|
|
4360
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
4361
|
+
> = z.nativeEnum(
|
|
4362
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type,
|
|
4363
|
+
);
|
|
4364
|
+
/** @internal */
|
|
4365
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema:
|
|
4366
|
+
z.ZodNativeEnum<
|
|
4367
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
4368
|
+
> =
|
|
4369
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
4370
|
+
|
|
3938
4371
|
/** @internal */
|
|
3939
4372
|
export const AgentToolInputCRUDHTTPTool$inboundSchema: z.ZodType<
|
|
3940
4373
|
AgentToolInputCRUDHTTPTool,
|
|
3941
4374
|
z.ZodTypeDef,
|
|
3942
4375
|
unknown
|
|
3943
4376
|
> = z.object({
|
|
3944
|
-
type:
|
|
4377
|
+
type:
|
|
4378
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema
|
|
4379
|
+
.default("http"),
|
|
3945
4380
|
key: z.string().optional(),
|
|
3946
4381
|
id: z.string().optional(),
|
|
3947
4382
|
requires_approval: z.boolean().default(false),
|
|
@@ -3952,7 +4387,7 @@ export const AgentToolInputCRUDHTTPTool$inboundSchema: z.ZodType<
|
|
|
3952
4387
|
});
|
|
3953
4388
|
/** @internal */
|
|
3954
4389
|
export type AgentToolInputCRUDHTTPTool$Outbound = {
|
|
3955
|
-
type:
|
|
4390
|
+
type: string;
|
|
3956
4391
|
key?: string | undefined;
|
|
3957
4392
|
id?: string | undefined;
|
|
3958
4393
|
requires_approval: boolean;
|
|
@@ -3964,7 +4399,9 @@ export const AgentToolInputCRUDHTTPTool$outboundSchema: z.ZodType<
|
|
|
3964
4399
|
z.ZodTypeDef,
|
|
3965
4400
|
AgentToolInputCRUDHTTPTool
|
|
3966
4401
|
> = z.object({
|
|
3967
|
-
type:
|
|
4402
|
+
type:
|
|
4403
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema
|
|
4404
|
+
.default("http"),
|
|
3968
4405
|
key: z.string().optional(),
|
|
3969
4406
|
id: z.string().optional(),
|
|
3970
4407
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3991,13 +4428,28 @@ export function agentToolInputCRUDHTTPToolFromJSON(
|
|
|
3991
4428
|
);
|
|
3992
4429
|
}
|
|
3993
4430
|
|
|
4431
|
+
/** @internal */
|
|
4432
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema:
|
|
4433
|
+
z.ZodNativeEnum<
|
|
4434
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
4435
|
+
> = z.nativeEnum(
|
|
4436
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type,
|
|
4437
|
+
);
|
|
4438
|
+
/** @internal */
|
|
4439
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema:
|
|
4440
|
+
z.ZodNativeEnum<
|
|
4441
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
4442
|
+
> =
|
|
4443
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
4444
|
+
|
|
3994
4445
|
/** @internal */
|
|
3995
4446
|
export const AgentToolInputCRUDCurrentDateTool$inboundSchema: z.ZodType<
|
|
3996
4447
|
AgentToolInputCRUDCurrentDateTool,
|
|
3997
4448
|
z.ZodTypeDef,
|
|
3998
4449
|
unknown
|
|
3999
4450
|
> = z.object({
|
|
4000
|
-
type:
|
|
4451
|
+
type:
|
|
4452
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema,
|
|
4001
4453
|
requires_approval: z.boolean().optional(),
|
|
4002
4454
|
}).transform((v) => {
|
|
4003
4455
|
return remap$(v, {
|
|
@@ -4006,7 +4458,7 @@ export const AgentToolInputCRUDCurrentDateTool$inboundSchema: z.ZodType<
|
|
|
4006
4458
|
});
|
|
4007
4459
|
/** @internal */
|
|
4008
4460
|
export type AgentToolInputCRUDCurrentDateTool$Outbound = {
|
|
4009
|
-
type:
|
|
4461
|
+
type: string;
|
|
4010
4462
|
requires_approval?: boolean | undefined;
|
|
4011
4463
|
};
|
|
4012
4464
|
|
|
@@ -4016,7 +4468,8 @@ export const AgentToolInputCRUDCurrentDateTool$outboundSchema: z.ZodType<
|
|
|
4016
4468
|
z.ZodTypeDef,
|
|
4017
4469
|
AgentToolInputCRUDCurrentDateTool
|
|
4018
4470
|
> = z.object({
|
|
4019
|
-
type:
|
|
4471
|
+
type:
|
|
4472
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
4020
4473
|
requiresApproval: z.boolean().optional(),
|
|
4021
4474
|
}).transform((v) => {
|
|
4022
4475
|
return remap$(v, {
|
|
@@ -4043,13 +4496,28 @@ export function agentToolInputCRUDCurrentDateToolFromJSON(
|
|
|
4043
4496
|
);
|
|
4044
4497
|
}
|
|
4045
4498
|
|
|
4499
|
+
/** @internal */
|
|
4500
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema:
|
|
4501
|
+
z.ZodNativeEnum<
|
|
4502
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
4503
|
+
> = z.nativeEnum(
|
|
4504
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type,
|
|
4505
|
+
);
|
|
4506
|
+
/** @internal */
|
|
4507
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema:
|
|
4508
|
+
z.ZodNativeEnum<
|
|
4509
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
4510
|
+
> =
|
|
4511
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
4512
|
+
|
|
4046
4513
|
/** @internal */
|
|
4047
4514
|
export const AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema: z.ZodType<
|
|
4048
4515
|
AgentToolInputCRUDQueryKnowledgeBaseTool,
|
|
4049
4516
|
z.ZodTypeDef,
|
|
4050
4517
|
unknown
|
|
4051
4518
|
> = z.object({
|
|
4052
|
-
type:
|
|
4519
|
+
type:
|
|
4520
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema,
|
|
4053
4521
|
requires_approval: z.boolean().optional(),
|
|
4054
4522
|
}).transform((v) => {
|
|
4055
4523
|
return remap$(v, {
|
|
@@ -4058,7 +4526,7 @@ export const AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema: z.ZodType<
|
|
|
4058
4526
|
});
|
|
4059
4527
|
/** @internal */
|
|
4060
4528
|
export type AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound = {
|
|
4061
|
-
type:
|
|
4529
|
+
type: string;
|
|
4062
4530
|
requires_approval?: boolean | undefined;
|
|
4063
4531
|
};
|
|
4064
4532
|
|
|
@@ -4068,7 +4536,8 @@ export const AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema: z.ZodType<
|
|
|
4068
4536
|
z.ZodTypeDef,
|
|
4069
4537
|
AgentToolInputCRUDQueryKnowledgeBaseTool
|
|
4070
4538
|
> = z.object({
|
|
4071
|
-
type:
|
|
4539
|
+
type:
|
|
4540
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
4072
4541
|
requiresApproval: z.boolean().optional(),
|
|
4073
4542
|
}).transform((v) => {
|
|
4074
4543
|
return remap$(v, {
|
|
@@ -4102,6 +4571,20 @@ export function agentToolInputCRUDQueryKnowledgeBaseToolFromJSON(
|
|
|
4102
4571
|
);
|
|
4103
4572
|
}
|
|
4104
4573
|
|
|
4574
|
+
/** @internal */
|
|
4575
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema:
|
|
4576
|
+
z.ZodNativeEnum<
|
|
4577
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
4578
|
+
> = z.nativeEnum(
|
|
4579
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type,
|
|
4580
|
+
);
|
|
4581
|
+
/** @internal */
|
|
4582
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema:
|
|
4583
|
+
z.ZodNativeEnum<
|
|
4584
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
4585
|
+
> =
|
|
4586
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
4587
|
+
|
|
4105
4588
|
/** @internal */
|
|
4106
4589
|
export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema:
|
|
4107
4590
|
z.ZodType<
|
|
@@ -4109,7 +4592,8 @@ export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema:
|
|
|
4109
4592
|
z.ZodTypeDef,
|
|
4110
4593
|
unknown
|
|
4111
4594
|
> = z.object({
|
|
4112
|
-
type:
|
|
4595
|
+
type:
|
|
4596
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema,
|
|
4113
4597
|
requires_approval: z.boolean().optional(),
|
|
4114
4598
|
}).transform((v) => {
|
|
4115
4599
|
return remap$(v, {
|
|
@@ -4118,7 +4602,7 @@ export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema:
|
|
|
4118
4602
|
});
|
|
4119
4603
|
/** @internal */
|
|
4120
4604
|
export type AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound = {
|
|
4121
|
-
type:
|
|
4605
|
+
type: string;
|
|
4122
4606
|
requires_approval?: boolean | undefined;
|
|
4123
4607
|
};
|
|
4124
4608
|
|
|
@@ -4129,7 +4613,8 @@ export const AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema:
|
|
|
4129
4613
|
z.ZodTypeDef,
|
|
4130
4614
|
AgentToolInputCRUDRetrieveKnowledgeBasesTool
|
|
4131
4615
|
> = z.object({
|
|
4132
|
-
type:
|
|
4616
|
+
type:
|
|
4617
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
4133
4618
|
requiresApproval: z.boolean().optional(),
|
|
4134
4619
|
}).transform((v) => {
|
|
4135
4620
|
return remap$(v, {
|
|
@@ -4163,11 +4648,26 @@ export function agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON(
|
|
|
4163
4648
|
);
|
|
4164
4649
|
}
|
|
4165
4650
|
|
|
4651
|
+
/** @internal */
|
|
4652
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema:
|
|
4653
|
+
z.ZodNativeEnum<
|
|
4654
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
4655
|
+
> = z.nativeEnum(
|
|
4656
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type,
|
|
4657
|
+
);
|
|
4658
|
+
/** @internal */
|
|
4659
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema:
|
|
4660
|
+
z.ZodNativeEnum<
|
|
4661
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
4662
|
+
> =
|
|
4663
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
4664
|
+
|
|
4166
4665
|
/** @internal */
|
|
4167
4666
|
export const AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema:
|
|
4168
4667
|
z.ZodType<AgentToolInputCRUDDeleteMemoryDocumentTool, z.ZodTypeDef, unknown> =
|
|
4169
4668
|
z.object({
|
|
4170
|
-
type:
|
|
4669
|
+
type:
|
|
4670
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema,
|
|
4171
4671
|
requires_approval: z.boolean().optional(),
|
|
4172
4672
|
}).transform((v) => {
|
|
4173
4673
|
return remap$(v, {
|
|
@@ -4176,7 +4676,7 @@ export const AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema:
|
|
|
4176
4676
|
});
|
|
4177
4677
|
/** @internal */
|
|
4178
4678
|
export type AgentToolInputCRUDDeleteMemoryDocumentTool$Outbound = {
|
|
4179
|
-
type:
|
|
4679
|
+
type: string;
|
|
4180
4680
|
requires_approval?: boolean | undefined;
|
|
4181
4681
|
};
|
|
4182
4682
|
|
|
@@ -4187,7 +4687,8 @@ export const AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema:
|
|
|
4187
4687
|
z.ZodTypeDef,
|
|
4188
4688
|
AgentToolInputCRUDDeleteMemoryDocumentTool
|
|
4189
4689
|
> = z.object({
|
|
4190
|
-
type:
|
|
4690
|
+
type:
|
|
4691
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
4191
4692
|
requiresApproval: z.boolean().optional(),
|
|
4192
4693
|
}).transform((v) => {
|
|
4193
4694
|
return remap$(v, {
|
|
@@ -4221,11 +4722,26 @@ export function agentToolInputCRUDDeleteMemoryDocumentToolFromJSON(
|
|
|
4221
4722
|
);
|
|
4222
4723
|
}
|
|
4223
4724
|
|
|
4725
|
+
/** @internal */
|
|
4726
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema:
|
|
4727
|
+
z.ZodNativeEnum<
|
|
4728
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type
|
|
4729
|
+
> = z.nativeEnum(
|
|
4730
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type,
|
|
4731
|
+
);
|
|
4732
|
+
/** @internal */
|
|
4733
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema:
|
|
4734
|
+
z.ZodNativeEnum<
|
|
4735
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type
|
|
4736
|
+
> =
|
|
4737
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
4738
|
+
|
|
4224
4739
|
/** @internal */
|
|
4225
4740
|
export const AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema:
|
|
4226
4741
|
z.ZodType<AgentToolInputCRUDRetrieveMemoryStoresTool, z.ZodTypeDef, unknown> =
|
|
4227
4742
|
z.object({
|
|
4228
|
-
type:
|
|
4743
|
+
type:
|
|
4744
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema,
|
|
4229
4745
|
requires_approval: z.boolean().optional(),
|
|
4230
4746
|
}).transform((v) => {
|
|
4231
4747
|
return remap$(v, {
|
|
@@ -4234,7 +4750,7 @@ export const AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema:
|
|
|
4234
4750
|
});
|
|
4235
4751
|
/** @internal */
|
|
4236
4752
|
export type AgentToolInputCRUDRetrieveMemoryStoresTool$Outbound = {
|
|
4237
|
-
type:
|
|
4753
|
+
type: string;
|
|
4238
4754
|
requires_approval?: boolean | undefined;
|
|
4239
4755
|
};
|
|
4240
4756
|
|
|
@@ -4245,7 +4761,8 @@ export const AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema:
|
|
|
4245
4761
|
z.ZodTypeDef,
|
|
4246
4762
|
AgentToolInputCRUDRetrieveMemoryStoresTool
|
|
4247
4763
|
> = z.object({
|
|
4248
|
-
type:
|
|
4764
|
+
type:
|
|
4765
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
|
|
4249
4766
|
requiresApproval: z.boolean().optional(),
|
|
4250
4767
|
}).transform((v) => {
|
|
4251
4768
|
return remap$(v, {
|
|
@@ -4279,13 +4796,28 @@ export function agentToolInputCRUDRetrieveMemoryStoresToolFromJSON(
|
|
|
4279
4796
|
);
|
|
4280
4797
|
}
|
|
4281
4798
|
|
|
4799
|
+
/** @internal */
|
|
4800
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema:
|
|
4801
|
+
z.ZodNativeEnum<
|
|
4802
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
4803
|
+
> = z.nativeEnum(
|
|
4804
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType,
|
|
4805
|
+
);
|
|
4806
|
+
/** @internal */
|
|
4807
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema:
|
|
4808
|
+
z.ZodNativeEnum<
|
|
4809
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
4810
|
+
> =
|
|
4811
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
4812
|
+
|
|
4282
4813
|
/** @internal */
|
|
4283
4814
|
export const AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema: z.ZodType<
|
|
4284
4815
|
AgentToolInputCRUDWriteMemoryStoreTool,
|
|
4285
4816
|
z.ZodTypeDef,
|
|
4286
4817
|
unknown
|
|
4287
4818
|
> = z.object({
|
|
4288
|
-
type:
|
|
4819
|
+
type:
|
|
4820
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema,
|
|
4289
4821
|
requires_approval: z.boolean().optional(),
|
|
4290
4822
|
}).transform((v) => {
|
|
4291
4823
|
return remap$(v, {
|
|
@@ -4294,7 +4826,7 @@ export const AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema: z.ZodType<
|
|
|
4294
4826
|
});
|
|
4295
4827
|
/** @internal */
|
|
4296
4828
|
export type AgentToolInputCRUDWriteMemoryStoreTool$Outbound = {
|
|
4297
|
-
type:
|
|
4829
|
+
type: string;
|
|
4298
4830
|
requires_approval?: boolean | undefined;
|
|
4299
4831
|
};
|
|
4300
4832
|
|
|
@@ -4304,7 +4836,8 @@ export const AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4304
4836
|
z.ZodTypeDef,
|
|
4305
4837
|
AgentToolInputCRUDWriteMemoryStoreTool
|
|
4306
4838
|
> = z.object({
|
|
4307
|
-
type:
|
|
4839
|
+
type:
|
|
4840
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
4308
4841
|
requiresApproval: z.boolean().optional(),
|
|
4309
4842
|
}).transform((v) => {
|
|
4310
4843
|
return remap$(v, {
|
|
@@ -4333,13 +4866,28 @@ export function agentToolInputCRUDWriteMemoryStoreToolFromJSON(
|
|
|
4333
4866
|
);
|
|
4334
4867
|
}
|
|
4335
4868
|
|
|
4869
|
+
/** @internal */
|
|
4870
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema:
|
|
4871
|
+
z.ZodNativeEnum<
|
|
4872
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
4873
|
+
> = z.nativeEnum(
|
|
4874
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType,
|
|
4875
|
+
);
|
|
4876
|
+
/** @internal */
|
|
4877
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema:
|
|
4878
|
+
z.ZodNativeEnum<
|
|
4879
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
4880
|
+
> =
|
|
4881
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
4882
|
+
|
|
4336
4883
|
/** @internal */
|
|
4337
4884
|
export const AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema: z.ZodType<
|
|
4338
4885
|
AgentToolInputCRUDQueryMemoryStoreTool,
|
|
4339
4886
|
z.ZodTypeDef,
|
|
4340
4887
|
unknown
|
|
4341
4888
|
> = z.object({
|
|
4342
|
-
type:
|
|
4889
|
+
type:
|
|
4890
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema,
|
|
4343
4891
|
requires_approval: z.boolean().optional(),
|
|
4344
4892
|
}).transform((v) => {
|
|
4345
4893
|
return remap$(v, {
|
|
@@ -4348,7 +4896,7 @@ export const AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema: z.ZodType<
|
|
|
4348
4896
|
});
|
|
4349
4897
|
/** @internal */
|
|
4350
4898
|
export type AgentToolInputCRUDQueryMemoryStoreTool$Outbound = {
|
|
4351
|
-
type:
|
|
4899
|
+
type: string;
|
|
4352
4900
|
requires_approval?: boolean | undefined;
|
|
4353
4901
|
};
|
|
4354
4902
|
|
|
@@ -4358,7 +4906,8 @@ export const AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4358
4906
|
z.ZodTypeDef,
|
|
4359
4907
|
AgentToolInputCRUDQueryMemoryStoreTool
|
|
4360
4908
|
> = z.object({
|
|
4361
|
-
type:
|
|
4909
|
+
type:
|
|
4910
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
4362
4911
|
requiresApproval: z.boolean().optional(),
|
|
4363
4912
|
}).transform((v) => {
|
|
4364
4913
|
return remap$(v, {
|
|
@@ -4387,13 +4936,24 @@ export function agentToolInputCRUDQueryMemoryStoreToolFromJSON(
|
|
|
4387
4936
|
);
|
|
4388
4937
|
}
|
|
4389
4938
|
|
|
4939
|
+
/** @internal */
|
|
4940
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema:
|
|
4941
|
+
z.ZodNativeEnum<
|
|
4942
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType
|
|
4943
|
+
> = z.nativeEnum(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType);
|
|
4944
|
+
/** @internal */
|
|
4945
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema:
|
|
4946
|
+
z.ZodNativeEnum<
|
|
4947
|
+
typeof UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType
|
|
4948
|
+
> = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema;
|
|
4949
|
+
|
|
4390
4950
|
/** @internal */
|
|
4391
4951
|
export const AgentToolInputCRUDRetrieveAgentsTool$inboundSchema: z.ZodType<
|
|
4392
4952
|
AgentToolInputCRUDRetrieveAgentsTool,
|
|
4393
4953
|
z.ZodTypeDef,
|
|
4394
4954
|
unknown
|
|
4395
4955
|
> = z.object({
|
|
4396
|
-
type:
|
|
4956
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema,
|
|
4397
4957
|
requires_approval: z.boolean().optional(),
|
|
4398
4958
|
}).transform((v) => {
|
|
4399
4959
|
return remap$(v, {
|
|
@@ -4402,7 +4962,7 @@ export const AgentToolInputCRUDRetrieveAgentsTool$inboundSchema: z.ZodType<
|
|
|
4402
4962
|
});
|
|
4403
4963
|
/** @internal */
|
|
4404
4964
|
export type AgentToolInputCRUDRetrieveAgentsTool$Outbound = {
|
|
4405
|
-
type:
|
|
4965
|
+
type: string;
|
|
4406
4966
|
requires_approval?: boolean | undefined;
|
|
4407
4967
|
};
|
|
4408
4968
|
|
|
@@ -4412,7 +4972,8 @@ export const AgentToolInputCRUDRetrieveAgentsTool$outboundSchema: z.ZodType<
|
|
|
4412
4972
|
z.ZodTypeDef,
|
|
4413
4973
|
AgentToolInputCRUDRetrieveAgentsTool
|
|
4414
4974
|
> = z.object({
|
|
4415
|
-
type:
|
|
4975
|
+
type:
|
|
4976
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
|
|
4416
4977
|
requiresApproval: z.boolean().optional(),
|
|
4417
4978
|
}).transform((v) => {
|
|
4418
4979
|
return remap$(v, {
|
|
@@ -4440,13 +5001,22 @@ export function agentToolInputCRUDRetrieveAgentsToolFromJSON(
|
|
|
4440
5001
|
);
|
|
4441
5002
|
}
|
|
4442
5003
|
|
|
5004
|
+
/** @internal */
|
|
5005
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema:
|
|
5006
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType> = z
|
|
5007
|
+
.nativeEnum(UpdateAgentAgentToolInputCRUDAgentsRequestType);
|
|
5008
|
+
/** @internal */
|
|
5009
|
+
export const UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema:
|
|
5010
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsRequestType> =
|
|
5011
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema;
|
|
5012
|
+
|
|
4443
5013
|
/** @internal */
|
|
4444
5014
|
export const AgentToolInputCRUDCallSubAgentTool$inboundSchema: z.ZodType<
|
|
4445
5015
|
AgentToolInputCRUDCallSubAgentTool,
|
|
4446
5016
|
z.ZodTypeDef,
|
|
4447
5017
|
unknown
|
|
4448
5018
|
> = z.object({
|
|
4449
|
-
type:
|
|
5019
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema,
|
|
4450
5020
|
requires_approval: z.boolean().optional(),
|
|
4451
5021
|
}).transform((v) => {
|
|
4452
5022
|
return remap$(v, {
|
|
@@ -4455,7 +5025,7 @@ export const AgentToolInputCRUDCallSubAgentTool$inboundSchema: z.ZodType<
|
|
|
4455
5025
|
});
|
|
4456
5026
|
/** @internal */
|
|
4457
5027
|
export type AgentToolInputCRUDCallSubAgentTool$Outbound = {
|
|
4458
|
-
type:
|
|
5028
|
+
type: string;
|
|
4459
5029
|
requires_approval?: boolean | undefined;
|
|
4460
5030
|
};
|
|
4461
5031
|
|
|
@@ -4465,7 +5035,7 @@ export const AgentToolInputCRUDCallSubAgentTool$outboundSchema: z.ZodType<
|
|
|
4465
5035
|
z.ZodTypeDef,
|
|
4466
5036
|
AgentToolInputCRUDCallSubAgentTool
|
|
4467
5037
|
> = z.object({
|
|
4468
|
-
type:
|
|
5038
|
+
type: UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema,
|
|
4469
5039
|
requiresApproval: z.boolean().optional(),
|
|
4470
5040
|
}).transform((v) => {
|
|
4471
5041
|
return remap$(v, {
|
|
@@ -4493,13 +5063,22 @@ export function agentToolInputCRUDCallSubAgentToolFromJSON(
|
|
|
4493
5063
|
);
|
|
4494
5064
|
}
|
|
4495
5065
|
|
|
5066
|
+
/** @internal */
|
|
5067
|
+
export const UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema:
|
|
5068
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType> = z
|
|
5069
|
+
.nativeEnum(UpdateAgentAgentToolInputCRUDAgentsType);
|
|
5070
|
+
/** @internal */
|
|
5071
|
+
export const UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema:
|
|
5072
|
+
z.ZodNativeEnum<typeof UpdateAgentAgentToolInputCRUDAgentsType> =
|
|
5073
|
+
UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema;
|
|
5074
|
+
|
|
4496
5075
|
/** @internal */
|
|
4497
5076
|
export const AgentToolInputCRUDWebScraperTool$inboundSchema: z.ZodType<
|
|
4498
5077
|
AgentToolInputCRUDWebScraperTool,
|
|
4499
5078
|
z.ZodTypeDef,
|
|
4500
5079
|
unknown
|
|
4501
5080
|
> = z.object({
|
|
4502
|
-
type:
|
|
5081
|
+
type: UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema,
|
|
4503
5082
|
requires_approval: z.boolean().optional(),
|
|
4504
5083
|
}).transform((v) => {
|
|
4505
5084
|
return remap$(v, {
|
|
@@ -4508,7 +5087,7 @@ export const AgentToolInputCRUDWebScraperTool$inboundSchema: z.ZodType<
|
|
|
4508
5087
|
});
|
|
4509
5088
|
/** @internal */
|
|
4510
5089
|
export type AgentToolInputCRUDWebScraperTool$Outbound = {
|
|
4511
|
-
type:
|
|
5090
|
+
type: string;
|
|
4512
5091
|
requires_approval?: boolean | undefined;
|
|
4513
5092
|
};
|
|
4514
5093
|
|
|
@@ -4518,7 +5097,7 @@ export const AgentToolInputCRUDWebScraperTool$outboundSchema: z.ZodType<
|
|
|
4518
5097
|
z.ZodTypeDef,
|
|
4519
5098
|
AgentToolInputCRUDWebScraperTool
|
|
4520
5099
|
> = z.object({
|
|
4521
|
-
type:
|
|
5100
|
+
type: UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema,
|
|
4522
5101
|
requiresApproval: z.boolean().optional(),
|
|
4523
5102
|
}).transform((v) => {
|
|
4524
5103
|
return remap$(v, {
|
|
@@ -4545,13 +5124,22 @@ export function agentToolInputCRUDWebScraperToolFromJSON(
|
|
|
4545
5124
|
);
|
|
4546
5125
|
}
|
|
4547
5126
|
|
|
5127
|
+
/** @internal */
|
|
5128
|
+
export const UpdateAgentAgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<
|
|
5129
|
+
typeof UpdateAgentAgentToolInputCRUDType
|
|
5130
|
+
> = z.nativeEnum(UpdateAgentAgentToolInputCRUDType);
|
|
5131
|
+
/** @internal */
|
|
5132
|
+
export const UpdateAgentAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<
|
|
5133
|
+
typeof UpdateAgentAgentToolInputCRUDType
|
|
5134
|
+
> = UpdateAgentAgentToolInputCRUDType$inboundSchema;
|
|
5135
|
+
|
|
4548
5136
|
/** @internal */
|
|
4549
5137
|
export const AgentToolInputCRUDGoogleSearchTool$inboundSchema: z.ZodType<
|
|
4550
5138
|
AgentToolInputCRUDGoogleSearchTool,
|
|
4551
5139
|
z.ZodTypeDef,
|
|
4552
5140
|
unknown
|
|
4553
5141
|
> = z.object({
|
|
4554
|
-
type:
|
|
5142
|
+
type: UpdateAgentAgentToolInputCRUDType$inboundSchema,
|
|
4555
5143
|
requires_approval: z.boolean().optional(),
|
|
4556
5144
|
}).transform((v) => {
|
|
4557
5145
|
return remap$(v, {
|
|
@@ -4560,7 +5148,7 @@ export const AgentToolInputCRUDGoogleSearchTool$inboundSchema: z.ZodType<
|
|
|
4560
5148
|
});
|
|
4561
5149
|
/** @internal */
|
|
4562
5150
|
export type AgentToolInputCRUDGoogleSearchTool$Outbound = {
|
|
4563
|
-
type:
|
|
5151
|
+
type: string;
|
|
4564
5152
|
requires_approval?: boolean | undefined;
|
|
4565
5153
|
};
|
|
4566
5154
|
|
|
@@ -4570,7 +5158,7 @@ export const AgentToolInputCRUDGoogleSearchTool$outboundSchema: z.ZodType<
|
|
|
4570
5158
|
z.ZodTypeDef,
|
|
4571
5159
|
AgentToolInputCRUDGoogleSearchTool
|
|
4572
5160
|
> = z.object({
|
|
4573
|
-
type:
|
|
5161
|
+
type: UpdateAgentAgentToolInputCRUDType$outboundSchema,
|
|
4574
5162
|
requiresApproval: z.boolean().optional(),
|
|
4575
5163
|
}).transform((v) => {
|
|
4576
5164
|
return remap$(v, {
|
|
@@ -4615,10 +5203,10 @@ export const UpdateAgentAgentToolInputCRUD$inboundSchema: z.ZodType<
|
|
|
4615
5203
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
4616
5204
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
4617
5205
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
5206
|
+
z.lazy(() => AgentToolInputCRUDMCPTool$inboundSchema),
|
|
4618
5207
|
z.lazy(() => AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
4619
5208
|
z.lazy(() => AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
4620
5209
|
z.lazy(() => AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
4621
|
-
z.lazy(() => AgentToolInputCRUDMCPTool$inboundSchema),
|
|
4622
5210
|
]);
|
|
4623
5211
|
/** @internal */
|
|
4624
5212
|
export type UpdateAgentAgentToolInputCRUD$Outbound =
|
|
@@ -4633,10 +5221,10 @@ export type UpdateAgentAgentToolInputCRUD$Outbound =
|
|
|
4633
5221
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
|
|
4634
5222
|
| AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
|
|
4635
5223
|
| AgentToolInputCRUDCurrentDateTool$Outbound
|
|
5224
|
+
| AgentToolInputCRUDMCPTool$Outbound
|
|
4636
5225
|
| AgentToolInputCRUDHTTPTool$Outbound
|
|
4637
5226
|
| AgentToolInputCRUDCodeExecutionTool$Outbound
|
|
4638
|
-
| AgentToolInputCRUDFunctionTool$Outbound
|
|
4639
|
-
| AgentToolInputCRUDMCPTool$Outbound;
|
|
5227
|
+
| AgentToolInputCRUDFunctionTool$Outbound;
|
|
4640
5228
|
|
|
4641
5229
|
/** @internal */
|
|
4642
5230
|
export const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
@@ -4655,10 +5243,10 @@ export const UpdateAgentAgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
|
4655
5243
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
4656
5244
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
4657
5245
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
5246
|
+
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
4658
5247
|
z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
4659
5248
|
z.lazy(() => AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
4660
5249
|
z.lazy(() => AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
4661
|
-
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
4662
5250
|
]);
|
|
4663
5251
|
|
|
4664
5252
|
export function updateAgentAgentToolInputCRUDToJSON(
|
|
@@ -4832,10 +5420,10 @@ export const UpdateAgentSettings$inboundSchema: z.ZodType<
|
|
|
4832
5420
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
4833
5421
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
4834
5422
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
5423
|
+
z.lazy(() => AgentToolInputCRUDMCPTool$inboundSchema),
|
|
4835
5424
|
z.lazy(() => AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
4836
5425
|
z.lazy(() => AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
4837
5426
|
z.lazy(() => AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
4838
|
-
z.lazy(() => AgentToolInputCRUDMCPTool$inboundSchema),
|
|
4839
5427
|
]),
|
|
4840
5428
|
).optional(),
|
|
4841
5429
|
evaluators: z.array(z.lazy(() => UpdateAgentEvaluators$inboundSchema))
|
|
@@ -4867,10 +5455,10 @@ export type UpdateAgentSettings$Outbound = {
|
|
|
4867
5455
|
| AgentToolInputCRUDRetrieveKnowledgeBasesTool$Outbound
|
|
4868
5456
|
| AgentToolInputCRUDQueryKnowledgeBaseTool$Outbound
|
|
4869
5457
|
| AgentToolInputCRUDCurrentDateTool$Outbound
|
|
5458
|
+
| AgentToolInputCRUDMCPTool$Outbound
|
|
4870
5459
|
| AgentToolInputCRUDHTTPTool$Outbound
|
|
4871
5460
|
| AgentToolInputCRUDCodeExecutionTool$Outbound
|
|
4872
5461
|
| AgentToolInputCRUDFunctionTool$Outbound
|
|
4873
|
-
| AgentToolInputCRUDMCPTool$Outbound
|
|
4874
5462
|
>
|
|
4875
5463
|
| undefined;
|
|
4876
5464
|
evaluators?: Array<UpdateAgentEvaluators$Outbound> | undefined;
|
|
@@ -4901,10 +5489,10 @@ export const UpdateAgentSettings$outboundSchema: z.ZodType<
|
|
|
4901
5489
|
z.lazy(() => AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
4902
5490
|
z.lazy(() => AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
4903
5491
|
z.lazy(() => AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
5492
|
+
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
4904
5493
|
z.lazy(() => AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
4905
5494
|
z.lazy(() => AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
4906
5495
|
z.lazy(() => AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
4907
|
-
z.lazy(() => AgentToolInputCRUDMCPTool$outboundSchema),
|
|
4908
5496
|
]),
|
|
4909
5497
|
).optional(),
|
|
4910
5498
|
evaluators: z.array(z.lazy(() => UpdateAgentEvaluators$outboundSchema))
|
|
@@ -5886,6 +6474,15 @@ export function updateAgentResponseFormatFromJSON(
|
|
|
5886
6474
|
);
|
|
5887
6475
|
}
|
|
5888
6476
|
|
|
6477
|
+
/** @internal */
|
|
6478
|
+
export const UpdateAgentReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
6479
|
+
typeof UpdateAgentReasoningEffort
|
|
6480
|
+
> = z.nativeEnum(UpdateAgentReasoningEffort);
|
|
6481
|
+
/** @internal */
|
|
6482
|
+
export const UpdateAgentReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
6483
|
+
typeof UpdateAgentReasoningEffort
|
|
6484
|
+
> = UpdateAgentReasoningEffort$inboundSchema;
|
|
6485
|
+
|
|
5889
6486
|
/** @internal */
|
|
5890
6487
|
export const UpdateAgentStop$inboundSchema: z.ZodType<
|
|
5891
6488
|
UpdateAgentStop,
|
|
@@ -6196,7 +6793,7 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
6196
6793
|
UpdateAgentResponseFormatAgentsResponse200JSONSchema$inboundSchema
|
|
6197
6794
|
),
|
|
6198
6795
|
]).optional(),
|
|
6199
|
-
reasoning_effort:
|
|
6796
|
+
reasoning_effort: UpdateAgentReasoningEffort$inboundSchema.optional(),
|
|
6200
6797
|
verbosity: z.string().optional(),
|
|
6201
6798
|
seed: z.nullable(z.number()).optional(),
|
|
6202
6799
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -6291,7 +6888,7 @@ export const UpdateAgentParameters$outboundSchema: z.ZodType<
|
|
|
6291
6888
|
UpdateAgentResponseFormatAgentsResponse200JSONSchema$outboundSchema
|
|
6292
6889
|
),
|
|
6293
6890
|
]).optional(),
|
|
6294
|
-
reasoningEffort:
|
|
6891
|
+
reasoningEffort: UpdateAgentReasoningEffort$outboundSchema.optional(),
|
|
6295
6892
|
verbosity: z.string().optional(),
|
|
6296
6893
|
seed: z.nullable(z.number()).optional(),
|
|
6297
6894
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -6755,6 +7352,17 @@ export function updateAgentFallbackModelConfigurationAgentsResponseFormatFromJSO
|
|
|
6755
7352
|
);
|
|
6756
7353
|
}
|
|
6757
7354
|
|
|
7355
|
+
/** @internal */
|
|
7356
|
+
export const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema:
|
|
7357
|
+
z.ZodNativeEnum<
|
|
7358
|
+
typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort
|
|
7359
|
+
> = z.nativeEnum(UpdateAgentFallbackModelConfigurationAgentsReasoningEffort);
|
|
7360
|
+
/** @internal */
|
|
7361
|
+
export const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema:
|
|
7362
|
+
z.ZodNativeEnum<
|
|
7363
|
+
typeof UpdateAgentFallbackModelConfigurationAgentsReasoningEffort
|
|
7364
|
+
> = UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema;
|
|
7365
|
+
|
|
6758
7366
|
/** @internal */
|
|
6759
7367
|
export const UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema:
|
|
6760
7368
|
z.ZodType<
|
|
@@ -7126,7 +7734,9 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
7126
7734
|
UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$inboundSchema
|
|
7127
7735
|
),
|
|
7128
7736
|
]).optional(),
|
|
7129
|
-
reasoning_effort:
|
|
7737
|
+
reasoning_effort:
|
|
7738
|
+
UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema
|
|
7739
|
+
.optional(),
|
|
7130
7740
|
verbosity: z.string().optional(),
|
|
7131
7741
|
seed: z.nullable(z.number()).optional(),
|
|
7132
7742
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -7239,7 +7849,9 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$outboundSchem
|
|
|
7239
7849
|
UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$outboundSchema
|
|
7240
7850
|
),
|
|
7241
7851
|
]).optional(),
|
|
7242
|
-
reasoningEffort:
|
|
7852
|
+
reasoningEffort:
|
|
7853
|
+
UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema
|
|
7854
|
+
.optional(),
|
|
7243
7855
|
verbosity: z.string().optional(),
|
|
7244
7856
|
seed: z.nullable(z.number()).optional(),
|
|
7245
7857
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|