@orq-ai/node 4.0.0-rc.57 → 4.0.0-rc.59

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 (93) hide show
  1. package/bin/mcp-server.js +316 -316
  2. package/bin/mcp-server.js.map +38 -38
  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/operations/createbudget.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +8 -8
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +28 -28
  15. package/models/operations/createknowledge.d.ts +14 -14
  16. package/models/operations/createknowledge.d.ts.map +1 -1
  17. package/models/operations/createknowledge.js +21 -21
  18. package/models/operations/createknowledge.js.map +1 -1
  19. package/models/operations/createtool.d.ts +47 -32
  20. package/models/operations/createtool.d.ts.map +1 -1
  21. package/models/operations/createtool.js +64 -64
  22. package/models/operations/createtool.js.map +1 -1
  23. package/models/operations/fileget.js +2 -2
  24. package/models/operations/filelist.js +2 -2
  25. package/models/operations/fileupload.js +2 -2
  26. package/models/operations/getalltools.d.ts +49 -34
  27. package/models/operations/getalltools.d.ts.map +1 -1
  28. package/models/operations/getalltools.js +74 -74
  29. package/models/operations/getalltools.js.map +1 -1
  30. package/models/operations/getbudget.js +2 -2
  31. package/models/operations/getevals.js +28 -28
  32. package/models/operations/listbudgets.js +2 -2
  33. package/models/operations/listcontacts.js +2 -2
  34. package/models/operations/listdatasetdatapoints.js +8 -8
  35. package/models/operations/listdatasets.js +2 -2
  36. package/models/operations/listdatasources.js +2 -2
  37. package/models/operations/retrievecontact.js +2 -2
  38. package/models/operations/retrievedatapoint.js +8 -8
  39. package/models/operations/retrievedataset.js +2 -2
  40. package/models/operations/retrievedatasource.js +2 -2
  41. package/models/operations/retrievetool.d.ts +47 -32
  42. package/models/operations/retrievetool.d.ts.map +1 -1
  43. package/models/operations/retrievetool.js +64 -64
  44. package/models/operations/retrievetool.js.map +1 -1
  45. package/models/operations/runagent.js +2 -2
  46. package/models/operations/streamrunagent.js +2 -2
  47. package/models/operations/updatebudget.js +2 -2
  48. package/models/operations/updatecontact.js +2 -2
  49. package/models/operations/updatedatapoint.js +8 -8
  50. package/models/operations/updatedataset.js +2 -2
  51. package/models/operations/updatedatasource.js +2 -2
  52. package/models/operations/updateeval.js +28 -28
  53. package/models/operations/updatetool.d.ts +47 -32
  54. package/models/operations/updatetool.d.ts.map +1 -1
  55. package/models/operations/updatetool.js +66 -66
  56. package/models/operations/updatetool.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/lib/config.ts +2 -2
  59. package/src/mcp-server/mcp-server.ts +1 -1
  60. package/src/mcp-server/server.ts +1 -1
  61. package/src/models/operations/createbudget.ts +2 -2
  62. package/src/models/operations/createcontact.ts +2 -2
  63. package/src/models/operations/createdataset.ts +2 -2
  64. package/src/models/operations/createdatasetitem.ts +8 -8
  65. package/src/models/operations/createdatasource.ts +2 -2
  66. package/src/models/operations/createeval.ts +28 -28
  67. package/src/models/operations/createknowledge.ts +33 -47
  68. package/src/models/operations/createtool.ts +134 -97
  69. package/src/models/operations/fileget.ts +2 -2
  70. package/src/models/operations/filelist.ts +2 -2
  71. package/src/models/operations/fileupload.ts +2 -2
  72. package/src/models/operations/getalltools.ts +135 -128
  73. package/src/models/operations/getbudget.ts +2 -2
  74. package/src/models/operations/getevals.ts +28 -28
  75. package/src/models/operations/listbudgets.ts +2 -2
  76. package/src/models/operations/listcontacts.ts +2 -2
  77. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  78. package/src/models/operations/listdatasets.ts +2 -2
  79. package/src/models/operations/listdatasources.ts +2 -2
  80. package/src/models/operations/retrievecontact.ts +2 -2
  81. package/src/models/operations/retrievedatapoint.ts +8 -8
  82. package/src/models/operations/retrievedataset.ts +2 -2
  83. package/src/models/operations/retrievedatasource.ts +2 -2
  84. package/src/models/operations/retrievetool.ts +168 -132
  85. package/src/models/operations/runagent.ts +2 -2
  86. package/src/models/operations/streamrunagent.ts +2 -2
  87. package/src/models/operations/updatebudget.ts +2 -2
  88. package/src/models/operations/updatecontact.ts +2 -2
  89. package/src/models/operations/updatedatapoint.ts +8 -8
  90. package/src/models/operations/updatedataset.ts +2 -2
  91. package/src/models/operations/updatedatasource.ts +2 -2
  92. package/src/models/operations/updateeval.ts +28 -28
  93. package/src/models/operations/updatetool.ts +138 -104
