@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.
Files changed (121) hide show
  1. package/bin/mcp-server.js +662 -352
  2. package/bin/mcp-server.js.map +49 -49
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/conversationresponse.js +2 -2
  10. package/models/components/partdoneevent.js +2 -2
  11. package/models/components/reasoningpart.js +2 -2
  12. package/models/operations/createagentrequest.d.ts +370 -42
  13. package/models/operations/createagentrequest.d.ts.map +1 -1
  14. package/models/operations/createagentrequest.js +277 -48
  15. package/models/operations/createagentrequest.js.map +1 -1
  16. package/models/operations/createbudget.js +2 -2
  17. package/models/operations/createcontact.js +2 -2
  18. package/models/operations/createconversation.js +2 -2
  19. package/models/operations/createdataset.js +2 -2
  20. package/models/operations/createdatasetitem.js +8 -8
  21. package/models/operations/createdatasource.js +2 -2
  22. package/models/operations/createeval.js +28 -28
  23. package/models/operations/createprompt.d.ts +10 -10
  24. package/models/operations/createprompt.d.ts.map +1 -1
  25. package/models/operations/createprompt.js +13 -13
  26. package/models/operations/createprompt.js.map +1 -1
  27. package/models/operations/createtool.js +12 -12
  28. package/models/operations/fileget.js +2 -2
  29. package/models/operations/filelist.js +2 -2
  30. package/models/operations/fileupload.js +2 -2
  31. package/models/operations/generateconversationname.js +2 -2
  32. package/models/operations/getalltools.js +12 -12
  33. package/models/operations/getbudget.js +2 -2
  34. package/models/operations/getevals.js +28 -28
  35. package/models/operations/listagents.d.ts +96 -4
  36. package/models/operations/listagents.d.ts.map +1 -1
  37. package/models/operations/listagents.js +57 -7
  38. package/models/operations/listagents.js.map +1 -1
  39. package/models/operations/listbudgets.js +2 -2
  40. package/models/operations/listcontacts.js +2 -2
  41. package/models/operations/listdatasetdatapoints.js +8 -8
  42. package/models/operations/listdatasets.js +2 -2
  43. package/models/operations/listdatasources.js +2 -2
  44. package/models/operations/retrieveagentrequest.d.ts +96 -4
  45. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  46. package/models/operations/retrieveagentrequest.js +59 -7
  47. package/models/operations/retrieveagentrequest.js.map +1 -1
  48. package/models/operations/retrievecontact.js +2 -2
  49. package/models/operations/retrieveconversation.js +2 -2
  50. package/models/operations/retrievedatapoint.js +8 -8
  51. package/models/operations/retrievedataset.js +2 -2
  52. package/models/operations/retrievedatasource.js +2 -2
  53. package/models/operations/retrievetool.js +12 -12
  54. package/models/operations/runagent.d.ts +96 -4
  55. package/models/operations/runagent.d.ts.map +1 -1
  56. package/models/operations/runagent.js +65 -11
  57. package/models/operations/runagent.js.map +1 -1
  58. package/models/operations/streamrunagent.d.ts +96 -4
  59. package/models/operations/streamrunagent.d.ts.map +1 -1
  60. package/models/operations/streamrunagent.js +63 -11
  61. package/models/operations/streamrunagent.js.map +1 -1
  62. package/models/operations/updateagent.d.ts +370 -42
  63. package/models/operations/updateagent.d.ts.map +1 -1
  64. package/models/operations/updateagent.js +276 -48
  65. package/models/operations/updateagent.js.map +1 -1
  66. package/models/operations/updatebudget.js +2 -2
  67. package/models/operations/updatecontact.js +2 -2
  68. package/models/operations/updateconversation.js +2 -2
  69. package/models/operations/updatedatapoint.js +8 -8
  70. package/models/operations/updatedataset.js +2 -2
  71. package/models/operations/updatedatasource.js +2 -2
  72. package/models/operations/updateeval.js +28 -28
  73. package/models/operations/updatetool.js +14 -14
  74. package/package.json +1 -1
  75. package/src/lib/config.ts +2 -2
  76. package/src/mcp-server/mcp-server.ts +1 -1
  77. package/src/mcp-server/server.ts +1 -1
  78. package/src/models/components/conversationresponse.ts +2 -2
  79. package/src/models/components/partdoneevent.ts +2 -2
  80. package/src/models/components/reasoningpart.ts +2 -2
  81. package/src/models/operations/createagentrequest.ts +696 -86
  82. package/src/models/operations/createbudget.ts +2 -2
  83. package/src/models/operations/createcontact.ts +2 -2
  84. package/src/models/operations/createconversation.ts +2 -2
  85. package/src/models/operations/createdataset.ts +2 -2
  86. package/src/models/operations/createdatasetitem.ts +8 -8
  87. package/src/models/operations/createdatasource.ts +2 -2
  88. package/src/models/operations/createeval.ts +28 -28
  89. package/src/models/operations/createprompt.ts +25 -23
  90. package/src/models/operations/createtool.ts +12 -12
  91. package/src/models/operations/fileget.ts +2 -2
  92. package/src/models/operations/filelist.ts +2 -2
  93. package/src/models/operations/fileupload.ts +2 -2
  94. package/src/models/operations/generateconversationname.ts +2 -2
  95. package/src/models/operations/getalltools.ts +12 -12
  96. package/src/models/operations/getbudget.ts +2 -2
  97. package/src/models/operations/getevals.ts +28 -28
  98. package/src/models/operations/listagents.ts +122 -8
  99. package/src/models/operations/listbudgets.ts +2 -2
  100. package/src/models/operations/listcontacts.ts +2 -2
  101. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  102. package/src/models/operations/listdatasets.ts +2 -2
  103. package/src/models/operations/listdatasources.ts +2 -2
  104. package/src/models/operations/retrieveagentrequest.ts +130 -8
  105. package/src/models/operations/retrievecontact.ts +2 -2
  106. package/src/models/operations/retrieveconversation.ts +2 -2
  107. package/src/models/operations/retrievedatapoint.ts +8 -8
  108. package/src/models/operations/retrievedataset.ts +2 -2
  109. package/src/models/operations/retrievedatasource.ts +2 -2
  110. package/src/models/operations/retrievetool.ts +12 -12
  111. package/src/models/operations/runagent.ts +126 -10
  112. package/src/models/operations/streamrunagent.ts +128 -10
  113. package/src/models/operations/updateagent.ts +698 -86
  114. package/src/models/operations/updatebudget.ts +2 -2
  115. package/src/models/operations/updatecontact.ts +2 -2
  116. package/src/models/operations/updateconversation.ts +2 -2
  117. package/src/models/operations/updatedatapoint.ts +8 -8
  118. package/src/models/operations/updatedataset.ts +2 -2
  119. package/src/models/operations/updatedatasource.ts +2 -2
  120. package/src/models/operations/updateeval.ts +28 -28
  121. package/src/models/operations/updatetool.ts +14 -14
