@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
|
@@ -107,6 +107,40 @@ export type Text = {
|
|
|
107
107
|
*/
|
|
108
108
|
export type ResponseFormat = Text | JSONObject | JSONSchema;
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* 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.
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
*
|
|
115
|
+
* - `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.
|
|
116
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
117
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
118
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
119
|
+
*
|
|
120
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
121
|
+
*/
|
|
122
|
+
export const ReasoningEffort = {
|
|
123
|
+
None: "none",
|
|
124
|
+
Minimal: "minimal",
|
|
125
|
+
Low: "low",
|
|
126
|
+
Medium: "medium",
|
|
127
|
+
High: "high",
|
|
128
|
+
Xhigh: "xhigh",
|
|
129
|
+
} as const;
|
|
130
|
+
/**
|
|
131
|
+
* 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.
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
*
|
|
135
|
+
* - `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.
|
|
136
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
137
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
138
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
139
|
+
*
|
|
140
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
141
|
+
*/
|
|
142
|
+
export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
143
|
+
|
|
110
144
|
/**
|
|
111
145
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
112
146
|
*/
|
|
@@ -215,9 +249,18 @@ export type ParametersT = {
|
|
|
215
249
|
*/
|
|
216
250
|
responseFormat?: Text | JSONObject | JSONSchema | undefined;
|
|
217
251
|
/**
|
|
218
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
252
|
+
* 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.
|
|
253
|
+
*
|
|
254
|
+
* @remarks
|
|
255
|
+
*
|
|
256
|
+
* - `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.
|
|
257
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
258
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
259
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
260
|
+
*
|
|
261
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
219
262
|
*/
|
|
220
|
-
reasoningEffort?:
|
|
263
|
+
reasoningEffort?: ReasoningEffort | undefined;
|
|
221
264
|
/**
|
|
222
265
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
223
266
|
*/
|
|
@@ -407,6 +450,42 @@ export type FallbackModelConfigurationResponseFormat =
|
|
|
407
450
|
| ResponseFormatJSONObject
|
|
408
451
|
| CreateAgentRequestResponseFormatJSONSchema;
|
|
409
452
|
|
|
453
|
+
/**
|
|
454
|
+
* 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.
|
|
455
|
+
*
|
|
456
|
+
* @remarks
|
|
457
|
+
*
|
|
458
|
+
* - `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.
|
|
459
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
460
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
461
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
462
|
+
*
|
|
463
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
464
|
+
*/
|
|
465
|
+
export const FallbackModelConfigurationReasoningEffort = {
|
|
466
|
+
None: "none",
|
|
467
|
+
Minimal: "minimal",
|
|
468
|
+
Low: "low",
|
|
469
|
+
Medium: "medium",
|
|
470
|
+
High: "high",
|
|
471
|
+
Xhigh: "xhigh",
|
|
472
|
+
} as const;
|
|
473
|
+
/**
|
|
474
|
+
* 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.
|
|
475
|
+
*
|
|
476
|
+
* @remarks
|
|
477
|
+
*
|
|
478
|
+
* - `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.
|
|
479
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
480
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
481
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
482
|
+
*
|
|
483
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
484
|
+
*/
|
|
485
|
+
export type FallbackModelConfigurationReasoningEffort = ClosedEnum<
|
|
486
|
+
typeof FallbackModelConfigurationReasoningEffort
|
|
487
|
+
>;
|
|
488
|
+
|
|
410
489
|
/**
|
|
411
490
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
412
491
|
*/
|
|
@@ -527,9 +606,18 @@ export type FallbackModelConfigurationParameters = {
|
|
|
527
606
|
| CreateAgentRequestResponseFormatJSONSchema
|
|
528
607
|
| undefined;
|
|
529
608
|
/**
|
|
530
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
609
|
+
* 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.
|
|
610
|
+
*
|
|
611
|
+
* @remarks
|
|
612
|
+
*
|
|
613
|
+
* - `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.
|
|
614
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
615
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
616
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
617
|
+
*
|
|
618
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
531
619
|
*/
|
|
532
|
-
reasoningEffort?:
|
|
620
|
+
reasoningEffort?: FallbackModelConfigurationReasoningEffort | undefined;
|
|
533
621
|
/**
|
|
534
622
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
535
623
|
*/
|
|
@@ -611,6 +699,21 @@ export const ToolApprovalRequired = {
|
|
|
611
699
|
*/
|
|
612
700
|
export type ToolApprovalRequired = ClosedEnum<typeof ToolApprovalRequired>;
|
|
613
701
|
|
|
702
|
+
/**
|
|
703
|
+
* MCP tool type
|
|
704
|
+
*/
|
|
705
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
706
|
+
{
|
|
707
|
+
Mcp: "mcp",
|
|
708
|
+
} as const;
|
|
709
|
+
/**
|
|
710
|
+
* MCP tool type
|
|
711
|
+
*/
|
|
712
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type =
|
|
713
|
+
ClosedEnum<
|
|
714
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
715
|
+
>;
|
|
716
|
+
|
|
614
717
|
/**
|
|
615
718
|
* 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".
|
|
616
719
|
*/
|
|
@@ -618,7 +721,9 @@ export type MCPTool = {
|
|
|
618
721
|
/**
|
|
619
722
|
* MCP tool type
|
|
620
723
|
*/
|
|
621
|
-
type
|
|
724
|
+
type?:
|
|
725
|
+
| CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
726
|
+
| undefined;
|
|
622
727
|
/**
|
|
623
728
|
* The key of the parent MCP tool
|
|
624
729
|
*/
|
|
@@ -637,6 +742,21 @@ export type MCPTool = {
|
|
|
637
742
|
requiresApproval?: boolean | undefined;
|
|
638
743
|
};
|
|
639
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Function tool type
|
|
747
|
+
*/
|
|
748
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
749
|
+
{
|
|
750
|
+
Function: "function",
|
|
751
|
+
} as const;
|
|
752
|
+
/**
|
|
753
|
+
* Function tool type
|
|
754
|
+
*/
|
|
755
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type =
|
|
756
|
+
ClosedEnum<
|
|
757
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
758
|
+
>;
|
|
759
|
+
|
|
640
760
|
/**
|
|
641
761
|
* Calls custom function tools defined in the agent configuration. Must reference a pre-created function tool by key or id.
|
|
642
762
|
*/
|
|
@@ -644,7 +764,9 @@ export type FunctionTool = {
|
|
|
644
764
|
/**
|
|
645
765
|
* Function tool type
|
|
646
766
|
*/
|
|
647
|
-
type
|
|
767
|
+
type?:
|
|
768
|
+
| CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
769
|
+
| undefined;
|
|
648
770
|
/**
|
|
649
771
|
* The key of the pre-created function tool
|
|
650
772
|
*/
|
|
@@ -659,6 +781,21 @@ export type FunctionTool = {
|
|
|
659
781
|
requiresApproval?: boolean | undefined;
|
|
660
782
|
};
|
|
661
783
|
|
|
784
|
+
/**
|
|
785
|
+
* Code execution tool type
|
|
786
|
+
*/
|
|
787
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
788
|
+
{
|
|
789
|
+
Code: "code",
|
|
790
|
+
} as const;
|
|
791
|
+
/**
|
|
792
|
+
* Code execution tool type
|
|
793
|
+
*/
|
|
794
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type =
|
|
795
|
+
ClosedEnum<
|
|
796
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
797
|
+
>;
|
|
798
|
+
|
|
662
799
|
/**
|
|
663
800
|
* Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
|
|
664
801
|
*/
|
|
@@ -666,7 +803,9 @@ export type CodeExecutionTool = {
|
|
|
666
803
|
/**
|
|
667
804
|
* Code execution tool type
|
|
668
805
|
*/
|
|
669
|
-
type
|
|
806
|
+
type?:
|
|
807
|
+
| CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
808
|
+
| undefined;
|
|
670
809
|
/**
|
|
671
810
|
* The key of the pre-created code tool
|
|
672
811
|
*/
|
|
@@ -681,6 +820,21 @@ export type CodeExecutionTool = {
|
|
|
681
820
|
requiresApproval?: boolean | undefined;
|
|
682
821
|
};
|
|
683
822
|
|
|
823
|
+
/**
|
|
824
|
+
* HTTP tool type
|
|
825
|
+
*/
|
|
826
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
827
|
+
{
|
|
828
|
+
Http: "http",
|
|
829
|
+
} as const;
|
|
830
|
+
/**
|
|
831
|
+
* HTTP tool type
|
|
832
|
+
*/
|
|
833
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type =
|
|
834
|
+
ClosedEnum<
|
|
835
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
836
|
+
>;
|
|
837
|
+
|
|
684
838
|
/**
|
|
685
839
|
* Executes HTTP requests to interact with external APIs and web services. Must reference a pre-created HTTP tool by key or id.
|
|
686
840
|
*/
|
|
@@ -688,7 +842,9 @@ export type HTTPTool = {
|
|
|
688
842
|
/**
|
|
689
843
|
* HTTP tool type
|
|
690
844
|
*/
|
|
691
|
-
type
|
|
845
|
+
type?:
|
|
846
|
+
| CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
847
|
+
| undefined;
|
|
692
848
|
/**
|
|
693
849
|
* The key of the pre-created HTTP tool
|
|
694
850
|
*/
|
|
@@ -703,121 +859,216 @@ export type HTTPTool = {
|
|
|
703
859
|
requiresApproval?: boolean | undefined;
|
|
704
860
|
};
|
|
705
861
|
|
|
862
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
|
|
863
|
+
{
|
|
864
|
+
CurrentDate: "current_date",
|
|
865
|
+
} as const;
|
|
866
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type =
|
|
867
|
+
ClosedEnum<
|
|
868
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
869
|
+
>;
|
|
870
|
+
|
|
706
871
|
/**
|
|
707
872
|
* Returns the current date and time
|
|
708
873
|
*/
|
|
709
874
|
export type CurrentDateTool = {
|
|
710
|
-
type:
|
|
875
|
+
type:
|
|
876
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
|
|
711
877
|
/**
|
|
712
878
|
* Whether this tool requires approval before execution
|
|
713
879
|
*/
|
|
714
880
|
requiresApproval?: boolean | undefined;
|
|
715
881
|
};
|
|
716
882
|
|
|
883
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
|
|
884
|
+
{
|
|
885
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
886
|
+
} as const;
|
|
887
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type =
|
|
888
|
+
ClosedEnum<
|
|
889
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
890
|
+
>;
|
|
891
|
+
|
|
717
892
|
/**
|
|
718
893
|
* Queries knowledge bases for information
|
|
719
894
|
*/
|
|
720
895
|
export type QueryKnowledgeBaseTool = {
|
|
721
|
-
type:
|
|
896
|
+
type:
|
|
897
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
|
|
722
898
|
/**
|
|
723
899
|
* Whether this tool requires approval before execution
|
|
724
900
|
*/
|
|
725
901
|
requiresApproval?: boolean | undefined;
|
|
726
902
|
};
|
|
727
903
|
|
|
904
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
|
|
905
|
+
{
|
|
906
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
907
|
+
} as const;
|
|
908
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type =
|
|
909
|
+
ClosedEnum<
|
|
910
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
911
|
+
>;
|
|
912
|
+
|
|
728
913
|
/**
|
|
729
914
|
* Lists available knowledge bases
|
|
730
915
|
*/
|
|
731
916
|
export type RetrieveKnowledgeBasesTool = {
|
|
732
|
-
type:
|
|
917
|
+
type:
|
|
918
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
|
|
733
919
|
/**
|
|
734
920
|
* Whether this tool requires approval before execution
|
|
735
921
|
*/
|
|
736
922
|
requiresApproval?: boolean | undefined;
|
|
737
923
|
};
|
|
738
924
|
|
|
925
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
|
|
926
|
+
{
|
|
927
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
928
|
+
} as const;
|
|
929
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type =
|
|
930
|
+
ClosedEnum<
|
|
931
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
932
|
+
>;
|
|
933
|
+
|
|
739
934
|
/**
|
|
740
935
|
* Deletes documents from memory stores
|
|
741
936
|
*/
|
|
742
937
|
export type DeleteMemoryDocumentTool = {
|
|
743
|
-
type:
|
|
938
|
+
type:
|
|
939
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
|
|
744
940
|
/**
|
|
745
941
|
* Whether this tool requires approval before execution
|
|
746
942
|
*/
|
|
747
943
|
requiresApproval?: boolean | undefined;
|
|
748
944
|
};
|
|
749
945
|
|
|
946
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
|
|
947
|
+
{
|
|
948
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
949
|
+
} as const;
|
|
950
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType =
|
|
951
|
+
ClosedEnum<
|
|
952
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
953
|
+
>;
|
|
954
|
+
|
|
750
955
|
/**
|
|
751
956
|
* Lists available memory stores
|
|
752
957
|
*/
|
|
753
958
|
export type RetrieveMemoryStoresTool = {
|
|
754
|
-
type:
|
|
959
|
+
type:
|
|
960
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
|
|
755
961
|
/**
|
|
756
962
|
* Whether this tool requires approval before execution
|
|
757
963
|
*/
|
|
758
964
|
requiresApproval?: boolean | undefined;
|
|
759
965
|
};
|
|
760
966
|
|
|
967
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
|
|
968
|
+
{
|
|
969
|
+
WriteMemoryStore: "write_memory_store",
|
|
970
|
+
} as const;
|
|
971
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType =
|
|
972
|
+
ClosedEnum<
|
|
973
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
974
|
+
>;
|
|
975
|
+
|
|
761
976
|
/**
|
|
762
977
|
* Writes information to agent memory stores
|
|
763
978
|
*/
|
|
764
979
|
export type WriteMemoryStoreTool = {
|
|
765
|
-
type:
|
|
980
|
+
type:
|
|
981
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
|
|
766
982
|
/**
|
|
767
983
|
* Whether this tool requires approval before execution
|
|
768
984
|
*/
|
|
769
985
|
requiresApproval?: boolean | undefined;
|
|
770
986
|
};
|
|
771
987
|
|
|
988
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType =
|
|
989
|
+
{
|
|
990
|
+
QueryMemoryStore: "query_memory_store",
|
|
991
|
+
} as const;
|
|
992
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType =
|
|
993
|
+
ClosedEnum<
|
|
994
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType
|
|
995
|
+
>;
|
|
996
|
+
|
|
772
997
|
/**
|
|
773
998
|
* Queries agent memory stores for context
|
|
774
999
|
*/
|
|
775
1000
|
export type QueryMemoryStoreTool = {
|
|
776
|
-
type:
|
|
1001
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType;
|
|
777
1002
|
/**
|
|
778
1003
|
* Whether this tool requires approval before execution
|
|
779
1004
|
*/
|
|
780
1005
|
requiresApproval?: boolean | undefined;
|
|
781
1006
|
};
|
|
782
1007
|
|
|
1008
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestType = {
|
|
1009
|
+
RetrieveAgents: "retrieve_agents",
|
|
1010
|
+
} as const;
|
|
1011
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsRequestType = ClosedEnum<
|
|
1012
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType
|
|
1013
|
+
>;
|
|
1014
|
+
|
|
783
1015
|
/**
|
|
784
1016
|
* Retrieves available agents in the system
|
|
785
1017
|
*/
|
|
786
1018
|
export type RetrieveAgentsTool = {
|
|
787
|
-
type:
|
|
1019
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsRequestType;
|
|
788
1020
|
/**
|
|
789
1021
|
* Whether this tool requires approval before execution
|
|
790
1022
|
*/
|
|
791
1023
|
requiresApproval?: boolean | undefined;
|
|
792
1024
|
};
|
|
793
1025
|
|
|
1026
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsType = {
|
|
1027
|
+
CallSubAgent: "call_sub_agent",
|
|
1028
|
+
} as const;
|
|
1029
|
+
export type CreateAgentRequestAgentToolInputCRUDAgentsType = ClosedEnum<
|
|
1030
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsType
|
|
1031
|
+
>;
|
|
1032
|
+
|
|
794
1033
|
/**
|
|
795
1034
|
* Delegates tasks to specialized sub-agents
|
|
796
1035
|
*/
|
|
797
1036
|
export type CallSubAgentTool = {
|
|
798
|
-
type:
|
|
1037
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsType;
|
|
799
1038
|
/**
|
|
800
1039
|
* Whether this tool requires approval before execution
|
|
801
1040
|
*/
|
|
802
1041
|
requiresApproval?: boolean | undefined;
|
|
803
1042
|
};
|
|
804
1043
|
|
|
1044
|
+
export const CreateAgentRequestAgentToolInputCRUDType = {
|
|
1045
|
+
WebScraper: "web_scraper",
|
|
1046
|
+
} as const;
|
|
1047
|
+
export type CreateAgentRequestAgentToolInputCRUDType = ClosedEnum<
|
|
1048
|
+
typeof CreateAgentRequestAgentToolInputCRUDType
|
|
1049
|
+
>;
|
|
1050
|
+
|
|
805
1051
|
/**
|
|
806
1052
|
* Scrapes and extracts content from web pages
|
|
807
1053
|
*/
|
|
808
1054
|
export type WebScraperTool = {
|
|
809
|
-
type:
|
|
1055
|
+
type: CreateAgentRequestAgentToolInputCRUDType;
|
|
810
1056
|
/**
|
|
811
1057
|
* Whether this tool requires approval before execution
|
|
812
1058
|
*/
|
|
813
1059
|
requiresApproval?: boolean | undefined;
|
|
814
1060
|
};
|
|
815
1061
|
|
|
1062
|
+
export const AgentToolInputCRUDType = {
|
|
1063
|
+
GoogleSearch: "google_search",
|
|
1064
|
+
} as const;
|
|
1065
|
+
export type AgentToolInputCRUDType = ClosedEnum<typeof AgentToolInputCRUDType>;
|
|
1066
|
+
|
|
816
1067
|
/**
|
|
817
1068
|
* Performs Google searches to retrieve web content
|
|
818
1069
|
*/
|
|
819
1070
|
export type GoogleSearchTool = {
|
|
820
|
-
type:
|
|
1071
|
+
type: AgentToolInputCRUDType;
|
|
821
1072
|
/**
|
|
822
1073
|
* Whether this tool requires approval before execution
|
|
823
1074
|
*/
|
|
@@ -839,10 +1090,10 @@ export type AgentToolInputCRUD =
|
|
|
839
1090
|
| RetrieveKnowledgeBasesTool
|
|
840
1091
|
| QueryKnowledgeBaseTool
|
|
841
1092
|
| CurrentDateTool
|
|
1093
|
+
| MCPTool
|
|
842
1094
|
| HTTPTool
|
|
843
1095
|
| CodeExecutionTool
|
|
844
|
-
| FunctionTool
|
|
845
|
-
| MCPTool;
|
|
1096
|
+
| FunctionTool;
|
|
846
1097
|
|
|
847
1098
|
/**
|
|
848
1099
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
@@ -932,10 +1183,10 @@ export type Settings = {
|
|
|
932
1183
|
| RetrieveKnowledgeBasesTool
|
|
933
1184
|
| QueryKnowledgeBaseTool
|
|
934
1185
|
| CurrentDateTool
|
|
1186
|
+
| MCPTool
|
|
935
1187
|
| HTTPTool
|
|
936
1188
|
| CodeExecutionTool
|
|
937
1189
|
| FunctionTool
|
|
938
|
-
| MCPTool
|
|
939
1190
|
>
|
|
940
1191
|
| undefined;
|
|
941
1192
|
/**
|
|
@@ -1285,6 +1536,42 @@ export type CreateAgentRequestResponseFormat =
|
|
|
1285
1536
|
| CreateAgentRequestResponseFormatJSONObject
|
|
1286
1537
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
|
|
1287
1538
|
|
|
1539
|
+
/**
|
|
1540
|
+
* 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.
|
|
1541
|
+
*
|
|
1542
|
+
* @remarks
|
|
1543
|
+
*
|
|
1544
|
+
* - `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.
|
|
1545
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1546
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1547
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1548
|
+
*
|
|
1549
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1550
|
+
*/
|
|
1551
|
+
export const CreateAgentRequestReasoningEffort = {
|
|
1552
|
+
None: "none",
|
|
1553
|
+
Minimal: "minimal",
|
|
1554
|
+
Low: "low",
|
|
1555
|
+
Medium: "medium",
|
|
1556
|
+
High: "high",
|
|
1557
|
+
Xhigh: "xhigh",
|
|
1558
|
+
} as const;
|
|
1559
|
+
/**
|
|
1560
|
+
* 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.
|
|
1561
|
+
*
|
|
1562
|
+
* @remarks
|
|
1563
|
+
*
|
|
1564
|
+
* - `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.
|
|
1565
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1566
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1567
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1568
|
+
*
|
|
1569
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1570
|
+
*/
|
|
1571
|
+
export type CreateAgentRequestReasoningEffort = ClosedEnum<
|
|
1572
|
+
typeof CreateAgentRequestReasoningEffort
|
|
1573
|
+
>;
|
|
1574
|
+
|
|
1288
1575
|
/**
|
|
1289
1576
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1290
1577
|
*/
|
|
@@ -1405,9 +1692,18 @@ export type CreateAgentRequestParameters = {
|
|
|
1405
1692
|
| CreateAgentRequestResponseFormatAgentsResponse201JSONSchema
|
|
1406
1693
|
| undefined;
|
|
1407
1694
|
/**
|
|
1408
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
1695
|
+
* 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.
|
|
1696
|
+
*
|
|
1697
|
+
* @remarks
|
|
1698
|
+
*
|
|
1699
|
+
* - `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.
|
|
1700
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1701
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1702
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1703
|
+
*
|
|
1704
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1409
1705
|
*/
|
|
1410
|
-
reasoningEffort?:
|
|
1706
|
+
reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
|
|
1411
1707
|
/**
|
|
1412
1708
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
1413
1709
|
*/
|
|
@@ -1578,6 +1874,43 @@ export type CreateAgentRequestFallbackModelConfigurationResponseFormat =
|
|
|
1578
1874
|
| CreateAgentRequestResponseFormatAgentsJSONObject
|
|
1579
1875
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema;
|
|
1580
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* 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.
|
|
1879
|
+
*
|
|
1880
|
+
* @remarks
|
|
1881
|
+
*
|
|
1882
|
+
* - `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.
|
|
1883
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
1884
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
1885
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
1886
|
+
*
|
|
1887
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1888
|
+
*/
|
|
1889
|
+
export const CreateAgentRequestFallbackModelConfigurationReasoningEffort = {
|
|
1890
|
+
None: "none",
|
|
1891
|
+
Minimal: "minimal",
|
|
1892
|
+
Low: "low",
|
|
1893
|
+
Medium: "medium",
|
|
1894
|
+
High: "high",
|
|
1895
|
+
Xhigh: "xhigh",
|
|
1896
|
+
} as const;
|
|
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 type CreateAgentRequestFallbackModelConfigurationReasoningEffort =
|
|
1910
|
+
ClosedEnum<
|
|
1911
|
+
typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
1912
|
+
>;
|
|
1913
|
+
|
|
1581
1914
|
/**
|
|
1582
1915
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1583
1916
|
*/
|
|
@@ -1700,9 +2033,20 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
|
|
|
1700
2033
|
| CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema
|
|
1701
2034
|
| undefined;
|
|
1702
2035
|
/**
|
|
1703
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
2036
|
+
* 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.
|
|
2037
|
+
*
|
|
2038
|
+
* @remarks
|
|
2039
|
+
*
|
|
2040
|
+
* - `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.
|
|
2041
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
2042
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
2043
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
2044
|
+
*
|
|
2045
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
1704
2046
|
*/
|
|
1705
|
-
reasoningEffort?:
|
|
2047
|
+
reasoningEffort?:
|
|
2048
|
+
| CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
2049
|
+
| undefined;
|
|
1706
2050
|
/**
|
|
1707
2051
|
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
1708
2052
|
*/
|
|
@@ -2139,6 +2483,15 @@ export function responseFormatFromJSON(
|
|
|
2139
2483
|
);
|
|
2140
2484
|
}
|
|
2141
2485
|
|
|
2486
|
+
/** @internal */
|
|
2487
|
+
export const ReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
2488
|
+
typeof ReasoningEffort
|
|
2489
|
+
> = z.nativeEnum(ReasoningEffort);
|
|
2490
|
+
/** @internal */
|
|
2491
|
+
export const ReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
2492
|
+
typeof ReasoningEffort
|
|
2493
|
+
> = ReasoningEffort$inboundSchema;
|
|
2494
|
+
|
|
2142
2495
|
/** @internal */
|
|
2143
2496
|
export const Stop$inboundSchema: z.ZodType<Stop, z.ZodTypeDef, unknown> = z
|
|
2144
2497
|
.union([z.string(), z.array(z.string())]);
|
|
@@ -2397,7 +2750,7 @@ export const ParametersT$inboundSchema: z.ZodType<
|
|
|
2397
2750
|
z.lazy(() => JSONObject$inboundSchema),
|
|
2398
2751
|
z.lazy(() => JSONSchema$inboundSchema),
|
|
2399
2752
|
]).optional(),
|
|
2400
|
-
reasoning_effort:
|
|
2753
|
+
reasoning_effort: ReasoningEffort$inboundSchema.optional(),
|
|
2401
2754
|
verbosity: z.string().optional(),
|
|
2402
2755
|
seed: z.nullable(z.number()).optional(),
|
|
2403
2756
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2484,7 +2837,7 @@ export const ParametersT$outboundSchema: z.ZodType<
|
|
|
2484
2837
|
z.lazy(() => JSONObject$outboundSchema),
|
|
2485
2838
|
z.lazy(() => JSONSchema$outboundSchema),
|
|
2486
2839
|
]).optional(),
|
|
2487
|
-
reasoningEffort:
|
|
2840
|
+
reasoningEffort: ReasoningEffort$outboundSchema.optional(),
|
|
2488
2841
|
verbosity: z.string().optional(),
|
|
2489
2842
|
seed: z.nullable(z.number()).optional(),
|
|
2490
2843
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2968,6 +3321,15 @@ export function fallbackModelConfigurationResponseFormatFromJSON(
|
|
|
2968
3321
|
);
|
|
2969
3322
|
}
|
|
2970
3323
|
|
|
3324
|
+
/** @internal */
|
|
3325
|
+
export const FallbackModelConfigurationReasoningEffort$inboundSchema:
|
|
3326
|
+
z.ZodNativeEnum<typeof FallbackModelConfigurationReasoningEffort> = z
|
|
3327
|
+
.nativeEnum(FallbackModelConfigurationReasoningEffort);
|
|
3328
|
+
/** @internal */
|
|
3329
|
+
export const FallbackModelConfigurationReasoningEffort$outboundSchema:
|
|
3330
|
+
z.ZodNativeEnum<typeof FallbackModelConfigurationReasoningEffort> =
|
|
3331
|
+
FallbackModelConfigurationReasoningEffort$inboundSchema;
|
|
3332
|
+
|
|
2971
3333
|
/** @internal */
|
|
2972
3334
|
export const FallbackModelConfigurationStop$inboundSchema: z.ZodType<
|
|
2973
3335
|
FallbackModelConfigurationStop,
|
|
@@ -3281,7 +3643,8 @@ export const FallbackModelConfigurationParameters$inboundSchema: z.ZodType<
|
|
|
3281
3643
|
z.lazy(() => ResponseFormatJSONObject$inboundSchema),
|
|
3282
3644
|
z.lazy(() => CreateAgentRequestResponseFormatJSONSchema$inboundSchema),
|
|
3283
3645
|
]).optional(),
|
|
3284
|
-
reasoning_effort:
|
|
3646
|
+
reasoning_effort: FallbackModelConfigurationReasoningEffort$inboundSchema
|
|
3647
|
+
.optional(),
|
|
3285
3648
|
verbosity: z.string().optional(),
|
|
3286
3649
|
seed: z.nullable(z.number()).optional(),
|
|
3287
3650
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -3375,7 +3738,8 @@ export const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3375
3738
|
z.lazy(() => ResponseFormatJSONObject$outboundSchema),
|
|
3376
3739
|
z.lazy(() => CreateAgentRequestResponseFormatJSONSchema$outboundSchema),
|
|
3377
3740
|
]).optional(),
|
|
3378
|
-
reasoningEffort:
|
|
3741
|
+
reasoningEffort: FallbackModelConfigurationReasoningEffort$outboundSchema
|
|
3742
|
+
.optional(),
|
|
3379
3743
|
verbosity: z.string().optional(),
|
|
3380
3744
|
seed: z.nullable(z.number()).optional(),
|
|
3381
3745
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -3530,10 +3894,26 @@ export const ToolApprovalRequired$outboundSchema: z.ZodNativeEnum<
|
|
|
3530
3894
|
typeof ToolApprovalRequired
|
|
3531
3895
|
> = ToolApprovalRequired$inboundSchema;
|
|
3532
3896
|
|
|
3897
|
+
/** @internal */
|
|
3898
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema:
|
|
3899
|
+
z.ZodNativeEnum<
|
|
3900
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
3901
|
+
> = z.nativeEnum(
|
|
3902
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type,
|
|
3903
|
+
);
|
|
3904
|
+
/** @internal */
|
|
3905
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema:
|
|
3906
|
+
z.ZodNativeEnum<
|
|
3907
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type
|
|
3908
|
+
> =
|
|
3909
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema;
|
|
3910
|
+
|
|
3533
3911
|
/** @internal */
|
|
3534
3912
|
export const MCPTool$inboundSchema: z.ZodType<MCPTool, z.ZodTypeDef, unknown> =
|
|
3535
3913
|
z.object({
|
|
3536
|
-
type:
|
|
3914
|
+
type:
|
|
3915
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema
|
|
3916
|
+
.default("mcp"),
|
|
3537
3917
|
key: z.string().optional(),
|
|
3538
3918
|
id: z.string().optional(),
|
|
3539
3919
|
tool_id: z.string(),
|
|
@@ -3546,7 +3926,7 @@ export const MCPTool$inboundSchema: z.ZodType<MCPTool, z.ZodTypeDef, unknown> =
|
|
|
3546
3926
|
});
|
|
3547
3927
|
/** @internal */
|
|
3548
3928
|
export type MCPTool$Outbound = {
|
|
3549
|
-
type:
|
|
3929
|
+
type: string;
|
|
3550
3930
|
key?: string | undefined;
|
|
3551
3931
|
id?: string | undefined;
|
|
3552
3932
|
tool_id: string;
|
|
@@ -3559,7 +3939,9 @@ export const MCPTool$outboundSchema: z.ZodType<
|
|
|
3559
3939
|
z.ZodTypeDef,
|
|
3560
3940
|
MCPTool
|
|
3561
3941
|
> = z.object({
|
|
3562
|
-
type:
|
|
3942
|
+
type:
|
|
3943
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
|
|
3944
|
+
.default("mcp"),
|
|
3563
3945
|
key: z.string().optional(),
|
|
3564
3946
|
id: z.string().optional(),
|
|
3565
3947
|
toolId: z.string(),
|
|
@@ -3584,13 +3966,29 @@ export function mcpToolFromJSON(
|
|
|
3584
3966
|
);
|
|
3585
3967
|
}
|
|
3586
3968
|
|
|
3969
|
+
/** @internal */
|
|
3970
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema:
|
|
3971
|
+
z.ZodNativeEnum<
|
|
3972
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
3973
|
+
> = z.nativeEnum(
|
|
3974
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type,
|
|
3975
|
+
);
|
|
3976
|
+
/** @internal */
|
|
3977
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema:
|
|
3978
|
+
z.ZodNativeEnum<
|
|
3979
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type
|
|
3980
|
+
> =
|
|
3981
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
3982
|
+
|
|
3587
3983
|
/** @internal */
|
|
3588
3984
|
export const FunctionTool$inboundSchema: z.ZodType<
|
|
3589
3985
|
FunctionTool,
|
|
3590
3986
|
z.ZodTypeDef,
|
|
3591
3987
|
unknown
|
|
3592
3988
|
> = z.object({
|
|
3593
|
-
type:
|
|
3989
|
+
type:
|
|
3990
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema
|
|
3991
|
+
.default("function"),
|
|
3594
3992
|
key: z.string().optional(),
|
|
3595
3993
|
id: z.string().optional(),
|
|
3596
3994
|
requires_approval: z.boolean().default(false),
|
|
@@ -3601,7 +3999,7 @@ export const FunctionTool$inboundSchema: z.ZodType<
|
|
|
3601
3999
|
});
|
|
3602
4000
|
/** @internal */
|
|
3603
4001
|
export type FunctionTool$Outbound = {
|
|
3604
|
-
type:
|
|
4002
|
+
type: string;
|
|
3605
4003
|
key?: string | undefined;
|
|
3606
4004
|
id?: string | undefined;
|
|
3607
4005
|
requires_approval: boolean;
|
|
@@ -3613,7 +4011,9 @@ export const FunctionTool$outboundSchema: z.ZodType<
|
|
|
3613
4011
|
z.ZodTypeDef,
|
|
3614
4012
|
FunctionTool
|
|
3615
4013
|
> = z.object({
|
|
3616
|
-
type:
|
|
4014
|
+
type:
|
|
4015
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
|
|
4016
|
+
.default("function"),
|
|
3617
4017
|
key: z.string().optional(),
|
|
3618
4018
|
id: z.string().optional(),
|
|
3619
4019
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3636,13 +4036,29 @@ export function functionToolFromJSON(
|
|
|
3636
4036
|
);
|
|
3637
4037
|
}
|
|
3638
4038
|
|
|
4039
|
+
/** @internal */
|
|
4040
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema:
|
|
4041
|
+
z.ZodNativeEnum<
|
|
4042
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
4043
|
+
> = z.nativeEnum(
|
|
4044
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type,
|
|
4045
|
+
);
|
|
4046
|
+
/** @internal */
|
|
4047
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema:
|
|
4048
|
+
z.ZodNativeEnum<
|
|
4049
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type
|
|
4050
|
+
> =
|
|
4051
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
4052
|
+
|
|
3639
4053
|
/** @internal */
|
|
3640
4054
|
export const CodeExecutionTool$inboundSchema: z.ZodType<
|
|
3641
4055
|
CodeExecutionTool,
|
|
3642
4056
|
z.ZodTypeDef,
|
|
3643
4057
|
unknown
|
|
3644
4058
|
> = z.object({
|
|
3645
|
-
type:
|
|
4059
|
+
type:
|
|
4060
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema
|
|
4061
|
+
.default("code"),
|
|
3646
4062
|
key: z.string().optional(),
|
|
3647
4063
|
id: z.string().optional(),
|
|
3648
4064
|
requires_approval: z.boolean().default(false),
|
|
@@ -3653,7 +4069,7 @@ export const CodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
3653
4069
|
});
|
|
3654
4070
|
/** @internal */
|
|
3655
4071
|
export type CodeExecutionTool$Outbound = {
|
|
3656
|
-
type:
|
|
4072
|
+
type: string;
|
|
3657
4073
|
key?: string | undefined;
|
|
3658
4074
|
id?: string | undefined;
|
|
3659
4075
|
requires_approval: boolean;
|
|
@@ -3665,7 +4081,9 @@ export const CodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
3665
4081
|
z.ZodTypeDef,
|
|
3666
4082
|
CodeExecutionTool
|
|
3667
4083
|
> = z.object({
|
|
3668
|
-
type:
|
|
4084
|
+
type:
|
|
4085
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
|
|
4086
|
+
.default("code"),
|
|
3669
4087
|
key: z.string().optional(),
|
|
3670
4088
|
id: z.string().optional(),
|
|
3671
4089
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3692,13 +4110,29 @@ export function codeExecutionToolFromJSON(
|
|
|
3692
4110
|
);
|
|
3693
4111
|
}
|
|
3694
4112
|
|
|
4113
|
+
/** @internal */
|
|
4114
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema:
|
|
4115
|
+
z.ZodNativeEnum<
|
|
4116
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
4117
|
+
> = z.nativeEnum(
|
|
4118
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type,
|
|
4119
|
+
);
|
|
4120
|
+
/** @internal */
|
|
4121
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema:
|
|
4122
|
+
z.ZodNativeEnum<
|
|
4123
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type
|
|
4124
|
+
> =
|
|
4125
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
4126
|
+
|
|
3695
4127
|
/** @internal */
|
|
3696
4128
|
export const HTTPTool$inboundSchema: z.ZodType<
|
|
3697
4129
|
HTTPTool,
|
|
3698
4130
|
z.ZodTypeDef,
|
|
3699
4131
|
unknown
|
|
3700
4132
|
> = z.object({
|
|
3701
|
-
type:
|
|
4133
|
+
type:
|
|
4134
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema
|
|
4135
|
+
.default("http"),
|
|
3702
4136
|
key: z.string().optional(),
|
|
3703
4137
|
id: z.string().optional(),
|
|
3704
4138
|
requires_approval: z.boolean().default(false),
|
|
@@ -3709,7 +4143,7 @@ export const HTTPTool$inboundSchema: z.ZodType<
|
|
|
3709
4143
|
});
|
|
3710
4144
|
/** @internal */
|
|
3711
4145
|
export type HTTPTool$Outbound = {
|
|
3712
|
-
type:
|
|
4146
|
+
type: string;
|
|
3713
4147
|
key?: string | undefined;
|
|
3714
4148
|
id?: string | undefined;
|
|
3715
4149
|
requires_approval: boolean;
|
|
@@ -3721,7 +4155,9 @@ export const HTTPTool$outboundSchema: z.ZodType<
|
|
|
3721
4155
|
z.ZodTypeDef,
|
|
3722
4156
|
HTTPTool
|
|
3723
4157
|
> = z.object({
|
|
3724
|
-
type:
|
|
4158
|
+
type:
|
|
4159
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema
|
|
4160
|
+
.default("http"),
|
|
3725
4161
|
key: z.string().optional(),
|
|
3726
4162
|
id: z.string().optional(),
|
|
3727
4163
|
requiresApproval: z.boolean().default(false),
|
|
@@ -3744,13 +4180,28 @@ export function httpToolFromJSON(
|
|
|
3744
4180
|
);
|
|
3745
4181
|
}
|
|
3746
4182
|
|
|
4183
|
+
/** @internal */
|
|
4184
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema:
|
|
4185
|
+
z.ZodNativeEnum<
|
|
4186
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
4187
|
+
> = z.nativeEnum(
|
|
4188
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type,
|
|
4189
|
+
);
|
|
4190
|
+
/** @internal */
|
|
4191
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema:
|
|
4192
|
+
z.ZodNativeEnum<
|
|
4193
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type
|
|
4194
|
+
> =
|
|
4195
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
4196
|
+
|
|
3747
4197
|
/** @internal */
|
|
3748
4198
|
export const CurrentDateTool$inboundSchema: z.ZodType<
|
|
3749
4199
|
CurrentDateTool,
|
|
3750
4200
|
z.ZodTypeDef,
|
|
3751
4201
|
unknown
|
|
3752
4202
|
> = z.object({
|
|
3753
|
-
type:
|
|
4203
|
+
type:
|
|
4204
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema,
|
|
3754
4205
|
requires_approval: z.boolean().optional(),
|
|
3755
4206
|
}).transform((v) => {
|
|
3756
4207
|
return remap$(v, {
|
|
@@ -3759,7 +4210,7 @@ export const CurrentDateTool$inboundSchema: z.ZodType<
|
|
|
3759
4210
|
});
|
|
3760
4211
|
/** @internal */
|
|
3761
4212
|
export type CurrentDateTool$Outbound = {
|
|
3762
|
-
type:
|
|
4213
|
+
type: string;
|
|
3763
4214
|
requires_approval?: boolean | undefined;
|
|
3764
4215
|
};
|
|
3765
4216
|
|
|
@@ -3769,7 +4220,8 @@ export const CurrentDateTool$outboundSchema: z.ZodType<
|
|
|
3769
4220
|
z.ZodTypeDef,
|
|
3770
4221
|
CurrentDateTool
|
|
3771
4222
|
> = z.object({
|
|
3772
|
-
type:
|
|
4223
|
+
type:
|
|
4224
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
3773
4225
|
requiresApproval: z.boolean().optional(),
|
|
3774
4226
|
}).transform((v) => {
|
|
3775
4227
|
return remap$(v, {
|
|
@@ -3792,13 +4244,28 @@ export function currentDateToolFromJSON(
|
|
|
3792
4244
|
);
|
|
3793
4245
|
}
|
|
3794
4246
|
|
|
4247
|
+
/** @internal */
|
|
4248
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema:
|
|
4249
|
+
z.ZodNativeEnum<
|
|
4250
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
4251
|
+
> = z.nativeEnum(
|
|
4252
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type,
|
|
4253
|
+
);
|
|
4254
|
+
/** @internal */
|
|
4255
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema:
|
|
4256
|
+
z.ZodNativeEnum<
|
|
4257
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type
|
|
4258
|
+
> =
|
|
4259
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
4260
|
+
|
|
3795
4261
|
/** @internal */
|
|
3796
4262
|
export const QueryKnowledgeBaseTool$inboundSchema: z.ZodType<
|
|
3797
4263
|
QueryKnowledgeBaseTool,
|
|
3798
4264
|
z.ZodTypeDef,
|
|
3799
4265
|
unknown
|
|
3800
4266
|
> = z.object({
|
|
3801
|
-
type:
|
|
4267
|
+
type:
|
|
4268
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema,
|
|
3802
4269
|
requires_approval: z.boolean().optional(),
|
|
3803
4270
|
}).transform((v) => {
|
|
3804
4271
|
return remap$(v, {
|
|
@@ -3807,7 +4274,7 @@ export const QueryKnowledgeBaseTool$inboundSchema: z.ZodType<
|
|
|
3807
4274
|
});
|
|
3808
4275
|
/** @internal */
|
|
3809
4276
|
export type QueryKnowledgeBaseTool$Outbound = {
|
|
3810
|
-
type:
|
|
4277
|
+
type: string;
|
|
3811
4278
|
requires_approval?: boolean | undefined;
|
|
3812
4279
|
};
|
|
3813
4280
|
|
|
@@ -3817,7 +4284,8 @@ export const QueryKnowledgeBaseTool$outboundSchema: z.ZodType<
|
|
|
3817
4284
|
z.ZodTypeDef,
|
|
3818
4285
|
QueryKnowledgeBaseTool
|
|
3819
4286
|
> = z.object({
|
|
3820
|
-
type:
|
|
4287
|
+
type:
|
|
4288
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
3821
4289
|
requiresApproval: z.boolean().optional(),
|
|
3822
4290
|
}).transform((v) => {
|
|
3823
4291
|
return remap$(v, {
|
|
@@ -3842,13 +4310,28 @@ export function queryKnowledgeBaseToolFromJSON(
|
|
|
3842
4310
|
);
|
|
3843
4311
|
}
|
|
3844
4312
|
|
|
4313
|
+
/** @internal */
|
|
4314
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema:
|
|
4315
|
+
z.ZodNativeEnum<
|
|
4316
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
4317
|
+
> = z.nativeEnum(
|
|
4318
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type,
|
|
4319
|
+
);
|
|
4320
|
+
/** @internal */
|
|
4321
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema:
|
|
4322
|
+
z.ZodNativeEnum<
|
|
4323
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type
|
|
4324
|
+
> =
|
|
4325
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
4326
|
+
|
|
3845
4327
|
/** @internal */
|
|
3846
4328
|
export const RetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<
|
|
3847
4329
|
RetrieveKnowledgeBasesTool,
|
|
3848
4330
|
z.ZodTypeDef,
|
|
3849
4331
|
unknown
|
|
3850
4332
|
> = z.object({
|
|
3851
|
-
type:
|
|
4333
|
+
type:
|
|
4334
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema,
|
|
3852
4335
|
requires_approval: z.boolean().optional(),
|
|
3853
4336
|
}).transform((v) => {
|
|
3854
4337
|
return remap$(v, {
|
|
@@ -3857,7 +4340,7 @@ export const RetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<
|
|
|
3857
4340
|
});
|
|
3858
4341
|
/** @internal */
|
|
3859
4342
|
export type RetrieveKnowledgeBasesTool$Outbound = {
|
|
3860
|
-
type:
|
|
4343
|
+
type: string;
|
|
3861
4344
|
requires_approval?: boolean | undefined;
|
|
3862
4345
|
};
|
|
3863
4346
|
|
|
@@ -3867,7 +4350,8 @@ export const RetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<
|
|
|
3867
4350
|
z.ZodTypeDef,
|
|
3868
4351
|
RetrieveKnowledgeBasesTool
|
|
3869
4352
|
> = z.object({
|
|
3870
|
-
type:
|
|
4353
|
+
type:
|
|
4354
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
3871
4355
|
requiresApproval: z.boolean().optional(),
|
|
3872
4356
|
}).transform((v) => {
|
|
3873
4357
|
return remap$(v, {
|
|
@@ -3892,13 +4376,28 @@ export function retrieveKnowledgeBasesToolFromJSON(
|
|
|
3892
4376
|
);
|
|
3893
4377
|
}
|
|
3894
4378
|
|
|
4379
|
+
/** @internal */
|
|
4380
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema:
|
|
4381
|
+
z.ZodNativeEnum<
|
|
4382
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
4383
|
+
> = z.nativeEnum(
|
|
4384
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type,
|
|
4385
|
+
);
|
|
4386
|
+
/** @internal */
|
|
4387
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema:
|
|
4388
|
+
z.ZodNativeEnum<
|
|
4389
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type
|
|
4390
|
+
> =
|
|
4391
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
4392
|
+
|
|
3895
4393
|
/** @internal */
|
|
3896
4394
|
export const DeleteMemoryDocumentTool$inboundSchema: z.ZodType<
|
|
3897
4395
|
DeleteMemoryDocumentTool,
|
|
3898
4396
|
z.ZodTypeDef,
|
|
3899
4397
|
unknown
|
|
3900
4398
|
> = z.object({
|
|
3901
|
-
type:
|
|
4399
|
+
type:
|
|
4400
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema,
|
|
3902
4401
|
requires_approval: z.boolean().optional(),
|
|
3903
4402
|
}).transform((v) => {
|
|
3904
4403
|
return remap$(v, {
|
|
@@ -3907,7 +4406,7 @@ export const DeleteMemoryDocumentTool$inboundSchema: z.ZodType<
|
|
|
3907
4406
|
});
|
|
3908
4407
|
/** @internal */
|
|
3909
4408
|
export type DeleteMemoryDocumentTool$Outbound = {
|
|
3910
|
-
type:
|
|
4409
|
+
type: string;
|
|
3911
4410
|
requires_approval?: boolean | undefined;
|
|
3912
4411
|
};
|
|
3913
4412
|
|
|
@@ -3917,7 +4416,8 @@ export const DeleteMemoryDocumentTool$outboundSchema: z.ZodType<
|
|
|
3917
4416
|
z.ZodTypeDef,
|
|
3918
4417
|
DeleteMemoryDocumentTool
|
|
3919
4418
|
> = z.object({
|
|
3920
|
-
type:
|
|
4419
|
+
type:
|
|
4420
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
3921
4421
|
requiresApproval: z.boolean().optional(),
|
|
3922
4422
|
}).transform((v) => {
|
|
3923
4423
|
return remap$(v, {
|
|
@@ -3942,13 +4442,28 @@ export function deleteMemoryDocumentToolFromJSON(
|
|
|
3942
4442
|
);
|
|
3943
4443
|
}
|
|
3944
4444
|
|
|
4445
|
+
/** @internal */
|
|
4446
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema:
|
|
4447
|
+
z.ZodNativeEnum<
|
|
4448
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
4449
|
+
> = z.nativeEnum(
|
|
4450
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType,
|
|
4451
|
+
);
|
|
4452
|
+
/** @internal */
|
|
4453
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema:
|
|
4454
|
+
z.ZodNativeEnum<
|
|
4455
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType
|
|
4456
|
+
> =
|
|
4457
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
4458
|
+
|
|
3945
4459
|
/** @internal */
|
|
3946
4460
|
export const RetrieveMemoryStoresTool$inboundSchema: z.ZodType<
|
|
3947
4461
|
RetrieveMemoryStoresTool,
|
|
3948
4462
|
z.ZodTypeDef,
|
|
3949
4463
|
unknown
|
|
3950
4464
|
> = z.object({
|
|
3951
|
-
type:
|
|
4465
|
+
type:
|
|
4466
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema,
|
|
3952
4467
|
requires_approval: z.boolean().optional(),
|
|
3953
4468
|
}).transform((v) => {
|
|
3954
4469
|
return remap$(v, {
|
|
@@ -3957,7 +4472,7 @@ export const RetrieveMemoryStoresTool$inboundSchema: z.ZodType<
|
|
|
3957
4472
|
});
|
|
3958
4473
|
/** @internal */
|
|
3959
4474
|
export type RetrieveMemoryStoresTool$Outbound = {
|
|
3960
|
-
type:
|
|
4475
|
+
type: string;
|
|
3961
4476
|
requires_approval?: boolean | undefined;
|
|
3962
4477
|
};
|
|
3963
4478
|
|
|
@@ -3967,7 +4482,8 @@ export const RetrieveMemoryStoresTool$outboundSchema: z.ZodType<
|
|
|
3967
4482
|
z.ZodTypeDef,
|
|
3968
4483
|
RetrieveMemoryStoresTool
|
|
3969
4484
|
> = z.object({
|
|
3970
|
-
type:
|
|
4485
|
+
type:
|
|
4486
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
3971
4487
|
requiresApproval: z.boolean().optional(),
|
|
3972
4488
|
}).transform((v) => {
|
|
3973
4489
|
return remap$(v, {
|
|
@@ -3992,13 +4508,28 @@ export function retrieveMemoryStoresToolFromJSON(
|
|
|
3992
4508
|
);
|
|
3993
4509
|
}
|
|
3994
4510
|
|
|
4511
|
+
/** @internal */
|
|
4512
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema:
|
|
4513
|
+
z.ZodNativeEnum<
|
|
4514
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
4515
|
+
> = z.nativeEnum(
|
|
4516
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType,
|
|
4517
|
+
);
|
|
4518
|
+
/** @internal */
|
|
4519
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema:
|
|
4520
|
+
z.ZodNativeEnum<
|
|
4521
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType
|
|
4522
|
+
> =
|
|
4523
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
4524
|
+
|
|
3995
4525
|
/** @internal */
|
|
3996
4526
|
export const WriteMemoryStoreTool$inboundSchema: z.ZodType<
|
|
3997
4527
|
WriteMemoryStoreTool,
|
|
3998
4528
|
z.ZodTypeDef,
|
|
3999
4529
|
unknown
|
|
4000
4530
|
> = z.object({
|
|
4001
|
-
type:
|
|
4531
|
+
type:
|
|
4532
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema,
|
|
4002
4533
|
requires_approval: z.boolean().optional(),
|
|
4003
4534
|
}).transform((v) => {
|
|
4004
4535
|
return remap$(v, {
|
|
@@ -4007,7 +4538,7 @@ export const WriteMemoryStoreTool$inboundSchema: z.ZodType<
|
|
|
4007
4538
|
});
|
|
4008
4539
|
/** @internal */
|
|
4009
4540
|
export type WriteMemoryStoreTool$Outbound = {
|
|
4010
|
-
type:
|
|
4541
|
+
type: string;
|
|
4011
4542
|
requires_approval?: boolean | undefined;
|
|
4012
4543
|
};
|
|
4013
4544
|
|
|
@@ -4017,7 +4548,8 @@ export const WriteMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4017
4548
|
z.ZodTypeDef,
|
|
4018
4549
|
WriteMemoryStoreTool
|
|
4019
4550
|
> = z.object({
|
|
4020
|
-
type:
|
|
4551
|
+
type:
|
|
4552
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
4021
4553
|
requiresApproval: z.boolean().optional(),
|
|
4022
4554
|
}).transform((v) => {
|
|
4023
4555
|
return remap$(v, {
|
|
@@ -4042,13 +4574,28 @@ export function writeMemoryStoreToolFromJSON(
|
|
|
4042
4574
|
);
|
|
4043
4575
|
}
|
|
4044
4576
|
|
|
4577
|
+
/** @internal */
|
|
4578
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema:
|
|
4579
|
+
z.ZodNativeEnum<
|
|
4580
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType
|
|
4581
|
+
> = z.nativeEnum(
|
|
4582
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType,
|
|
4583
|
+
);
|
|
4584
|
+
/** @internal */
|
|
4585
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema:
|
|
4586
|
+
z.ZodNativeEnum<
|
|
4587
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType
|
|
4588
|
+
> =
|
|
4589
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema;
|
|
4590
|
+
|
|
4045
4591
|
/** @internal */
|
|
4046
4592
|
export const QueryMemoryStoreTool$inboundSchema: z.ZodType<
|
|
4047
4593
|
QueryMemoryStoreTool,
|
|
4048
4594
|
z.ZodTypeDef,
|
|
4049
4595
|
unknown
|
|
4050
4596
|
> = z.object({
|
|
4051
|
-
type:
|
|
4597
|
+
type:
|
|
4598
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema,
|
|
4052
4599
|
requires_approval: z.boolean().optional(),
|
|
4053
4600
|
}).transform((v) => {
|
|
4054
4601
|
return remap$(v, {
|
|
@@ -4057,7 +4604,7 @@ export const QueryMemoryStoreTool$inboundSchema: z.ZodType<
|
|
|
4057
4604
|
});
|
|
4058
4605
|
/** @internal */
|
|
4059
4606
|
export type QueryMemoryStoreTool$Outbound = {
|
|
4060
|
-
type:
|
|
4607
|
+
type: string;
|
|
4061
4608
|
requires_approval?: boolean | undefined;
|
|
4062
4609
|
};
|
|
4063
4610
|
|
|
@@ -4067,7 +4614,8 @@ export const QueryMemoryStoreTool$outboundSchema: z.ZodType<
|
|
|
4067
4614
|
z.ZodTypeDef,
|
|
4068
4615
|
QueryMemoryStoreTool
|
|
4069
4616
|
> = z.object({
|
|
4070
|
-
type:
|
|
4617
|
+
type:
|
|
4618
|
+
CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
|
|
4071
4619
|
requiresApproval: z.boolean().optional(),
|
|
4072
4620
|
}).transform((v) => {
|
|
4073
4621
|
return remap$(v, {
|
|
@@ -4092,13 +4640,24 @@ export function queryMemoryStoreToolFromJSON(
|
|
|
4092
4640
|
);
|
|
4093
4641
|
}
|
|
4094
4642
|
|
|
4643
|
+
/** @internal */
|
|
4644
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestType$inboundSchema:
|
|
4645
|
+
z.ZodNativeEnum<
|
|
4646
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType
|
|
4647
|
+
> = z.nativeEnum(CreateAgentRequestAgentToolInputCRUDAgentsRequestType);
|
|
4648
|
+
/** @internal */
|
|
4649
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsRequestType$outboundSchema:
|
|
4650
|
+
z.ZodNativeEnum<
|
|
4651
|
+
typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType
|
|
4652
|
+
> = CreateAgentRequestAgentToolInputCRUDAgentsRequestType$inboundSchema;
|
|
4653
|
+
|
|
4095
4654
|
/** @internal */
|
|
4096
4655
|
export const RetrieveAgentsTool$inboundSchema: z.ZodType<
|
|
4097
4656
|
RetrieveAgentsTool,
|
|
4098
4657
|
z.ZodTypeDef,
|
|
4099
4658
|
unknown
|
|
4100
4659
|
> = z.object({
|
|
4101
|
-
type:
|
|
4660
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsRequestType$inboundSchema,
|
|
4102
4661
|
requires_approval: z.boolean().optional(),
|
|
4103
4662
|
}).transform((v) => {
|
|
4104
4663
|
return remap$(v, {
|
|
@@ -4107,7 +4666,7 @@ export const RetrieveAgentsTool$inboundSchema: z.ZodType<
|
|
|
4107
4666
|
});
|
|
4108
4667
|
/** @internal */
|
|
4109
4668
|
export type RetrieveAgentsTool$Outbound = {
|
|
4110
|
-
type:
|
|
4669
|
+
type: string;
|
|
4111
4670
|
requires_approval?: boolean | undefined;
|
|
4112
4671
|
};
|
|
4113
4672
|
|
|
@@ -4117,7 +4676,7 @@ export const RetrieveAgentsTool$outboundSchema: z.ZodType<
|
|
|
4117
4676
|
z.ZodTypeDef,
|
|
4118
4677
|
RetrieveAgentsTool
|
|
4119
4678
|
> = z.object({
|
|
4120
|
-
type:
|
|
4679
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsRequestType$outboundSchema,
|
|
4121
4680
|
requiresApproval: z.boolean().optional(),
|
|
4122
4681
|
}).transform((v) => {
|
|
4123
4682
|
return remap$(v, {
|
|
@@ -4142,13 +4701,22 @@ export function retrieveAgentsToolFromJSON(
|
|
|
4142
4701
|
);
|
|
4143
4702
|
}
|
|
4144
4703
|
|
|
4704
|
+
/** @internal */
|
|
4705
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsType$inboundSchema:
|
|
4706
|
+
z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsType> = z
|
|
4707
|
+
.nativeEnum(CreateAgentRequestAgentToolInputCRUDAgentsType);
|
|
4708
|
+
/** @internal */
|
|
4709
|
+
export const CreateAgentRequestAgentToolInputCRUDAgentsType$outboundSchema:
|
|
4710
|
+
z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsType> =
|
|
4711
|
+
CreateAgentRequestAgentToolInputCRUDAgentsType$inboundSchema;
|
|
4712
|
+
|
|
4145
4713
|
/** @internal */
|
|
4146
4714
|
export const CallSubAgentTool$inboundSchema: z.ZodType<
|
|
4147
4715
|
CallSubAgentTool,
|
|
4148
4716
|
z.ZodTypeDef,
|
|
4149
4717
|
unknown
|
|
4150
4718
|
> = z.object({
|
|
4151
|
-
type:
|
|
4719
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsType$inboundSchema,
|
|
4152
4720
|
requires_approval: z.boolean().optional(),
|
|
4153
4721
|
}).transform((v) => {
|
|
4154
4722
|
return remap$(v, {
|
|
@@ -4157,7 +4725,7 @@ export const CallSubAgentTool$inboundSchema: z.ZodType<
|
|
|
4157
4725
|
});
|
|
4158
4726
|
/** @internal */
|
|
4159
4727
|
export type CallSubAgentTool$Outbound = {
|
|
4160
|
-
type:
|
|
4728
|
+
type: string;
|
|
4161
4729
|
requires_approval?: boolean | undefined;
|
|
4162
4730
|
};
|
|
4163
4731
|
|
|
@@ -4167,7 +4735,7 @@ export const CallSubAgentTool$outboundSchema: z.ZodType<
|
|
|
4167
4735
|
z.ZodTypeDef,
|
|
4168
4736
|
CallSubAgentTool
|
|
4169
4737
|
> = z.object({
|
|
4170
|
-
type:
|
|
4738
|
+
type: CreateAgentRequestAgentToolInputCRUDAgentsType$outboundSchema,
|
|
4171
4739
|
requiresApproval: z.boolean().optional(),
|
|
4172
4740
|
}).transform((v) => {
|
|
4173
4741
|
return remap$(v, {
|
|
@@ -4192,13 +4760,22 @@ export function callSubAgentToolFromJSON(
|
|
|
4192
4760
|
);
|
|
4193
4761
|
}
|
|
4194
4762
|
|
|
4763
|
+
/** @internal */
|
|
4764
|
+
export const CreateAgentRequestAgentToolInputCRUDType$inboundSchema:
|
|
4765
|
+
z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDType> = z
|
|
4766
|
+
.nativeEnum(CreateAgentRequestAgentToolInputCRUDType);
|
|
4767
|
+
/** @internal */
|
|
4768
|
+
export const CreateAgentRequestAgentToolInputCRUDType$outboundSchema:
|
|
4769
|
+
z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDType> =
|
|
4770
|
+
CreateAgentRequestAgentToolInputCRUDType$inboundSchema;
|
|
4771
|
+
|
|
4195
4772
|
/** @internal */
|
|
4196
4773
|
export const WebScraperTool$inboundSchema: z.ZodType<
|
|
4197
4774
|
WebScraperTool,
|
|
4198
4775
|
z.ZodTypeDef,
|
|
4199
4776
|
unknown
|
|
4200
4777
|
> = z.object({
|
|
4201
|
-
type:
|
|
4778
|
+
type: CreateAgentRequestAgentToolInputCRUDType$inboundSchema,
|
|
4202
4779
|
requires_approval: z.boolean().optional(),
|
|
4203
4780
|
}).transform((v) => {
|
|
4204
4781
|
return remap$(v, {
|
|
@@ -4207,7 +4784,7 @@ export const WebScraperTool$inboundSchema: z.ZodType<
|
|
|
4207
4784
|
});
|
|
4208
4785
|
/** @internal */
|
|
4209
4786
|
export type WebScraperTool$Outbound = {
|
|
4210
|
-
type:
|
|
4787
|
+
type: string;
|
|
4211
4788
|
requires_approval?: boolean | undefined;
|
|
4212
4789
|
};
|
|
4213
4790
|
|
|
@@ -4217,7 +4794,7 @@ export const WebScraperTool$outboundSchema: z.ZodType<
|
|
|
4217
4794
|
z.ZodTypeDef,
|
|
4218
4795
|
WebScraperTool
|
|
4219
4796
|
> = z.object({
|
|
4220
|
-
type:
|
|
4797
|
+
type: CreateAgentRequestAgentToolInputCRUDType$outboundSchema,
|
|
4221
4798
|
requiresApproval: z.boolean().optional(),
|
|
4222
4799
|
}).transform((v) => {
|
|
4223
4800
|
return remap$(v, {
|
|
@@ -4238,13 +4815,22 @@ export function webScraperToolFromJSON(
|
|
|
4238
4815
|
);
|
|
4239
4816
|
}
|
|
4240
4817
|
|
|
4818
|
+
/** @internal */
|
|
4819
|
+
export const AgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<
|
|
4820
|
+
typeof AgentToolInputCRUDType
|
|
4821
|
+
> = z.nativeEnum(AgentToolInputCRUDType);
|
|
4822
|
+
/** @internal */
|
|
4823
|
+
export const AgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<
|
|
4824
|
+
typeof AgentToolInputCRUDType
|
|
4825
|
+
> = AgentToolInputCRUDType$inboundSchema;
|
|
4826
|
+
|
|
4241
4827
|
/** @internal */
|
|
4242
4828
|
export const GoogleSearchTool$inboundSchema: z.ZodType<
|
|
4243
4829
|
GoogleSearchTool,
|
|
4244
4830
|
z.ZodTypeDef,
|
|
4245
4831
|
unknown
|
|
4246
4832
|
> = z.object({
|
|
4247
|
-
type:
|
|
4833
|
+
type: AgentToolInputCRUDType$inboundSchema,
|
|
4248
4834
|
requires_approval: z.boolean().optional(),
|
|
4249
4835
|
}).transform((v) => {
|
|
4250
4836
|
return remap$(v, {
|
|
@@ -4253,7 +4839,7 @@ export const GoogleSearchTool$inboundSchema: z.ZodType<
|
|
|
4253
4839
|
});
|
|
4254
4840
|
/** @internal */
|
|
4255
4841
|
export type GoogleSearchTool$Outbound = {
|
|
4256
|
-
type:
|
|
4842
|
+
type: string;
|
|
4257
4843
|
requires_approval?: boolean | undefined;
|
|
4258
4844
|
};
|
|
4259
4845
|
|
|
@@ -4263,7 +4849,7 @@ export const GoogleSearchTool$outboundSchema: z.ZodType<
|
|
|
4263
4849
|
z.ZodTypeDef,
|
|
4264
4850
|
GoogleSearchTool
|
|
4265
4851
|
> = z.object({
|
|
4266
|
-
type:
|
|
4852
|
+
type: AgentToolInputCRUDType$outboundSchema,
|
|
4267
4853
|
requiresApproval: z.boolean().optional(),
|
|
4268
4854
|
}).transform((v) => {
|
|
4269
4855
|
return remap$(v, {
|
|
@@ -4305,10 +4891,10 @@ export const AgentToolInputCRUD$inboundSchema: z.ZodType<
|
|
|
4305
4891
|
z.lazy(() => RetrieveKnowledgeBasesTool$inboundSchema),
|
|
4306
4892
|
z.lazy(() => QueryKnowledgeBaseTool$inboundSchema),
|
|
4307
4893
|
z.lazy(() => CurrentDateTool$inboundSchema),
|
|
4894
|
+
z.lazy(() => MCPTool$inboundSchema),
|
|
4308
4895
|
z.lazy(() => HTTPTool$inboundSchema),
|
|
4309
4896
|
z.lazy(() => CodeExecutionTool$inboundSchema),
|
|
4310
4897
|
z.lazy(() => FunctionTool$inboundSchema),
|
|
4311
|
-
z.lazy(() => MCPTool$inboundSchema),
|
|
4312
4898
|
]);
|
|
4313
4899
|
/** @internal */
|
|
4314
4900
|
export type AgentToolInputCRUD$Outbound =
|
|
@@ -4323,10 +4909,10 @@ export type AgentToolInputCRUD$Outbound =
|
|
|
4323
4909
|
| RetrieveKnowledgeBasesTool$Outbound
|
|
4324
4910
|
| QueryKnowledgeBaseTool$Outbound
|
|
4325
4911
|
| CurrentDateTool$Outbound
|
|
4912
|
+
| MCPTool$Outbound
|
|
4326
4913
|
| HTTPTool$Outbound
|
|
4327
4914
|
| CodeExecutionTool$Outbound
|
|
4328
|
-
| FunctionTool$Outbound
|
|
4329
|
-
| MCPTool$Outbound;
|
|
4915
|
+
| FunctionTool$Outbound;
|
|
4330
4916
|
|
|
4331
4917
|
/** @internal */
|
|
4332
4918
|
export const AgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
@@ -4345,10 +4931,10 @@ export const AgentToolInputCRUD$outboundSchema: z.ZodType<
|
|
|
4345
4931
|
z.lazy(() => RetrieveKnowledgeBasesTool$outboundSchema),
|
|
4346
4932
|
z.lazy(() => QueryKnowledgeBaseTool$outboundSchema),
|
|
4347
4933
|
z.lazy(() => CurrentDateTool$outboundSchema),
|
|
4934
|
+
z.lazy(() => MCPTool$outboundSchema),
|
|
4348
4935
|
z.lazy(() => HTTPTool$outboundSchema),
|
|
4349
4936
|
z.lazy(() => CodeExecutionTool$outboundSchema),
|
|
4350
4937
|
z.lazy(() => FunctionTool$outboundSchema),
|
|
4351
|
-
z.lazy(() => MCPTool$outboundSchema),
|
|
4352
4938
|
]);
|
|
4353
4939
|
|
|
4354
4940
|
export function agentToolInputCRUDToJSON(
|
|
@@ -4510,10 +5096,10 @@ export const Settings$inboundSchema: z.ZodType<
|
|
|
4510
5096
|
z.lazy(() => RetrieveKnowledgeBasesTool$inboundSchema),
|
|
4511
5097
|
z.lazy(() => QueryKnowledgeBaseTool$inboundSchema),
|
|
4512
5098
|
z.lazy(() => CurrentDateTool$inboundSchema),
|
|
5099
|
+
z.lazy(() => MCPTool$inboundSchema),
|
|
4513
5100
|
z.lazy(() => HTTPTool$inboundSchema),
|
|
4514
5101
|
z.lazy(() => CodeExecutionTool$inboundSchema),
|
|
4515
5102
|
z.lazy(() => FunctionTool$inboundSchema),
|
|
4516
|
-
z.lazy(() => MCPTool$inboundSchema),
|
|
4517
5103
|
]),
|
|
4518
5104
|
).optional(),
|
|
4519
5105
|
evaluators: z.array(z.lazy(() => Evaluators$inboundSchema)).optional(),
|
|
@@ -4543,10 +5129,10 @@ export type Settings$Outbound = {
|
|
|
4543
5129
|
| RetrieveKnowledgeBasesTool$Outbound
|
|
4544
5130
|
| QueryKnowledgeBaseTool$Outbound
|
|
4545
5131
|
| CurrentDateTool$Outbound
|
|
5132
|
+
| MCPTool$Outbound
|
|
4546
5133
|
| HTTPTool$Outbound
|
|
4547
5134
|
| CodeExecutionTool$Outbound
|
|
4548
5135
|
| FunctionTool$Outbound
|
|
4549
|
-
| MCPTool$Outbound
|
|
4550
5136
|
>
|
|
4551
5137
|
| undefined;
|
|
4552
5138
|
evaluators?: Array<Evaluators$Outbound> | undefined;
|
|
@@ -4577,10 +5163,10 @@ export const Settings$outboundSchema: z.ZodType<
|
|
|
4577
5163
|
z.lazy(() => RetrieveKnowledgeBasesTool$outboundSchema),
|
|
4578
5164
|
z.lazy(() => QueryKnowledgeBaseTool$outboundSchema),
|
|
4579
5165
|
z.lazy(() => CurrentDateTool$outboundSchema),
|
|
5166
|
+
z.lazy(() => MCPTool$outboundSchema),
|
|
4580
5167
|
z.lazy(() => HTTPTool$outboundSchema),
|
|
4581
5168
|
z.lazy(() => CodeExecutionTool$outboundSchema),
|
|
4582
5169
|
z.lazy(() => FunctionTool$outboundSchema),
|
|
4583
|
-
z.lazy(() => MCPTool$outboundSchema),
|
|
4584
5170
|
]),
|
|
4585
5171
|
).optional(),
|
|
4586
5172
|
evaluators: z.array(z.lazy(() => Evaluators$outboundSchema)).optional(),
|
|
@@ -5467,6 +6053,15 @@ export function createAgentRequestResponseFormatFromJSON(
|
|
|
5467
6053
|
);
|
|
5468
6054
|
}
|
|
5469
6055
|
|
|
6056
|
+
/** @internal */
|
|
6057
|
+
export const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<
|
|
6058
|
+
typeof CreateAgentRequestReasoningEffort
|
|
6059
|
+
> = z.nativeEnum(CreateAgentRequestReasoningEffort);
|
|
6060
|
+
/** @internal */
|
|
6061
|
+
export const CreateAgentRequestReasoningEffort$outboundSchema: z.ZodNativeEnum<
|
|
6062
|
+
typeof CreateAgentRequestReasoningEffort
|
|
6063
|
+
> = CreateAgentRequestReasoningEffort$inboundSchema;
|
|
6064
|
+
|
|
5470
6065
|
/** @internal */
|
|
5471
6066
|
export const CreateAgentRequestStop$inboundSchema: z.ZodType<
|
|
5472
6067
|
CreateAgentRequestStop,
|
|
@@ -5779,7 +6374,7 @@ export const CreateAgentRequestParameters$inboundSchema: z.ZodType<
|
|
|
5779
6374
|
CreateAgentRequestResponseFormatAgentsResponse201JSONSchema$inboundSchema
|
|
5780
6375
|
),
|
|
5781
6376
|
]).optional(),
|
|
5782
|
-
reasoning_effort:
|
|
6377
|
+
reasoning_effort: CreateAgentRequestReasoningEffort$inboundSchema.optional(),
|
|
5783
6378
|
verbosity: z.string().optional(),
|
|
5784
6379
|
seed: z.nullable(z.number()).optional(),
|
|
5785
6380
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -5873,7 +6468,7 @@ export const CreateAgentRequestParameters$outboundSchema: z.ZodType<
|
|
|
5873
6468
|
CreateAgentRequestResponseFormatAgentsResponse201JSONSchema$outboundSchema
|
|
5874
6469
|
),
|
|
5875
6470
|
]).optional(),
|
|
5876
|
-
reasoningEffort:
|
|
6471
|
+
reasoningEffort: CreateAgentRequestReasoningEffort$outboundSchema.optional(),
|
|
5877
6472
|
verbosity: z.string().optional(),
|
|
5878
6473
|
seed: z.nullable(z.number()).optional(),
|
|
5879
6474
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -6336,6 +6931,17 @@ export function createAgentRequestFallbackModelConfigurationResponseFormatFromJS
|
|
|
6336
6931
|
);
|
|
6337
6932
|
}
|
|
6338
6933
|
|
|
6934
|
+
/** @internal */
|
|
6935
|
+
export const CreateAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema:
|
|
6936
|
+
z.ZodNativeEnum<
|
|
6937
|
+
typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
6938
|
+
> = z.nativeEnum(CreateAgentRequestFallbackModelConfigurationReasoningEffort);
|
|
6939
|
+
/** @internal */
|
|
6940
|
+
export const CreateAgentRequestFallbackModelConfigurationReasoningEffort$outboundSchema:
|
|
6941
|
+
z.ZodNativeEnum<
|
|
6942
|
+
typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort
|
|
6943
|
+
> = CreateAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema;
|
|
6944
|
+
|
|
6339
6945
|
/** @internal */
|
|
6340
6946
|
export const CreateAgentRequestFallbackModelConfigurationStop$inboundSchema:
|
|
6341
6947
|
z.ZodType<
|
|
@@ -6708,7 +7314,9 @@ export const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchem
|
|
|
6708
7314
|
CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema$inboundSchema
|
|
6709
7315
|
),
|
|
6710
7316
|
]).optional(),
|
|
6711
|
-
reasoning_effort:
|
|
7317
|
+
reasoning_effort:
|
|
7318
|
+
CreateAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema
|
|
7319
|
+
.optional(),
|
|
6712
7320
|
verbosity: z.string().optional(),
|
|
6713
7321
|
seed: z.nullable(z.number()).optional(),
|
|
6714
7322
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -6819,7 +7427,9 @@ export const CreateAgentRequestFallbackModelConfigurationParameters$outboundSche
|
|
|
6819
7427
|
CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema$outboundSchema
|
|
6820
7428
|
),
|
|
6821
7429
|
]).optional(),
|
|
6822
|
-
reasoningEffort:
|
|
7430
|
+
reasoningEffort:
|
|
7431
|
+
CreateAgentRequestFallbackModelConfigurationReasoningEffort$outboundSchema
|
|
7432
|
+
.optional(),
|
|
6823
7433
|
verbosity: z.string().optional(),
|
|
6824
7434
|
seed: z.nullable(z.number()).optional(),
|
|
6825
7435
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|