@@ -687,7 +687,10 @@ export type UpdateToolResponseBodyCodeTool = {
687
687
  code: string;
688
688
  };
689
689
 
690
- export type UpdateToolResponseBody5 = {
690
+ /**
691
+ * Executes code snippets in a sandboxed environment, currently supporting Python.
692
+ */
693
+ export type UpdateToolResponseBodyCodeExecutionTool = {
691
694
  id?: string | undefined;
692
695
  /**
693
696
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -814,7 +817,10 @@ export type UpdateToolResponseBodyMcp = {
814
817
  connectionType: UpdateToolResponseBodyConnectionType;
815
818
  };
816
819
 
817
- export type UpdateToolResponseBody4 = {
820
+ /**
821
+ * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
822
+ */
823
+ export type UpdateToolResponseBodyMCPTool = {
818
824
  id?: string | undefined;
819
825
  /**
820
826
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -978,7 +984,10 @@ export type UpdateToolResponseBodyHttp = {
978
984
  arguments?: { [k: string]: UpdateToolResponseBodyArguments } | undefined;
979
985
  };
980
986
 
981
- export type UpdateToolResponseBody3 = {
987
+ /**
988
+ * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
989
+ */
990
+ export type UpdateToolResponseBodyHTTPTool = {
982
991
  id?: string | undefined;
983
992
  /**
984
993
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1084,7 +1093,10 @@ export type UpdateToolResponseBodyJsonSchema = {
1084
1093
  strict?: boolean | undefined;
1085
1094
  };
1086
1095
 
1087
- export type UpdateToolResponseBody2 = {
1096
+ /**
1097
+ * A tool that enforces structured output format using JSON Schema for consistent response formatting.
1098
+ */
1099
+ export type UpdateToolResponseBodyJSONSchemaTool = {
1088
1100
  id?: string | undefined;
1089
1101
  /**
1090
1102
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1202,7 +1214,10 @@ export type UpdateToolResponseBodyFunction = {
1202
1214
  parameters?: UpdateToolResponseBodyParameters | undefined;
1203
1215
  };
1204
1216
 
1205
- export type UpdateToolResponseBody1 = {
1217
+ /**
1218
+ * A custom function tool that allows the model to call predefined functions with structured parameters.
1219
+ */
1220
+ export type UpdateToolResponseBodyFunctionTool = {
1206
1221
  id?: string | undefined;
1207
1222
  /**
1208
1223
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1251,11 +1266,11 @@ export type UpdateToolResponseBody1 = {
1251
1266
  * Successfully updated the tool.
1252
1267
  */
1253
1268
  export type UpdateToolResponseBody =
1254
- | UpdateToolResponseBody1
1255
- | UpdateToolResponseBody2
1256
- | UpdateToolResponseBody3
1257
- | UpdateToolResponseBody4
1258
- | UpdateToolResponseBody5;
1269
+ | UpdateToolResponseBodyFunctionTool
1270
+ | UpdateToolResponseBodyJSONSchemaTool
1271
+ | UpdateToolResponseBodyHTTPTool
1272
+ | UpdateToolResponseBodyMCPTool
1273
+ | UpdateToolResponseBodyCodeExecutionTool;
1259
1274
 
1260
1275
  /** @internal */
1261
1276
  export const UpdateToolRequestBodyToolsRequest5Status$inboundSchema:
@@ -1602,7 +1617,7 @@ export const RequestBodyTools$inboundSchema: z.ZodType<
1602
1617
  z.ZodTypeDef,
1603
1618
  unknown
1604
1619
  > = z.object({
1605
- id: z.string().default("01KAGNHD3BG0PV0F6516YK4NYS"),
1620
+ id: z.string().default("01KAGTP1XSV5X2VYPGG7T48V1M"),
1606
1621
  name: z.string(),
1607
1622
  description: z.string().optional(),
1608
1623
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$inboundSchema),
@@ -1621,7 +1636,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
1621
1636
  z.ZodTypeDef,
1622
1637
  RequestBodyTools
1623
1638
  > = z.object({
1624
- id: z.string().default("01KAGNHD3BG0PV0F6516YK4NYS"),
1639
+ id: z.string().default("01KAGTP1XSV5X2VYPGG7T48V1M"),
1625
1640
  name: z.string(),
1626
1641
  description: z.string().optional(),
1627
1642
  schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
@@ -2837,12 +2852,12 @@ export function updateToolResponseBodyCodeToolFromJSON(
2837
2852
  }
2838
2853
 
2839
2854
  /** @internal */
2840
- export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
2841
- UpdateToolResponseBody5,
2855
+ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2856
+ UpdateToolResponseBodyCodeExecutionTool,
2842
2857
  z.ZodTypeDef,
2843
2858
  unknown
2844
2859
  > = z.object({
2845
- _id: z.string().default("tool_01KAGNHD2YC84N9DMSFGZE8ERF"),
2860
+ _id: z.string().default("tool_01KAGTP1XMFZSE05J1HEEP1Z3K"),
2846
2861
  path: z.string(),
2847
2862
  key: z.string(),
2848
2863
  display_name: z.string().optional(),
@@ -2872,7 +2887,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
2872
2887
  });
2873
2888
  });
2874
2889
  /** @internal */
2875
- export type UpdateToolResponseBody5$Outbound = {
2890
+ export type UpdateToolResponseBodyCodeExecutionTool$Outbound = {
2876
2891
  _id: string;
2877
2892
  path: string;
2878
2893
  key: string;
@@ -2891,12 +2906,12 @@ export type UpdateToolResponseBody5$Outbound = {
2891
2906
  };
2892
2907
 
2893
2908
  /** @internal */
2894
- export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
2895
- UpdateToolResponseBody5$Outbound,
2909
+ export const UpdateToolResponseBodyCodeExecutionTool$outboundSchema: z.ZodType<
2910
+ UpdateToolResponseBodyCodeExecutionTool$Outbound,
2896
2911
  z.ZodTypeDef,
2897
- UpdateToolResponseBody5
2912
+ UpdateToolResponseBodyCodeExecutionTool
2898
2913
  > = z.object({
2899
- id: z.string().default("tool_01KAGNHD2YC84N9DMSFGZE8ERF"),
2914
+ id: z.string().default("tool_01KAGTP1XMFZSE05J1HEEP1Z3K"),
2900
2915
  path: z.string(),
2901
2916
  key: z.string(),
2902
2917
  displayName: z.string().optional(),
@@ -2927,20 +2942,29 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
2927
2942
  });
2928
2943
  });
2929
2944
 
2930
- export function updateToolResponseBody5ToJSON(
2931
- updateToolResponseBody5: UpdateToolResponseBody5,
2945
+ export function updateToolResponseBodyCodeExecutionToolToJSON(
2946
+ updateToolResponseBodyCodeExecutionTool:
2947
+ UpdateToolResponseBodyCodeExecutionTool,
2932
2948
  ): string {
2933
2949
  return JSON.stringify(
2934
- UpdateToolResponseBody5$outboundSchema.parse(updateToolResponseBody5),
2950
+ UpdateToolResponseBodyCodeExecutionTool$outboundSchema.parse(
2951
+ updateToolResponseBodyCodeExecutionTool,
2952
+ ),
2935
2953
  );
2936
2954
  }
2937
- export function updateToolResponseBody5FromJSON(
2955
+ export function updateToolResponseBodyCodeExecutionToolFromJSON(
2938
2956
  jsonString: string,
2939
- ): SafeParseResult<UpdateToolResponseBody5, SDKValidationError> {
2957
+ ): SafeParseResult<
2958
+ UpdateToolResponseBodyCodeExecutionTool,
2959
+ SDKValidationError
2960
+ > {
2940
2961
  return safeParse(
2941
2962
  jsonString,
2942
- (x) => UpdateToolResponseBody5$inboundSchema.parse(JSON.parse(x)),
2943
- `Failed to parse 'UpdateToolResponseBody5' from JSON`,
2963
+ (x) =>
2964
+ UpdateToolResponseBodyCodeExecutionTool$inboundSchema.parse(
2965
+ JSON.parse(x),
2966
+ ),
2967
+ `Failed to parse 'UpdateToolResponseBodyCodeExecutionTool' from JSON`,
2944
2968
  );
2945
2969
  }
2946
2970
 
@@ -3072,7 +3096,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
3072
3096
  z.ZodTypeDef,
3073
3097
  unknown
3074
3098
  > = z.object({
3075
- id: z.string().default("01KAGNHD2X501GK2TQPD9GNN0P"),
3099
+ id: z.string().default("01KAGTP1XKVPE7FQ460AWF7XKG"),
3076
3100
  name: z.string(),
3077
3101
  description: z.string().optional(),
3078
3102
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
@@ -3091,7 +3115,7 @@ export const UpdateToolResponseBodyTools$outboundSchema: z.ZodType<
3091
3115
  z.ZodTypeDef,
3092
3116
  UpdateToolResponseBodyTools
3093
3117
  > = z.object({
3094
- id: z.string().default("01KAGNHD2X501GK2TQPD9GNN0P"),
3118
+ id: z.string().default("01KAGTP1XKVPE7FQ460AWF7XKG"),
3095
3119
  name: z.string(),
3096
3120
  description: z.string().optional(),
3097
3121
  schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$outboundSchema),
@@ -3187,12 +3211,12 @@ export function updateToolResponseBodyMcpFromJSON(
3187
3211
  }
3188
3212
 
3189
3213
  /** @internal */
3190
- export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
3191
- UpdateToolResponseBody4,
3214
+ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
3215
+ UpdateToolResponseBodyMCPTool,
3192
3216
  z.ZodTypeDef,
3193
3217
  unknown
3194
3218
  > = z.object({
3195
- _id: z.string().default("tool_01KAGNHD2WYEQ7NWK4Y7DQK3T4"),
3219
+ _id: z.string().default("tool_01KAGTP1XJZ5TAY7ZYJK03D0HZ"),
3196
3220
  path: z.string(),
3197
3221
  key: z.string(),
3198
3222
  display_name: z.string().optional(),
@@ -3221,7 +3245,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
3221
3245
  });
3222
3246
  });
3223
3247
  /** @internal */
3224
- export type UpdateToolResponseBody4$Outbound = {
3248
+ export type UpdateToolResponseBodyMCPTool$Outbound = {
3225
3249
  _id: string;
3226
3250
  path: string;
3227
3251
  key: string;
@@ -3240,12 +3264,12 @@ export type UpdateToolResponseBody4$Outbound = {
3240
3264
  };
3241
3265
 
3242
3266
  /** @internal */
3243
- export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
3244
- UpdateToolResponseBody4$Outbound,
3267
+ export const UpdateToolResponseBodyMCPTool$outboundSchema: z.ZodType<
3268
+ UpdateToolResponseBodyMCPTool$Outbound,
3245
3269
  z.ZodTypeDef,
3246
- UpdateToolResponseBody4
3270
+ UpdateToolResponseBodyMCPTool
3247
3271
  > = z.object({
3248
- id: z.string().default("tool_01KAGNHD2WYEQ7NWK4Y7DQK3T4"),
3272
+ id: z.string().default("tool_01KAGTP1XJZ5TAY7ZYJK03D0HZ"),
3249
3273
  path: z.string(),
3250
3274
  key: z.string(),
3251
3275
  displayName: z.string().optional(),
@@ -3274,20 +3298,22 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
3274
3298
  });
3275
3299
  });
3276
3300
 
3277
- export function updateToolResponseBody4ToJSON(
3278
- updateToolResponseBody4: UpdateToolResponseBody4,
3301
+ export function updateToolResponseBodyMCPToolToJSON(
3302
+ updateToolResponseBodyMCPTool: UpdateToolResponseBodyMCPTool,
3279
3303
  ): string {
3280
3304
  return JSON.stringify(
3281
- UpdateToolResponseBody4$outboundSchema.parse(updateToolResponseBody4),
3305
+ UpdateToolResponseBodyMCPTool$outboundSchema.parse(
3306
+ updateToolResponseBodyMCPTool,
3307
+ ),
3282
3308
  );
3283
3309
  }
3284
- export function updateToolResponseBody4FromJSON(
3310
+ export function updateToolResponseBodyMCPToolFromJSON(
3285
3311
  jsonString: string,
3286
- ): SafeParseResult<UpdateToolResponseBody4, SDKValidationError> {
3312
+ ): SafeParseResult<UpdateToolResponseBodyMCPTool, SDKValidationError> {
3287
3313
  return safeParse(
3288
3314
  jsonString,
3289
- (x) => UpdateToolResponseBody4$inboundSchema.parse(JSON.parse(x)),
3290
- `Failed to parse 'UpdateToolResponseBody4' from JSON`,
3315
+ (x) => UpdateToolResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
3316
+ `Failed to parse 'UpdateToolResponseBodyMCPTool' from JSON`,
3291
3317
  );
3292
3318
  }
3293
3319
 
@@ -3615,12 +3641,12 @@ export function updateToolResponseBodyHttpFromJSON(
3615
3641
  }
3616
3642
 
3617
3643
  /** @internal */
3618
- export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
3619
- UpdateToolResponseBody3,
3644
+ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
3645
+ UpdateToolResponseBodyHTTPTool,
3620
3646
  z.ZodTypeDef,
3621
3647
  unknown
3622
3648
  > = z.object({
3623
- _id: z.string().default("tool_01KAGNHD2V46PK05AMSYA44GXV"),
3649
+ _id: z.string().default("tool_01KAGTP1XGD6XC6945P3RB1SYW"),
3624
3650
  path: z.string(),
3625
3651
  key: z.string(),
3626
3652
  display_name: z.string().optional(),
@@ -3649,7 +3675,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
3649
3675
  });
3650
3676
  });
3651
3677
  /** @internal */
3652
- export type UpdateToolResponseBody3$Outbound = {
3678
+ export type UpdateToolResponseBodyHTTPTool$Outbound = {
3653
3679
  _id: string;
3654
3680
  path: string;
3655
3681
  key: string;
@@ -3668,12 +3694,12 @@ export type UpdateToolResponseBody3$Outbound = {
3668
3694
  };
3669
3695
 
3670
3696
  /** @internal */
3671
- export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
3672
- UpdateToolResponseBody3$Outbound,
3697
+ export const UpdateToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
3698
+ UpdateToolResponseBodyHTTPTool$Outbound,
3673
3699
  z.ZodTypeDef,
3674
- UpdateToolResponseBody3
3700
+ UpdateToolResponseBodyHTTPTool
3675
3701
  > = z.object({
3676
- id: z.string().default("tool_01KAGNHD2V46PK05AMSYA44GXV"),
3702
+ id: z.string().default("tool_01KAGTP1XGD6XC6945P3RB1SYW"),
3677
3703
  path: z.string(),
3678
3704
  key: z.string(),
3679
3705
  displayName: z.string().optional(),
@@ -3702,20 +3728,22 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
3702
3728
  });
3703
3729
  });
3704
3730
 
3705
- export function updateToolResponseBody3ToJSON(
3706
- updateToolResponseBody3: UpdateToolResponseBody3,
3731
+ export function updateToolResponseBodyHTTPToolToJSON(
3732
+ updateToolResponseBodyHTTPTool: UpdateToolResponseBodyHTTPTool,
3707
3733
  ): string {
3708
3734
  return JSON.stringify(
3709
- UpdateToolResponseBody3$outboundSchema.parse(updateToolResponseBody3),
3735
+ UpdateToolResponseBodyHTTPTool$outboundSchema.parse(
3736
+ updateToolResponseBodyHTTPTool,
3737
+ ),
3710
3738
  );
3711
3739
  }
3712
- export function updateToolResponseBody3FromJSON(
3740
+ export function updateToolResponseBodyHTTPToolFromJSON(
3713
3741
  jsonString: string,
3714
- ): SafeParseResult<UpdateToolResponseBody3, SDKValidationError> {
3742
+ ): SafeParseResult<UpdateToolResponseBodyHTTPTool, SDKValidationError> {
3715
3743
  return safeParse(
3716
3744
  jsonString,
3717
- (x) => UpdateToolResponseBody3$inboundSchema.parse(JSON.parse(x)),
3718
- `Failed to parse 'UpdateToolResponseBody3' from JSON`,
3745
+ (x) => UpdateToolResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
3746
+ `Failed to parse 'UpdateToolResponseBodyHTTPTool' from JSON`,
3719
3747
  );
3720
3748
  }
3721
3749
 
@@ -3848,12 +3876,12 @@ export function updateToolResponseBodyJsonSchemaFromJSON(
3848
3876
  }
3849
3877
 
3850
3878
  /** @internal */
3851
- export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
3852
- UpdateToolResponseBody2,
3879
+ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
3880
+ UpdateToolResponseBodyJSONSchemaTool,
3853
3881
  z.ZodTypeDef,
3854
3882
  unknown
3855
3883
  > = z.object({
3856
- _id: z.string().default("tool_01KAGNHD2S2DDRM3A236Q08AYV"),
3884
+ _id: z.string().default("tool_01KAGTP1XE2T6CZTG2RM11TDRN"),
3857
3885
  path: z.string(),
3858
3886
  key: z.string(),
3859
3887
  display_name: z.string().optional(),
@@ -3881,7 +3909,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
3881
3909
  });
3882
3910
  });
3883
3911
  /** @internal */
3884
- export type UpdateToolResponseBody2$Outbound = {
3912
+ export type UpdateToolResponseBodyJSONSchemaTool$Outbound = {
3885
3913
  _id: string;
3886
3914
  path: string;
3887
3915
  key: string;
@@ -3900,12 +3928,12 @@ export type UpdateToolResponseBody2$Outbound = {
3900
3928
  };
3901
3929
 
3902
3930
  /** @internal */
3903
- export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
3904
- UpdateToolResponseBody2$Outbound,
3931
+ export const UpdateToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
3932
+ UpdateToolResponseBodyJSONSchemaTool$Outbound,
3905
3933
  z.ZodTypeDef,
3906
- UpdateToolResponseBody2
3934
+ UpdateToolResponseBodyJSONSchemaTool
3907
3935
  > = z.object({
3908
- id: z.string().default("tool_01KAGNHD2S2DDRM3A236Q08AYV"),
3936
+ id: z.string().default("tool_01KAGTP1XE2T6CZTG2RM11TDRN"),
3909
3937
  path: z.string(),
3910
3938
  key: z.string(),
3911
3939
  displayName: z.string().optional(),
@@ -3933,20 +3961,23 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
3933
3961
  });
3934
3962
  });
3935
3963
 
3936
- export function updateToolResponseBody2ToJSON(
3937
- updateToolResponseBody2: UpdateToolResponseBody2,
3964
+ export function updateToolResponseBodyJSONSchemaToolToJSON(
3965
+ updateToolResponseBodyJSONSchemaTool: UpdateToolResponseBodyJSONSchemaTool,
3938
3966
  ): string {
3939
3967
  return JSON.stringify(
3940
- UpdateToolResponseBody2$outboundSchema.parse(updateToolResponseBody2),
3968
+ UpdateToolResponseBodyJSONSchemaTool$outboundSchema.parse(
3969
+ updateToolResponseBodyJSONSchemaTool,
3970
+ ),
3941
3971
  );
3942
3972
  }
3943
- export function updateToolResponseBody2FromJSON(
3973
+ export function updateToolResponseBodyJSONSchemaToolFromJSON(
3944
3974
  jsonString: string,
3945
- ): SafeParseResult<UpdateToolResponseBody2, SDKValidationError> {
3975
+ ): SafeParseResult<UpdateToolResponseBodyJSONSchemaTool, SDKValidationError> {
3946
3976
  return safeParse(
3947
3977
  jsonString,
3948
- (x) => UpdateToolResponseBody2$inboundSchema.parse(JSON.parse(x)),
3949
- `Failed to parse 'UpdateToolResponseBody2' from JSON`,
3978
+ (x) =>
3979
+ UpdateToolResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
3980
+ `Failed to parse 'UpdateToolResponseBodyJSONSchemaTool' from JSON`,
3950
3981
  );
3951
3982
  }
3952
3983
 
@@ -4094,12 +4125,12 @@ export function updateToolResponseBodyFunctionFromJSON(
4094
4125
  }
4095
4126
 
4096
4127
  /** @internal */
4097
- export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
4098
- UpdateToolResponseBody1,
4128
+ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
4129
+ UpdateToolResponseBodyFunctionTool,
4099
4130
  z.ZodTypeDef,
4100
4131
  unknown
4101
4132
  > = z.object({
4102
- _id: z.string().default("tool_01KAGNHD2RPMCKPX14N82Q58J2"),
4133
+ _id: z.string().default("tool_01KAGTP1XBNDH3GQT78537CBB0"),
4103
4134
  path: z.string(),
4104
4135
  key: z.string(),
4105
4136
  display_name: z.string().optional(),
@@ -4126,7 +4157,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
4126
4157
  });
4127
4158
  });
4128
4159
  /** @internal */
4129
- export type UpdateToolResponseBody1$Outbound = {
4160
+ export type UpdateToolResponseBodyFunctionTool$Outbound = {
4130
4161
  _id: string;
4131
4162
  path: string;
4132
4163
  key: string;
@@ -4145,12 +4176,12 @@ export type UpdateToolResponseBody1$Outbound = {
4145
4176
  };
4146
4177
 
4147
4178
  /** @internal */
4148
- export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
4149
- UpdateToolResponseBody1$Outbound,
4179
+ export const UpdateToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
4180
+ UpdateToolResponseBodyFunctionTool$Outbound,
4150
4181
  z.ZodTypeDef,
4151
- UpdateToolResponseBody1
4182
+ UpdateToolResponseBodyFunctionTool
4152
4183
  > = z.object({
4153
- id: z.string().default("tool_01KAGNHD2RPMCKPX14N82Q58J2"),
4184
+ id: z.string().default("tool_01KAGTP1XBNDH3GQT78537CBB0"),
4154
4185
  path: z.string(),
4155
4186
  key: z.string(),
4156
4187
  displayName: z.string().optional(),
@@ -4177,20 +4208,23 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
4177
4208
  });
4178
4209
  });
4179
4210
 
4180
- export function updateToolResponseBody1ToJSON(
4181
- updateToolResponseBody1: UpdateToolResponseBody1,
4211
+ export function updateToolResponseBodyFunctionToolToJSON(
4212
+ updateToolResponseBodyFunctionTool: UpdateToolResponseBodyFunctionTool,
4182
4213
  ): string {
4183
4214
  return JSON.stringify(
4184
- UpdateToolResponseBody1$outboundSchema.parse(updateToolResponseBody1),
4215
+ UpdateToolResponseBodyFunctionTool$outboundSchema.parse(
4216
+ updateToolResponseBodyFunctionTool,
4217
+ ),
4185
4218
  );
4186
4219
  }
4187
- export function updateToolResponseBody1FromJSON(
4220
+ export function updateToolResponseBodyFunctionToolFromJSON(
4188
4221
  jsonString: string,
4189
- ): SafeParseResult<UpdateToolResponseBody1, SDKValidationError> {
4222
+ ): SafeParseResult<UpdateToolResponseBodyFunctionTool, SDKValidationError> {
4190
4223
  return safeParse(
4191
4224
  jsonString,
4192
- (x) => UpdateToolResponseBody1$inboundSchema.parse(JSON.parse(x)),
4193
- `Failed to parse 'UpdateToolResponseBody1' from JSON`,
4225
+ (x) =>
4226
+ UpdateToolResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
4227
+ `Failed to parse 'UpdateToolResponseBodyFunctionTool' from JSON`,
4194
4228
  );
4195
4229
  }
4196
4230
 
@@ -4200,19 +4234,19 @@ export const UpdateToolResponseBody$inboundSchema: z.ZodType<
4200
4234
  z.ZodTypeDef,
4201
4235
  unknown
4202
4236
  > = z.union([
4203
- z.lazy(() => UpdateToolResponseBody1$inboundSchema),
4204
- z.lazy(() => UpdateToolResponseBody2$inboundSchema),
4205
- z.lazy(() => UpdateToolResponseBody3$inboundSchema),
4206
- z.lazy(() => UpdateToolResponseBody4$inboundSchema),
4207
- z.lazy(() => UpdateToolResponseBody5$inboundSchema),
4237
+ z.lazy(() => UpdateToolResponseBodyFunctionTool$inboundSchema),
4238
+ z.lazy(() => UpdateToolResponseBodyJSONSchemaTool$inboundSchema),
4239
+ z.lazy(() => UpdateToolResponseBodyHTTPTool$inboundSchema),
4240
+ z.lazy(() => UpdateToolResponseBodyMCPTool$inboundSchema),
4241
+ z.lazy(() => UpdateToolResponseBodyCodeExecutionTool$inboundSchema),
4208
4242
  ]);
4209
4243
  /** @internal */
4210
4244
  export type UpdateToolResponseBody$Outbound =
4211
- | UpdateToolResponseBody1$Outbound
4212
- | UpdateToolResponseBody2$Outbound
4213
- | UpdateToolResponseBody3$Outbound
4214
- | UpdateToolResponseBody4$Outbound
4215
- | UpdateToolResponseBody5$Outbound;
4245
+ | UpdateToolResponseBodyFunctionTool$Outbound
4246
+ | UpdateToolResponseBodyJSONSchemaTool$Outbound
4247
+ | UpdateToolResponseBodyHTTPTool$Outbound
4248
+ | UpdateToolResponseBodyMCPTool$Outbound
4249
+ | UpdateToolResponseBodyCodeExecutionTool$Outbound;
4216
4250
 
4217
4251
  /** @internal */
4218
4252
  export const UpdateToolResponseBody$outboundSchema: z.ZodType<
@@ -4220,11 +4254,11 @@ export const UpdateToolResponseBody$outboundSchema: z.ZodType<
4220
4254
  z.ZodTypeDef,
4221
4255
  UpdateToolResponseBody
4222
4256
  > = z.union([
4223
- z.lazy(() => UpdateToolResponseBody1$outboundSchema),
4224
- z.lazy(() => UpdateToolResponseBody2$outboundSchema),
4225
- z.lazy(() => UpdateToolResponseBody3$outboundSchema),
4226
- z.lazy(() => UpdateToolResponseBody4$outboundSchema),
4227
- z.lazy(() => UpdateToolResponseBody5$outboundSchema),
4257
+ z.lazy(() => UpdateToolResponseBodyFunctionTool$outboundSchema),
4258
+ z.lazy(() => UpdateToolResponseBodyJSONSchemaTool$outboundSchema),
4259
+ z.lazy(() => UpdateToolResponseBodyHTTPTool$outboundSchema),
4260
+ z.lazy(() => UpdateToolResponseBodyMCPTool$outboundSchema),
4261
+ z.lazy(() => UpdateToolResponseBodyCodeExecutionTool$outboundSchema),
4228
4262
  ]);
4229
4263
 
4230
4264
  export function updateToolResponseBodyToJSON(