@@ -92,6 +92,39 @@ export type Text = {
92
92
  * An object specifying the format that the model must output
93
93
  */
94
94
  export type ResponseFormat = Text | JSONObject | JSONSchema;
95
+ /**
96
+ * 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.
97
+ *
98
+ * @remarks
99
+ *
100
+ * - `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.
101
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
102
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
103
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
104
+ *
105
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
106
+ */
107
+ export declare const ReasoningEffort: {
108
+ readonly None: "none";
109
+ readonly Minimal: "minimal";
110
+ readonly Low: "low";
111
+ readonly Medium: "medium";
112
+ readonly High: "high";
113
+ readonly Xhigh: "xhigh";
114
+ };
115
+ /**
116
+ * 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.
117
+ *
118
+ * @remarks
119
+ *
120
+ * - `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.
121
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
122
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
123
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
124
+ *
125
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
126
+ */
127
+ export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
95
128
  /**
96
129
  * Up to 4 sequences where the API will stop generating further tokens.
97
130
  */
@@ -189,9 +222,18 @@ export type ParametersT = {
189
222
  */
190
223
  responseFormat?: Text | JSONObject | JSONSchema | undefined;
191
224
  /**
192
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
225
+ * 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.
226
+ *
227
+ * @remarks
228
+ *
229
+ * - `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.
230
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
231
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
232
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
233
+ *
234
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
193
235
  */
194
- reasoningEffort?: string | undefined;
236
+ reasoningEffort?: ReasoningEffort | undefined;
195
237
  /**
196
238
  * Adjusts response verbosity. Lower levels yield shorter answers.
197
239
  */
@@ -359,6 +401,39 @@ export type ResponseFormatText = {
359
401
  * An object specifying the format that the model must output
360
402
  */
361
403
  export type FallbackModelConfigurationResponseFormat = ResponseFormatText | ResponseFormatJSONObject | CreateAgentRequestResponseFormatJSONSchema;
404
+ /**
405
+ * 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.
406
+ *
407
+ * @remarks
408
+ *
409
+ * - `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.
410
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
411
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
412
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
413
+ *
414
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
415
+ */
416
+ export declare const FallbackModelConfigurationReasoningEffort: {
417
+ readonly None: "none";
418
+ readonly Minimal: "minimal";
419
+ readonly Low: "low";
420
+ readonly Medium: "medium";
421
+ readonly High: "high";
422
+ readonly Xhigh: "xhigh";
423
+ };
424
+ /**
425
+ * 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.
426
+ *
427
+ * @remarks
428
+ *
429
+ * - `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.
430
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
431
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
432
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
433
+ *
434
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
435
+ */
436
+ export type FallbackModelConfigurationReasoningEffort = ClosedEnum<typeof FallbackModelConfigurationReasoningEffort>;
362
437
  /**
363
438
  * Up to 4 sequences where the API will stop generating further tokens.
364
439
  */
@@ -456,9 +531,18 @@ export type FallbackModelConfigurationParameters = {
456
531
  */
457
532
  responseFormat?: ResponseFormatText | ResponseFormatJSONObject | CreateAgentRequestResponseFormatJSONSchema | undefined;
458
533
  /**
459
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
534
+ * 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.
535
+ *
536
+ * @remarks
537
+ *
538
+ * - `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.
539
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
540
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
541
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
542
+ *
543
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
460
544
  */
461
- reasoningEffort?: string | undefined;
545
+ reasoningEffort?: FallbackModelConfigurationReasoningEffort | undefined;
462
546
  /**
463
547
  * Adjusts response verbosity. Lower levels yield shorter answers.
464
548
  */
@@ -530,6 +614,16 @@ export declare const ToolApprovalRequired: {
530
614
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
531
615
  */
532
616
  export type ToolApprovalRequired = ClosedEnum<typeof ToolApprovalRequired>;
617
+ /**
618
+ * MCP tool type
619
+ */
620
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type: {
621
+ readonly Mcp: "mcp";
622
+ };
623
+ /**
624
+ * MCP tool type
625
+ */
626
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
533
627
  /**
534
628
  * 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".
535
629
  */
@@ -537,7 +631,7 @@ export type MCPTool = {
537
631
  /**
538
632
  * MCP tool type
539
633
  */
540
- type: "mcp";
634
+ type?: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type | undefined;
541
635
  /**
542
636
  * The key of the parent MCP tool
543
637
  */
@@ -555,6 +649,16 @@ export type MCPTool = {
555
649
  */
556
650
  requiresApproval?: boolean | undefined;
557
651
  };
652
+ /**
653
+ * Function tool type
654
+ */
655
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type: {
656
+ readonly Function: "function";
657
+ };
658
+ /**
659
+ * Function tool type
660
+ */
661
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
558
662
  /**
559
663
  * Calls custom function tools defined in the agent configuration. Must reference a pre-created function tool by key or id.
560
664
  */
@@ -562,7 +666,7 @@ export type FunctionTool = {
562
666
  /**
563
667
  * Function tool type
564
668
  */
565
- type: "function";
669
+ type?: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type | undefined;
566
670
  /**
567
671
  * The key of the pre-created function tool
568
672
  */
@@ -576,6 +680,16 @@ export type FunctionTool = {
576
680
  */
577
681
  requiresApproval?: boolean | undefined;
578
682
  };
683
+ /**
684
+ * Code execution tool type
685
+ */
686
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type: {
687
+ readonly Code: "code";
688
+ };
689
+ /**
690
+ * Code execution tool type
691
+ */
692
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
579
693
  /**
580
694
  * Executes code snippets in a sandboxed environment. Must reference a pre-created code tool by key or id.
581
695
  */
@@ -583,7 +697,7 @@ export type CodeExecutionTool = {
583
697
  /**
584
698
  * Code execution tool type
585
699
  */
586
- type: "code";
700
+ type?: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type | undefined;
587
701
  /**
588
702
  * The key of the pre-created code tool
589
703
  */
@@ -597,6 +711,16 @@ export type CodeExecutionTool = {
597
711
  */
598
712
  requiresApproval?: boolean | undefined;
599
713
  };
714
+ /**
715
+ * HTTP tool type
716
+ */
717
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type: {
718
+ readonly Http: "http";
719
+ };
720
+ /**
721
+ * HTTP tool type
722
+ */
723
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
600
724
  /**
601
725
  * Executes HTTP requests to interact with external APIs and web services. Must reference a pre-created HTTP tool by key or id.
602
726
  */
@@ -604,7 +728,7 @@ export type HTTPTool = {
604
728
  /**
605
729
  * HTTP tool type
606
730
  */
607
- type: "http";
731
+ type?: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type | undefined;
608
732
  /**
609
733
  * The key of the pre-created HTTP tool
610
734
  */
@@ -618,111 +742,155 @@ export type HTTPTool = {
618
742
  */
619
743
  requiresApproval?: boolean | undefined;
620
744
  };
745
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type: {
746
+ readonly CurrentDate: "current_date";
747
+ };
748
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
621
749
  /**
622
750
  * Returns the current date and time
623
751
  */
624
752
  export type CurrentDateTool = {
625
- type: "current_date";
753
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type;
626
754
  /**
627
755
  * Whether this tool requires approval before execution
628
756
  */
629
757
  requiresApproval?: boolean | undefined;
630
758
  };
759
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type: {
760
+ readonly QueryKnowledgeBase: "query_knowledge_base";
761
+ };
762
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
631
763
  /**
632
764
  * Queries knowledge bases for information
633
765
  */
634
766
  export type QueryKnowledgeBaseTool = {
635
- type: "query_knowledge_base";
767
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type;
636
768
  /**
637
769
  * Whether this tool requires approval before execution
638
770
  */
639
771
  requiresApproval?: boolean | undefined;
640
772
  };
773
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type: {
774
+ readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
775
+ };
776
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
641
777
  /**
642
778
  * Lists available knowledge bases
643
779
  */
644
780
  export type RetrieveKnowledgeBasesTool = {
645
- type: "retrieve_knowledge_bases";
781
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type;
646
782
  /**
647
783
  * Whether this tool requires approval before execution
648
784
  */
649
785
  requiresApproval?: boolean | undefined;
650
786
  };
787
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type: {
788
+ readonly DeleteMemoryDocument: "delete_memory_document";
789
+ };
790
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
651
791
  /**
652
792
  * Deletes documents from memory stores
653
793
  */
654
794
  export type DeleteMemoryDocumentTool = {
655
- type: "delete_memory_document";
795
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type;
656
796
  /**
657
797
  * Whether this tool requires approval before execution
658
798
  */
659
799
  requiresApproval?: boolean | undefined;
660
800
  };
801
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType: {
802
+ readonly RetrieveMemoryStores: "retrieve_memory_stores";
803
+ };
804
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
661
805
  /**
662
806
  * Lists available memory stores
663
807
  */
664
808
  export type RetrieveMemoryStoresTool = {
665
- type: "retrieve_memory_stores";
809
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType;
666
810
  /**
667
811
  * Whether this tool requires approval before execution
668
812
  */
669
813
  requiresApproval?: boolean | undefined;
670
814
  };
815
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType: {
816
+ readonly WriteMemoryStore: "write_memory_store";
817
+ };
818
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
671
819
  /**
672
820
  * Writes information to agent memory stores
673
821
  */
674
822
  export type WriteMemoryStoreTool = {
675
- type: "write_memory_store";
823
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType;
676
824
  /**
677
825
  * Whether this tool requires approval before execution
678
826
  */
679
827
  requiresApproval?: boolean | undefined;
680
828
  };
829
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType: {
830
+ readonly QueryMemoryStore: "query_memory_store";
831
+ };
832
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType>;
681
833
  /**
682
834
  * Queries agent memory stores for context
683
835
  */
684
836
  export type QueryMemoryStoreTool = {
685
- type: "query_memory_store";
837
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType;
686
838
  /**
687
839
  * Whether this tool requires approval before execution
688
840
  */
689
841
  requiresApproval?: boolean | undefined;
690
842
  };
843
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestType: {
844
+ readonly RetrieveAgents: "retrieve_agents";
845
+ };
846
+ export type CreateAgentRequestAgentToolInputCRUDAgentsRequestType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType>;
691
847
  /**
692
848
  * Retrieves available agents in the system
693
849
  */
694
850
  export type RetrieveAgentsTool = {
695
- type: "retrieve_agents";
851
+ type: CreateAgentRequestAgentToolInputCRUDAgentsRequestType;
696
852
  /**
697
853
  * Whether this tool requires approval before execution
698
854
  */
699
855
  requiresApproval?: boolean | undefined;
700
856
  };
857
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsType: {
858
+ readonly CallSubAgent: "call_sub_agent";
859
+ };
860
+ export type CreateAgentRequestAgentToolInputCRUDAgentsType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsType>;
701
861
  /**
702
862
  * Delegates tasks to specialized sub-agents
703
863
  */
704
864
  export type CallSubAgentTool = {
705
- type: "call_sub_agent";
865
+ type: CreateAgentRequestAgentToolInputCRUDAgentsType;
706
866
  /**
707
867
  * Whether this tool requires approval before execution
708
868
  */
709
869
  requiresApproval?: boolean | undefined;
710
870
  };
871
+ export declare const CreateAgentRequestAgentToolInputCRUDType: {
872
+ readonly WebScraper: "web_scraper";
873
+ };
874
+ export type CreateAgentRequestAgentToolInputCRUDType = ClosedEnum<typeof CreateAgentRequestAgentToolInputCRUDType>;
711
875
  /**
712
876
  * Scrapes and extracts content from web pages
713
877
  */
714
878
  export type WebScraperTool = {
715
- type: "web_scraper";
879
+ type: CreateAgentRequestAgentToolInputCRUDType;
716
880
  /**
717
881
  * Whether this tool requires approval before execution
718
882
  */
719
883
  requiresApproval?: boolean | undefined;
720
884
  };
885
+ export declare const AgentToolInputCRUDType: {
886
+ readonly GoogleSearch: "google_search";
887
+ };
888
+ export type AgentToolInputCRUDType = ClosedEnum<typeof AgentToolInputCRUDType>;
721
889
  /**
722
890
  * Performs Google searches to retrieve web content
723
891
  */
724
892
  export type GoogleSearchTool = {
725
- type: "google_search";
893
+ type: AgentToolInputCRUDType;
726
894
  /**
727
895
  * Whether this tool requires approval before execution
728
896
  */
@@ -731,7 +899,7 @@ export type GoogleSearchTool = {
731
899
  /**
732
900
  * Tool configuration for agent create/update operations. Built-in tools only require a type, while custom tools (HTTP, Code, Function, MCP) must reference pre-created tools by key or id.
733
901
  */
734
- export type AgentToolInputCRUD = GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | HTTPTool | CodeExecutionTool | FunctionTool | MCPTool;
902
+ export type AgentToolInputCRUD = GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | MCPTool | HTTPTool | CodeExecutionTool | FunctionTool;
735
903
  /**
736
904
  * Determines whether the evaluator runs on the agent input (user message) or output (agent response).
737
905
  */
@@ -801,7 +969,7 @@ export type Settings = {
801
969
  /**
802
970
  * Tools available to the agent. Built-in tools only need a type, while custom tools (http, code, function) must reference pre-created tools by key or id.
803
971
  */
804
- tools?: Array<GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | HTTPTool | CodeExecutionTool | FunctionTool | MCPTool> | undefined;
972
+ tools?: Array<GoogleSearchTool | WebScraperTool | CallSubAgentTool | RetrieveAgentsTool | QueryMemoryStoreTool | WriteMemoryStoreTool | RetrieveMemoryStoresTool | DeleteMemoryDocumentTool | RetrieveKnowledgeBasesTool | QueryKnowledgeBaseTool | CurrentDateTool | MCPTool | HTTPTool | CodeExecutionTool | FunctionTool> | undefined;
805
973
  /**
806
974
  * Configuration for an evaluator applied to the agent
807
975
  */
@@ -1115,6 +1283,39 @@ export type CreateAgentRequestResponseFormatText = {
1115
1283
  * An object specifying the format that the model must output
1116
1284
  */
1117
1285
  export type CreateAgentRequestResponseFormat = CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema;
1286
+ /**
1287
+ * 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.
1288
+ *
1289
+ * @remarks
1290
+ *
1291
+ * - `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.
1292
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1293
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1294
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1295
+ *
1296
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1297
+ */
1298
+ export declare const CreateAgentRequestReasoningEffort: {
1299
+ readonly None: "none";
1300
+ readonly Minimal: "minimal";
1301
+ readonly Low: "low";
1302
+ readonly Medium: "medium";
1303
+ readonly High: "high";
1304
+ readonly Xhigh: "xhigh";
1305
+ };
1306
+ /**
1307
+ * 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.
1308
+ *
1309
+ * @remarks
1310
+ *
1311
+ * - `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.
1312
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1313
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1314
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1315
+ *
1316
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1317
+ */
1318
+ export type CreateAgentRequestReasoningEffort = ClosedEnum<typeof CreateAgentRequestReasoningEffort>;
1118
1319
  /**
1119
1320
  * Up to 4 sequences where the API will stop generating further tokens.
1120
1321
  */
@@ -1212,9 +1413,18 @@ export type CreateAgentRequestParameters = {
1212
1413
  */
1213
1414
  responseFormat?: CreateAgentRequestResponseFormatText | CreateAgentRequestResponseFormatJSONObject | CreateAgentRequestResponseFormatAgentsResponse201JSONSchema | undefined;
1214
1415
  /**
1215
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1416
+ * 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.
1417
+ *
1418
+ * @remarks
1419
+ *
1420
+ * - `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.
1421
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1422
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1423
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1424
+ *
1425
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1216
1426
  */
1217
- reasoningEffort?: string | undefined;
1427
+ reasoningEffort?: CreateAgentRequestReasoningEffort | undefined;
1218
1428
  /**
1219
1429
  * Adjusts response verbosity. Lower levels yield shorter answers.
1220
1430
  */
@@ -1359,6 +1569,39 @@ export type CreateAgentRequestResponseFormatAgentsText = {
1359
1569
  * An object specifying the format that the model must output
1360
1570
  */
1361
1571
  export type CreateAgentRequestFallbackModelConfigurationResponseFormat = CreateAgentRequestResponseFormatAgentsText | CreateAgentRequestResponseFormatAgentsJSONObject | CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema;
1572
+ /**
1573
+ * 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.
1574
+ *
1575
+ * @remarks
1576
+ *
1577
+ * - `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.
1578
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1579
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1580
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1581
+ *
1582
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1583
+ */
1584
+ export declare const CreateAgentRequestFallbackModelConfigurationReasoningEffort: {
1585
+ readonly None: "none";
1586
+ readonly Minimal: "minimal";
1587
+ readonly Low: "low";
1588
+ readonly Medium: "medium";
1589
+ readonly High: "high";
1590
+ readonly Xhigh: "xhigh";
1591
+ };
1592
+ /**
1593
+ * 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.
1594
+ *
1595
+ * @remarks
1596
+ *
1597
+ * - `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.
1598
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1599
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1600
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1601
+ *
1602
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1603
+ */
1604
+ export type CreateAgentRequestFallbackModelConfigurationReasoningEffort = ClosedEnum<typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort>;
1362
1605
  /**
1363
1606
  * Up to 4 sequences where the API will stop generating further tokens.
1364
1607
  */
@@ -1456,9 +1699,18 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
1456
1699
  */
1457
1700
  responseFormat?: CreateAgentRequestResponseFormatAgentsText | CreateAgentRequestResponseFormatAgentsJSONObject | CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONResponseBodyJSONSchema | undefined;
1458
1701
  /**
1459
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
1702
+ * 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.
1703
+ *
1704
+ * @remarks
1705
+ *
1706
+ * - `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.
1707
+ * - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
1708
+ * - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1709
+ * - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1710
+ *
1711
+ * Any of "none", "minimal", "low", "medium", "high", "xhigh".
1460
1712
  */
1461
- reasoningEffort?: string | undefined;
1713
+ reasoningEffort?: CreateAgentRequestFallbackModelConfigurationReasoningEffort | undefined;
1462
1714
  /**
1463
1715
  * Adjusts response verbosity. Lower levels yield shorter answers.
1464
1716
  */
@@ -1687,6 +1939,10 @@ export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Out
1687
1939
  export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
1688
1940
  export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
1689
1941
  /** @internal */
1942
+ export declare const ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1943
+ /** @internal */
1944
+ export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1945
+ /** @internal */
1690
1946
  export declare const Stop$inboundSchema: z.ZodType<Stop, z.ZodTypeDef, unknown>;
1691
1947
  /** @internal */
1692
1948
  export type Stop$Outbound = string | Array<string>;
@@ -1886,6 +2142,10 @@ export declare const FallbackModelConfigurationResponseFormat$outboundSchema: z.
1886
2142
  export declare function fallbackModelConfigurationResponseFormatToJSON(fallbackModelConfigurationResponseFormat: FallbackModelConfigurationResponseFormat): string;
1887
2143
  export declare function fallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<FallbackModelConfigurationResponseFormat, SDKValidationError>;
1888
2144
  /** @internal */
2145
+ export declare const FallbackModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationReasoningEffort>;
2146
+ /** @internal */
2147
+ export declare const FallbackModelConfigurationReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationReasoningEffort>;
2148
+ /** @internal */
1889
2149
  export declare const FallbackModelConfigurationStop$inboundSchema: z.ZodType<FallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
1890
2150
  /** @internal */
1891
2151
  export type FallbackModelConfigurationStop$Outbound = string | Array<string>;
@@ -2006,10 +2266,14 @@ export declare const ToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof
2006
2266
  /** @internal */
2007
2267
  export declare const ToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof ToolApprovalRequired>;
2008
2268
  /** @internal */
2269
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
2270
+ /** @internal */
2271
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type>;
2272
+ /** @internal */
2009
2273
  export declare const MCPTool$inboundSchema: z.ZodType<MCPTool, z.ZodTypeDef, unknown>;
2010
2274
  /** @internal */
2011
2275
  export type MCPTool$Outbound = {
2012
- type: "mcp";
2276
+ type: string;
2013
2277
  key?: string | undefined;
2014
2278
  id?: string | undefined;
2015
2279
  tool_id: string;
@@ -2020,10 +2284,14 @@ export declare const MCPTool$outboundSchema: z.ZodType<MCPTool$Outbound, z.ZodTy
2020
2284
  export declare function mcpToolToJSON(mcpTool: MCPTool): string;
2021
2285
  export declare function mcpToolFromJSON(jsonString: string): SafeParseResult<MCPTool, SDKValidationError>;
2022
2286
  /** @internal */
2287
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
2288
+ /** @internal */
2289
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type>;
2290
+ /** @internal */
2023
2291
  export declare const FunctionTool$inboundSchema: z.ZodType<FunctionTool, z.ZodTypeDef, unknown>;
2024
2292
  /** @internal */
2025
2293
  export type FunctionTool$Outbound = {
2026
- type: "function";
2294
+ type: string;
2027
2295
  key?: string | undefined;
2028
2296
  id?: string | undefined;
2029
2297
  requires_approval: boolean;
@@ -2033,10 +2301,14 @@ export declare const FunctionTool$outboundSchema: z.ZodType<FunctionTool$Outboun
2033
2301
  export declare function functionToolToJSON(functionTool: FunctionTool): string;
2034
2302
  export declare function functionToolFromJSON(jsonString: string): SafeParseResult<FunctionTool, SDKValidationError>;
2035
2303
  /** @internal */
2304
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
2305
+ /** @internal */
2306
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type>;
2307
+ /** @internal */
2036
2308
  export declare const CodeExecutionTool$inboundSchema: z.ZodType<CodeExecutionTool, z.ZodTypeDef, unknown>;
2037
2309
  /** @internal */
2038
2310
  export type CodeExecutionTool$Outbound = {
2039
- type: "code";
2311
+ type: string;
2040
2312
  key?: string | undefined;
2041
2313
  id?: string | undefined;
2042
2314
  requires_approval: boolean;
@@ -2046,10 +2318,14 @@ export declare const CodeExecutionTool$outboundSchema: z.ZodType<CodeExecutionTo
2046
2318
  export declare function codeExecutionToolToJSON(codeExecutionTool: CodeExecutionTool): string;
2047
2319
  export declare function codeExecutionToolFromJSON(jsonString: string): SafeParseResult<CodeExecutionTool, SDKValidationError>;
2048
2320
  /** @internal */
2321
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
2322
+ /** @internal */
2323
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type>;
2324
+ /** @internal */
2049
2325
  export declare const HTTPTool$inboundSchema: z.ZodType<HTTPTool, z.ZodTypeDef, unknown>;
2050
2326
  /** @internal */
2051
2327
  export type HTTPTool$Outbound = {
2052
- type: "http";
2328
+ type: string;
2053
2329
  key?: string | undefined;
2054
2330
  id?: string | undefined;
2055
2331
  requires_approval: boolean;
@@ -2059,10 +2335,14 @@ export declare const HTTPTool$outboundSchema: z.ZodType<HTTPTool$Outbound, z.Zod
2059
2335
  export declare function httpToolToJSON(httpTool: HTTPTool): string;
2060
2336
  export declare function httpToolFromJSON(jsonString: string): SafeParseResult<HTTPTool, SDKValidationError>;
2061
2337
  /** @internal */
2338
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
2339
+ /** @internal */
2340
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type>;
2341
+ /** @internal */
2062
2342
  export declare const CurrentDateTool$inboundSchema: z.ZodType<CurrentDateTool, z.ZodTypeDef, unknown>;
2063
2343
  /** @internal */
2064
2344
  export type CurrentDateTool$Outbound = {
2065
- type: "current_date";
2345
+ type: string;
2066
2346
  requires_approval?: boolean | undefined;
2067
2347
  };
2068
2348
  /** @internal */
@@ -2070,10 +2350,14 @@ export declare const CurrentDateTool$outboundSchema: z.ZodType<CurrentDateTool$O
2070
2350
  export declare function currentDateToolToJSON(currentDateTool: CurrentDateTool): string;
2071
2351
  export declare function currentDateToolFromJSON(jsonString: string): SafeParseResult<CurrentDateTool, SDKValidationError>;
2072
2352
  /** @internal */
2353
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
2354
+ /** @internal */
2355
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type>;
2356
+ /** @internal */
2073
2357
  export declare const QueryKnowledgeBaseTool$inboundSchema: z.ZodType<QueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
2074
2358
  /** @internal */
2075
2359
  export type QueryKnowledgeBaseTool$Outbound = {
2076
- type: "query_knowledge_base";
2360
+ type: string;
2077
2361
  requires_approval?: boolean | undefined;
2078
2362
  };
2079
2363
  /** @internal */
@@ -2081,10 +2365,14 @@ export declare const QueryKnowledgeBaseTool$outboundSchema: z.ZodType<QueryKnowl
2081
2365
  export declare function queryKnowledgeBaseToolToJSON(queryKnowledgeBaseTool: QueryKnowledgeBaseTool): string;
2082
2366
  export declare function queryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<QueryKnowledgeBaseTool, SDKValidationError>;
2083
2367
  /** @internal */
2368
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
2369
+ /** @internal */
2370
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type>;
2371
+ /** @internal */
2084
2372
  export declare const RetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<RetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
2085
2373
  /** @internal */
2086
2374
  export type RetrieveKnowledgeBasesTool$Outbound = {
2087
- type: "retrieve_knowledge_bases";
2375
+ type: string;
2088
2376
  requires_approval?: boolean | undefined;
2089
2377
  };
2090
2378
  /** @internal */
@@ -2092,10 +2380,14 @@ export declare const RetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<Retrie
2092
2380
  export declare function retrieveKnowledgeBasesToolToJSON(retrieveKnowledgeBasesTool: RetrieveKnowledgeBasesTool): string;
2093
2381
  export declare function retrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<RetrieveKnowledgeBasesTool, SDKValidationError>;
2094
2382
  /** @internal */
2383
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
2384
+ /** @internal */
2385
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type>;
2386
+ /** @internal */
2095
2387
  export declare const DeleteMemoryDocumentTool$inboundSchema: z.ZodType<DeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
2096
2388
  /** @internal */
2097
2389
  export type DeleteMemoryDocumentTool$Outbound = {
2098
- type: "delete_memory_document";
2390
+ type: string;
2099
2391
  requires_approval?: boolean | undefined;
2100
2392
  };
2101
2393
  /** @internal */
@@ -2103,10 +2395,14 @@ export declare const DeleteMemoryDocumentTool$outboundSchema: z.ZodType<DeleteMe
2103
2395
  export declare function deleteMemoryDocumentToolToJSON(deleteMemoryDocumentTool: DeleteMemoryDocumentTool): string;
2104
2396
  export declare function deleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<DeleteMemoryDocumentTool, SDKValidationError>;
2105
2397
  /** @internal */
2398
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
2399
+ /** @internal */
2400
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType>;
2401
+ /** @internal */
2106
2402
  export declare const RetrieveMemoryStoresTool$inboundSchema: z.ZodType<RetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
2107
2403
  /** @internal */
2108
2404
  export type RetrieveMemoryStoresTool$Outbound = {
2109
- type: "retrieve_memory_stores";
2405
+ type: string;
2110
2406
  requires_approval?: boolean | undefined;
2111
2407
  };
2112
2408
  /** @internal */
@@ -2114,10 +2410,14 @@ export declare const RetrieveMemoryStoresTool$outboundSchema: z.ZodType<Retrieve
2114
2410
  export declare function retrieveMemoryStoresToolToJSON(retrieveMemoryStoresTool: RetrieveMemoryStoresTool): string;
2115
2411
  export declare function retrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<RetrieveMemoryStoresTool, SDKValidationError>;
2116
2412
  /** @internal */
2413
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
2414
+ /** @internal */
2415
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodySettingsType>;
2416
+ /** @internal */
2117
2417
  export declare const WriteMemoryStoreTool$inboundSchema: z.ZodType<WriteMemoryStoreTool, z.ZodTypeDef, unknown>;
2118
2418
  /** @internal */
2119
2419
  export type WriteMemoryStoreTool$Outbound = {
2120
- type: "write_memory_store";
2420
+ type: string;
2121
2421
  requires_approval?: boolean | undefined;
2122
2422
  };
2123
2423
  /** @internal */
@@ -2125,10 +2425,14 @@ export declare const WriteMemoryStoreTool$outboundSchema: z.ZodType<WriteMemoryS
2125
2425
  export declare function writeMemoryStoreToolToJSON(writeMemoryStoreTool: WriteMemoryStoreTool): string;
2126
2426
  export declare function writeMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<WriteMemoryStoreTool, SDKValidationError>;
2127
2427
  /** @internal */
2428
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType>;
2429
+ /** @internal */
2430
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestRequestBodyType>;
2431
+ /** @internal */
2128
2432
  export declare const QueryMemoryStoreTool$inboundSchema: z.ZodType<QueryMemoryStoreTool, z.ZodTypeDef, unknown>;
2129
2433
  /** @internal */
2130
2434
  export type QueryMemoryStoreTool$Outbound = {
2131
- type: "query_memory_store";
2435
+ type: string;
2132
2436
  requires_approval?: boolean | undefined;
2133
2437
  };
2134
2438
  /** @internal */
@@ -2136,10 +2440,14 @@ export declare const QueryMemoryStoreTool$outboundSchema: z.ZodType<QueryMemoryS
2136
2440
  export declare function queryMemoryStoreToolToJSON(queryMemoryStoreTool: QueryMemoryStoreTool): string;
2137
2441
  export declare function queryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<QueryMemoryStoreTool, SDKValidationError>;
2138
2442
  /** @internal */
2443
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType>;
2444
+ /** @internal */
2445
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsRequestType>;
2446
+ /** @internal */
2139
2447
  export declare const RetrieveAgentsTool$inboundSchema: z.ZodType<RetrieveAgentsTool, z.ZodTypeDef, unknown>;
2140
2448
  /** @internal */
2141
2449
  export type RetrieveAgentsTool$Outbound = {
2142
- type: "retrieve_agents";
2450
+ type: string;
2143
2451
  requires_approval?: boolean | undefined;
2144
2452
  };
2145
2453
  /** @internal */
@@ -2147,10 +2455,14 @@ export declare const RetrieveAgentsTool$outboundSchema: z.ZodType<RetrieveAgents
2147
2455
  export declare function retrieveAgentsToolToJSON(retrieveAgentsTool: RetrieveAgentsTool): string;
2148
2456
  export declare function retrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<RetrieveAgentsTool, SDKValidationError>;
2149
2457
  /** @internal */
2458
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsType>;
2459
+ /** @internal */
2460
+ export declare const CreateAgentRequestAgentToolInputCRUDAgentsType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDAgentsType>;
2461
+ /** @internal */
2150
2462
  export declare const CallSubAgentTool$inboundSchema: z.ZodType<CallSubAgentTool, z.ZodTypeDef, unknown>;
2151
2463
  /** @internal */
2152
2464
  export type CallSubAgentTool$Outbound = {
2153
- type: "call_sub_agent";
2465
+ type: string;
2154
2466
  requires_approval?: boolean | undefined;
2155
2467
  };
2156
2468
  /** @internal */
@@ -2158,10 +2470,14 @@ export declare const CallSubAgentTool$outboundSchema: z.ZodType<CallSubAgentTool
2158
2470
  export declare function callSubAgentToolToJSON(callSubAgentTool: CallSubAgentTool): string;
2159
2471
  export declare function callSubAgentToolFromJSON(jsonString: string): SafeParseResult<CallSubAgentTool, SDKValidationError>;
2160
2472
  /** @internal */
2473
+ export declare const CreateAgentRequestAgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDType>;
2474
+ /** @internal */
2475
+ export declare const CreateAgentRequestAgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestAgentToolInputCRUDType>;
2476
+ /** @internal */
2161
2477
  export declare const WebScraperTool$inboundSchema: z.ZodType<WebScraperTool, z.ZodTypeDef, unknown>;
2162
2478
  /** @internal */
2163
2479
  export type WebScraperTool$Outbound = {
2164
- type: "web_scraper";
2480
+ type: string;
2165
2481
  requires_approval?: boolean | undefined;
2166
2482
  };
2167
2483
  /** @internal */
@@ -2169,10 +2485,14 @@ export declare const WebScraperTool$outboundSchema: z.ZodType<WebScraperTool$Out
2169
2485
  export declare function webScraperToolToJSON(webScraperTool: WebScraperTool): string;
2170
2486
  export declare function webScraperToolFromJSON(jsonString: string): SafeParseResult<WebScraperTool, SDKValidationError>;
2171
2487
  /** @internal */
2488
+ export declare const AgentToolInputCRUDType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputCRUDType>;
2489
+ /** @internal */
2490
+ export declare const AgentToolInputCRUDType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputCRUDType>;
2491
+ /** @internal */
2172
2492
  export declare const GoogleSearchTool$inboundSchema: z.ZodType<GoogleSearchTool, z.ZodTypeDef, unknown>;
2173
2493
  /** @internal */
2174
2494
  export type GoogleSearchTool$Outbound = {
2175
- type: "google_search";
2495
+ type: string;
2176
2496
  requires_approval?: boolean | undefined;
2177
2497
  };
2178
2498
  /** @internal */
@@ -2182,7 +2502,7 @@ export declare function googleSearchToolFromJSON(jsonString: string): SafeParseR
2182
2502
  /** @internal */
2183
2503
  export declare const AgentToolInputCRUD$inboundSchema: z.ZodType<AgentToolInputCRUD, z.ZodTypeDef, unknown>;
2184
2504
  /** @internal */
2185
- export type AgentToolInputCRUD$Outbound = GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound | MCPTool$Outbound;
2505
+ export type AgentToolInputCRUD$Outbound = GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | MCPTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound;
2186
2506
  /** @internal */
2187
2507
  export declare const AgentToolInputCRUD$outboundSchema: z.ZodType<AgentToolInputCRUD$Outbound, z.ZodTypeDef, AgentToolInputCRUD>;
2188
2508
  export declare function agentToolInputCRUDToJSON(agentToolInputCRUD: AgentToolInputCRUD): string;
@@ -2226,7 +2546,7 @@ export type Settings$Outbound = {
2226
2546
  max_iterations: number;
2227
2547
  max_execution_time: number;
2228
2548
  tool_approval_required: string;
2229
- tools?: Array<GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound | MCPTool$Outbound> | undefined;
2549
+ tools?: Array<GoogleSearchTool$Outbound | WebScraperTool$Outbound | CallSubAgentTool$Outbound | RetrieveAgentsTool$Outbound | QueryMemoryStoreTool$Outbound | WriteMemoryStoreTool$Outbound | RetrieveMemoryStoresTool$Outbound | DeleteMemoryDocumentTool$Outbound | RetrieveKnowledgeBasesTool$Outbound | QueryKnowledgeBaseTool$Outbound | CurrentDateTool$Outbound | MCPTool$Outbound | HTTPTool$Outbound | CodeExecutionTool$Outbound | FunctionTool$Outbound> | undefined;
2230
2550
  evaluators?: Array<Evaluators$Outbound> | undefined;
2231
2551
  guardrails?: Array<Guardrails$Outbound> | undefined;
2232
2552
  };
@@ -2437,6 +2757,10 @@ export declare const CreateAgentRequestResponseFormat$outboundSchema: z.ZodType<
2437
2757
  export declare function createAgentRequestResponseFormatToJSON(createAgentRequestResponseFormat: CreateAgentRequestResponseFormat): string;
2438
2758
  export declare function createAgentRequestResponseFormatFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormat, SDKValidationError>;
2439
2759
  /** @internal */
2760
+ export declare const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestReasoningEffort>;
2761
+ /** @internal */
2762
+ export declare const CreateAgentRequestReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestReasoningEffort>;
2763
+ /** @internal */
2440
2764
  export declare const CreateAgentRequestStop$inboundSchema: z.ZodType<CreateAgentRequestStop, z.ZodTypeDef, unknown>;
2441
2765
  /** @internal */
2442
2766
  export type CreateAgentRequestStop$Outbound = string | Array<string>;
@@ -2616,6 +2940,10 @@ export declare const CreateAgentRequestFallbackModelConfigurationResponseFormat$
2616
2940
  export declare function createAgentRequestFallbackModelConfigurationResponseFormatToJSON(createAgentRequestFallbackModelConfigurationResponseFormat: CreateAgentRequestFallbackModelConfigurationResponseFormat): string;
2617
2941
  export declare function createAgentRequestFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationResponseFormat, SDKValidationError>;
2618
2942
  /** @internal */
2943
+ export declare const CreateAgentRequestFallbackModelConfigurationReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort>;
2944
+ /** @internal */
2945
+ export declare const CreateAgentRequestFallbackModelConfigurationReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationReasoningEffort>;
2946
+ /** @internal */
2619
2947
  export declare const CreateAgentRequestFallbackModelConfigurationStop$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
2620
2948
  /** @internal */
2621
2949
  export type CreateAgentRequestFallbackModelConfigurationStop$Outbound = string | Array<string>;