@orq-ai/node 4.0.0-rc.56 → 4.0.0-rc.58

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
@@ -642,7 +642,10 @@ export type ResponseBodyCodeTool = {
642
642
  code: string;
643
643
  };
644
644
 
645
- export type ResponseBody5 = {
645
+ /**
646
+ * Executes code snippets in a sandboxed environment, currently supporting Python.
647
+ */
648
+ export type ResponseBodyCodeExecutionTool = {
646
649
  id?: string | undefined;
647
650
  /**
648
651
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -767,7 +770,10 @@ export type ResponseBodyMcp = {
767
770
  connectionType: ResponseBodyConnectionType;
768
771
  };
769
772
 
770
- export type ResponseBody4 = {
773
+ /**
774
+ * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
775
+ */
776
+ export type ResponseBodyMCPTool = {
771
777
  id?: string | undefined;
772
778
  /**
773
779
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -929,7 +935,10 @@ export type CreateToolResponseBodyHttp = {
929
935
  arguments?: { [k: string]: ResponseBodyArguments } | undefined;
930
936
  };
931
937
 
932
- export type ResponseBody3 = {
938
+ /**
939
+ * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
940
+ */
941
+ export type ResponseBodyHTTPTool = {
933
942
  id?: string | undefined;
934
943
  /**
935
944
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1035,7 +1044,10 @@ export type ResponseBodyJsonSchema = {
1035
1044
  strict?: boolean | undefined;
1036
1045
  };
1037
1046
 
1038
- export type ResponseBody2 = {
1047
+ /**
1048
+ * A tool that enforces structured output format using JSON Schema for consistent response formatting.
1049
+ */
1050
+ export type ResponseBodyJSONSchemaTool = {
1039
1051
  id?: string | undefined;
1040
1052
  /**
1041
1053
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1151,7 +1163,10 @@ export type CreateToolResponseBodyFunction = {
1151
1163
  parameters?: ResponseBodyParameters | undefined;
1152
1164
  };
1153
1165
 
1154
- export type ResponseBody1 = {
1166
+ /**
1167
+ * A custom function tool that allows the model to call predefined functions with structured parameters.
1168
+ */
1169
+ export type ResponseBodyFunctionTool = {
1155
1170
  id?: string | undefined;
1156
1171
  /**
1157
1172
  * Entity storage path in the format: `project/folder/subfolder/...`
@@ -1200,11 +1215,11 @@ export type ResponseBody1 = {
1200
1215
  * Successfully created the tool.
1201
1216
  */
1202
1217
  export type CreateToolResponseBody =
1203
- | ResponseBody1
1204
- | ResponseBody2
1205
- | ResponseBody3
1206
- | ResponseBody4
1207
- | ResponseBody5;
1218
+ | ResponseBodyFunctionTool
1219
+ | ResponseBodyJSONSchemaTool
1220
+ | ResponseBodyHTTPTool
1221
+ | ResponseBodyMCPTool
1222
+ | ResponseBodyCodeExecutionTool;
1208
1223
 
1209
1224
  /** @internal */
1210
1225
  export const CreateToolRequestBodyToolsRequestStatus$inboundSchema:
@@ -2566,12 +2581,12 @@ export function responseBodyCodeToolFromJSON(
2566
2581
  }
2567
2582
 
2568
2583
  /** @internal */
2569
- export const ResponseBody5$inboundSchema: z.ZodType<
2570
- ResponseBody5,
2584
+ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2585
+ ResponseBodyCodeExecutionTool,
2571
2586
  z.ZodTypeDef,
2572
2587
  unknown
2573
2588
  > = z.object({
2574
- _id: z.string().default("tool_01KAGFMWRCMAX6KXJ37K66M79T"),
2589
+ _id: z.string().default("tool_01KAGR8RW42JAX3E8GHSEWWP7K"),
2575
2590
  path: z.string(),
2576
2591
  key: z.string(),
2577
2592
  display_name: z.string().optional(),
@@ -2601,7 +2616,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
2601
2616
  });
2602
2617
  });
2603
2618
  /** @internal */
2604
- export type ResponseBody5$Outbound = {
2619
+ export type ResponseBodyCodeExecutionTool$Outbound = {
2605
2620
  _id: string;
2606
2621
  path: string;
2607
2622
  key: string;
@@ -2620,12 +2635,12 @@ export type ResponseBody5$Outbound = {
2620
2635
  };
2621
2636
 
2622
2637
  /** @internal */
2623
- export const ResponseBody5$outboundSchema: z.ZodType<
2624
- ResponseBody5$Outbound,
2638
+ export const ResponseBodyCodeExecutionTool$outboundSchema: z.ZodType<
2639
+ ResponseBodyCodeExecutionTool$Outbound,
2625
2640
  z.ZodTypeDef,
2626
- ResponseBody5
2641
+ ResponseBodyCodeExecutionTool
2627
2642
  > = z.object({
2628
- id: z.string().default("tool_01KAGFMWRCMAX6KXJ37K66M79T"),
2643
+ id: z.string().default("tool_01KAGR8RW42JAX3E8GHSEWWP7K"),
2629
2644
  path: z.string(),
2630
2645
  key: z.string(),
2631
2646
  displayName: z.string().optional(),
@@ -2656,16 +2671,22 @@ export const ResponseBody5$outboundSchema: z.ZodType<
2656
2671
  });
2657
2672
  });
2658
2673
 
2659
- export function responseBody5ToJSON(responseBody5: ResponseBody5): string {
2660
- return JSON.stringify(ResponseBody5$outboundSchema.parse(responseBody5));
2674
+ export function responseBodyCodeExecutionToolToJSON(
2675
+ responseBodyCodeExecutionTool: ResponseBodyCodeExecutionTool,
2676
+ ): string {
2677
+ return JSON.stringify(
2678
+ ResponseBodyCodeExecutionTool$outboundSchema.parse(
2679
+ responseBodyCodeExecutionTool,
2680
+ ),
2681
+ );
2661
2682
  }
2662
- export function responseBody5FromJSON(
2683
+ export function responseBodyCodeExecutionToolFromJSON(
2663
2684
  jsonString: string,
2664
- ): SafeParseResult<ResponseBody5, SDKValidationError> {
2685
+ ): SafeParseResult<ResponseBodyCodeExecutionTool, SDKValidationError> {
2665
2686
  return safeParse(
2666
2687
  jsonString,
2667
- (x) => ResponseBody5$inboundSchema.parse(JSON.parse(x)),
2668
- `Failed to parse 'ResponseBody5' from JSON`,
2688
+ (x) => ResponseBodyCodeExecutionTool$inboundSchema.parse(JSON.parse(x)),
2689
+ `Failed to parse 'ResponseBodyCodeExecutionTool' from JSON`,
2669
2690
  );
2670
2691
  }
2671
2692
 
@@ -2795,7 +2816,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
2795
2816
  z.ZodTypeDef,
2796
2817
  unknown
2797
2818
  > = z.object({
2798
- id: z.string().default("01KAGFMWRB7C6TMWNHPA9F9FK1"),
2819
+ id: z.string().default("01KAGR8RW26C0TM9DBGQKDBBWQ"),
2799
2820
  name: z.string(),
2800
2821
  description: z.string().optional(),
2801
2822
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2814,7 +2835,7 @@ export const ResponseBodyTools$outboundSchema: z.ZodType<
2814
2835
  z.ZodTypeDef,
2815
2836
  ResponseBodyTools
2816
2837
  > = z.object({
2817
- id: z.string().default("01KAGFMWRB7C6TMWNHPA9F9FK1"),
2838
+ id: z.string().default("01KAGR8RW26C0TM9DBGQKDBBWQ"),
2818
2839
  name: z.string(),
2819
2840
  description: z.string().optional(),
2820
2841
  schema: z.lazy(() => CreateToolResponseBodySchema$outboundSchema),
@@ -2904,12 +2925,12 @@ export function responseBodyMcpFromJSON(
2904
2925
  }
2905
2926
 
2906
2927
  /** @internal */
2907
- export const ResponseBody4$inboundSchema: z.ZodType<
2908
- ResponseBody4,
2928
+ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2929
+ ResponseBodyMCPTool,
2909
2930
  z.ZodTypeDef,
2910
2931
  unknown
2911
2932
  > = z.object({
2912
- _id: z.string().default("tool_01KAGFMWR9RCRSKGQAJG23HTJ6"),
2933
+ _id: z.string().default("tool_01KAGR8RVY2NENQGQMJRCWJ191"),
2913
2934
  path: z.string(),
2914
2935
  key: z.string(),
2915
2936
  display_name: z.string().optional(),
@@ -2938,7 +2959,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
2938
2959
  });
2939
2960
  });
2940
2961
  /** @internal */
2941
- export type ResponseBody4$Outbound = {
2962
+ export type ResponseBodyMCPTool$Outbound = {
2942
2963
  _id: string;
2943
2964
  path: string;
2944
2965
  key: string;
@@ -2957,12 +2978,12 @@ export type ResponseBody4$Outbound = {
2957
2978
  };
2958
2979
 
2959
2980
  /** @internal */
2960
- export const ResponseBody4$outboundSchema: z.ZodType<
2961
- ResponseBody4$Outbound,
2981
+ export const ResponseBodyMCPTool$outboundSchema: z.ZodType<
2982
+ ResponseBodyMCPTool$Outbound,
2962
2983
  z.ZodTypeDef,
2963
- ResponseBody4
2984
+ ResponseBodyMCPTool
2964
2985
  > = z.object({
2965
- id: z.string().default("tool_01KAGFMWR9RCRSKGQAJG23HTJ6"),
2986
+ id: z.string().default("tool_01KAGR8RVY2NENQGQMJRCWJ191"),
2966
2987
  path: z.string(),
2967
2988
  key: z.string(),
2968
2989
  displayName: z.string().optional(),
@@ -2991,16 +3012,20 @@ export const ResponseBody4$outboundSchema: z.ZodType<
2991
3012
  });
2992
3013
  });
2993
3014
 
2994
- export function responseBody4ToJSON(responseBody4: ResponseBody4): string {
2995
- return JSON.stringify(ResponseBody4$outboundSchema.parse(responseBody4));
3015
+ export function responseBodyMCPToolToJSON(
3016
+ responseBodyMCPTool: ResponseBodyMCPTool,
3017
+ ): string {
3018
+ return JSON.stringify(
3019
+ ResponseBodyMCPTool$outboundSchema.parse(responseBodyMCPTool),
3020
+ );
2996
3021
  }
2997
- export function responseBody4FromJSON(
3022
+ export function responseBodyMCPToolFromJSON(
2998
3023
  jsonString: string,
2999
- ): SafeParseResult<ResponseBody4, SDKValidationError> {
3024
+ ): SafeParseResult<ResponseBodyMCPTool, SDKValidationError> {
3000
3025
  return safeParse(
3001
3026
  jsonString,
3002
- (x) => ResponseBody4$inboundSchema.parse(JSON.parse(x)),
3003
- `Failed to parse 'ResponseBody4' from JSON`,
3027
+ (x) => ResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
3028
+ `Failed to parse 'ResponseBodyMCPTool' from JSON`,
3004
3029
  );
3005
3030
  }
3006
3031
 
@@ -3313,12 +3338,12 @@ export function createToolResponseBodyHttpFromJSON(
3313
3338
  }
3314
3339
 
3315
3340
  /** @internal */
3316
- export const ResponseBody3$inboundSchema: z.ZodType<
3317
- ResponseBody3,
3341
+ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
3342
+ ResponseBodyHTTPTool,
3318
3343
  z.ZodTypeDef,
3319
3344
  unknown
3320
3345
  > = z.object({
3321
- _id: z.string().default("tool_01KAGFMWR6510E24GDCSXK9M4W"),
3346
+ _id: z.string().default("tool_01KAGR8RVTPVMJ516BDY32CQCF"),
3322
3347
  path: z.string(),
3323
3348
  key: z.string(),
3324
3349
  display_name: z.string().optional(),
@@ -3345,7 +3370,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
3345
3370
  });
3346
3371
  });
3347
3372
  /** @internal */
3348
- export type ResponseBody3$Outbound = {
3373
+ export type ResponseBodyHTTPTool$Outbound = {
3349
3374
  _id: string;
3350
3375
  path: string;
3351
3376
  key: string;
@@ -3364,12 +3389,12 @@ export type ResponseBody3$Outbound = {
3364
3389
  };
3365
3390
 
3366
3391
  /** @internal */
3367
- export const ResponseBody3$outboundSchema: z.ZodType<
3368
- ResponseBody3$Outbound,
3392
+ export const ResponseBodyHTTPTool$outboundSchema: z.ZodType<
3393
+ ResponseBodyHTTPTool$Outbound,
3369
3394
  z.ZodTypeDef,
3370
- ResponseBody3
3395
+ ResponseBodyHTTPTool
3371
3396
  > = z.object({
3372
- id: z.string().default("tool_01KAGFMWR6510E24GDCSXK9M4W"),
3397
+ id: z.string().default("tool_01KAGR8RVTPVMJ516BDY32CQCF"),
3373
3398
  path: z.string(),
3374
3399
  key: z.string(),
3375
3400
  displayName: z.string().optional(),
@@ -3396,16 +3421,20 @@ export const ResponseBody3$outboundSchema: z.ZodType<
3396
3421
  });
3397
3422
  });
3398
3423
 
3399
- export function responseBody3ToJSON(responseBody3: ResponseBody3): string {
3400
- return JSON.stringify(ResponseBody3$outboundSchema.parse(responseBody3));
3424
+ export function responseBodyHTTPToolToJSON(
3425
+ responseBodyHTTPTool: ResponseBodyHTTPTool,
3426
+ ): string {
3427
+ return JSON.stringify(
3428
+ ResponseBodyHTTPTool$outboundSchema.parse(responseBodyHTTPTool),
3429
+ );
3401
3430
  }
3402
- export function responseBody3FromJSON(
3431
+ export function responseBodyHTTPToolFromJSON(
3403
3432
  jsonString: string,
3404
- ): SafeParseResult<ResponseBody3, SDKValidationError> {
3433
+ ): SafeParseResult<ResponseBodyHTTPTool, SDKValidationError> {
3405
3434
  return safeParse(
3406
3435
  jsonString,
3407
- (x) => ResponseBody3$inboundSchema.parse(JSON.parse(x)),
3408
- `Failed to parse 'ResponseBody3' from JSON`,
3436
+ (x) => ResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
3437
+ `Failed to parse 'ResponseBodyHTTPTool' from JSON`,
3409
3438
  );
3410
3439
  }
3411
3440
 
@@ -3534,12 +3563,12 @@ export function responseBodyJsonSchemaFromJSON(
3534
3563
  }
3535
3564
 
3536
3565
  /** @internal */
3537
- export const ResponseBody2$inboundSchema: z.ZodType<
3538
- ResponseBody2,
3566
+ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
3567
+ ResponseBodyJSONSchemaTool,
3539
3568
  z.ZodTypeDef,
3540
3569
  unknown
3541
3570
  > = z.object({
3542
- _id: z.string().default("tool_01KAGFMWQW61Y3TD1QTRD4GFKQ"),
3571
+ _id: z.string().default("tool_01KAGR8RVRM81CZXBEH3FZP3XM"),
3543
3572
  path: z.string(),
3544
3573
  key: z.string(),
3545
3574
  display_name: z.string().optional(),
@@ -3567,7 +3596,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
3567
3596
  });
3568
3597
  });
3569
3598
  /** @internal */
3570
- export type ResponseBody2$Outbound = {
3599
+ export type ResponseBodyJSONSchemaTool$Outbound = {
3571
3600
  _id: string;
3572
3601
  path: string;
3573
3602
  key: string;
@@ -3586,12 +3615,12 @@ export type ResponseBody2$Outbound = {
3586
3615
  };
3587
3616
 
3588
3617
  /** @internal */
3589
- export const ResponseBody2$outboundSchema: z.ZodType<
3590
- ResponseBody2$Outbound,
3618
+ export const ResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
3619
+ ResponseBodyJSONSchemaTool$Outbound,
3591
3620
  z.ZodTypeDef,
3592
- ResponseBody2
3621
+ ResponseBodyJSONSchemaTool
3593
3622
  > = z.object({
3594
- id: z.string().default("tool_01KAGFMWQW61Y3TD1QTRD4GFKQ"),
3623
+ id: z.string().default("tool_01KAGR8RVRM81CZXBEH3FZP3XM"),
3595
3624
  path: z.string(),
3596
3625
  key: z.string(),
3597
3626
  displayName: z.string().optional(),
@@ -3619,16 +3648,20 @@ export const ResponseBody2$outboundSchema: z.ZodType<
3619
3648
  });
3620
3649
  });
3621
3650
 
3622
- export function responseBody2ToJSON(responseBody2: ResponseBody2): string {
3623
- return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2));
3651
+ export function responseBodyJSONSchemaToolToJSON(
3652
+ responseBodyJSONSchemaTool: ResponseBodyJSONSchemaTool,
3653
+ ): string {
3654
+ return JSON.stringify(
3655
+ ResponseBodyJSONSchemaTool$outboundSchema.parse(responseBodyJSONSchemaTool),
3656
+ );
3624
3657
  }
3625
- export function responseBody2FromJSON(
3658
+ export function responseBodyJSONSchemaToolFromJSON(
3626
3659
  jsonString: string,
3627
- ): SafeParseResult<ResponseBody2, SDKValidationError> {
3660
+ ): SafeParseResult<ResponseBodyJSONSchemaTool, SDKValidationError> {
3628
3661
  return safeParse(
3629
3662
  jsonString,
3630
- (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)),
3631
- `Failed to parse 'ResponseBody2' from JSON`,
3663
+ (x) => ResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
3664
+ `Failed to parse 'ResponseBodyJSONSchemaTool' from JSON`,
3632
3665
  );
3633
3666
  }
3634
3667
 
@@ -3772,12 +3805,12 @@ export function createToolResponseBodyFunctionFromJSON(
3772
3805
  }
3773
3806
 
3774
3807
  /** @internal */
3775
- export const ResponseBody1$inboundSchema: z.ZodType<
3776
- ResponseBody1,
3808
+ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
3809
+ ResponseBodyFunctionTool,
3777
3810
  z.ZodTypeDef,
3778
3811
  unknown
3779
3812
  > = z.object({
3780
- _id: z.string().default("tool_01KAGFMWQTH7MQXG1GF3QKR024"),
3813
+ _id: z.string().default("tool_01KAGR8RVP2M0YWAHYG94HG4ET"),
3781
3814
  path: z.string(),
3782
3815
  key: z.string(),
3783
3816
  display_name: z.string().optional(),
@@ -3804,7 +3837,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
3804
3837
  });
3805
3838
  });
3806
3839
  /** @internal */
3807
- export type ResponseBody1$Outbound = {
3840
+ export type ResponseBodyFunctionTool$Outbound = {
3808
3841
  _id: string;
3809
3842
  path: string;
3810
3843
  key: string;
@@ -3823,12 +3856,12 @@ export type ResponseBody1$Outbound = {
3823
3856
  };
3824
3857
 
3825
3858
  /** @internal */
3826
- export const ResponseBody1$outboundSchema: z.ZodType<
3827
- ResponseBody1$Outbound,
3859
+ export const ResponseBodyFunctionTool$outboundSchema: z.ZodType<
3860
+ ResponseBodyFunctionTool$Outbound,
3828
3861
  z.ZodTypeDef,
3829
- ResponseBody1
3862
+ ResponseBodyFunctionTool
3830
3863
  > = z.object({
3831
- id: z.string().default("tool_01KAGFMWQTH7MQXG1GF3QKR024"),
3864
+ id: z.string().default("tool_01KAGR8RVP2M0YWAHYG94HG4ET"),
3832
3865
  path: z.string(),
3833
3866
  key: z.string(),
3834
3867
  displayName: z.string().optional(),
@@ -3855,16 +3888,20 @@ export const ResponseBody1$outboundSchema: z.ZodType<
3855
3888
  });
3856
3889
  });
3857
3890
 
3858
- export function responseBody1ToJSON(responseBody1: ResponseBody1): string {
3859
- return JSON.stringify(ResponseBody1$outboundSchema.parse(responseBody1));
3891
+ export function responseBodyFunctionToolToJSON(
3892
+ responseBodyFunctionTool: ResponseBodyFunctionTool,
3893
+ ): string {
3894
+ return JSON.stringify(
3895
+ ResponseBodyFunctionTool$outboundSchema.parse(responseBodyFunctionTool),
3896
+ );
3860
3897
  }
3861
- export function responseBody1FromJSON(
3898
+ export function responseBodyFunctionToolFromJSON(
3862
3899
  jsonString: string,
3863
- ): SafeParseResult<ResponseBody1, SDKValidationError> {
3900
+ ): SafeParseResult<ResponseBodyFunctionTool, SDKValidationError> {
3864
3901
  return safeParse(
3865
3902
  jsonString,
3866
- (x) => ResponseBody1$inboundSchema.parse(JSON.parse(x)),
3867
- `Failed to parse 'ResponseBody1' from JSON`,
3903
+ (x) => ResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
3904
+ `Failed to parse 'ResponseBodyFunctionTool' from JSON`,
3868
3905
  );
3869
3906
  }
3870
3907
 
@@ -3874,19 +3911,19 @@ export const CreateToolResponseBody$inboundSchema: z.ZodType<
3874
3911
  z.ZodTypeDef,
3875
3912
  unknown
3876
3913
  > = z.union([
3877
- z.lazy(() => ResponseBody1$inboundSchema),
3878
- z.lazy(() => ResponseBody2$inboundSchema),
3879
- z.lazy(() => ResponseBody3$inboundSchema),
3880
- z.lazy(() => ResponseBody4$inboundSchema),
3881
- z.lazy(() => ResponseBody5$inboundSchema),
3914
+ z.lazy(() => ResponseBodyFunctionTool$inboundSchema),
3915
+ z.lazy(() => ResponseBodyJSONSchemaTool$inboundSchema),
3916
+ z.lazy(() => ResponseBodyHTTPTool$inboundSchema),
3917
+ z.lazy(() => ResponseBodyMCPTool$inboundSchema),
3918
+ z.lazy(() => ResponseBodyCodeExecutionTool$inboundSchema),
3882
3919
  ]);
3883
3920
  /** @internal */
3884
3921
  export type CreateToolResponseBody$Outbound =
3885
- | ResponseBody1$Outbound
3886
- | ResponseBody2$Outbound
3887
- | ResponseBody3$Outbound
3888
- | ResponseBody4$Outbound
3889
- | ResponseBody5$Outbound;
3922
+ | ResponseBodyFunctionTool$Outbound
3923
+ | ResponseBodyJSONSchemaTool$Outbound
3924
+ | ResponseBodyHTTPTool$Outbound
3925
+ | ResponseBodyMCPTool$Outbound
3926
+ | ResponseBodyCodeExecutionTool$Outbound;
3890
3927
 
3891
3928
  /** @internal */
3892
3929
  export const CreateToolResponseBody$outboundSchema: z.ZodType<
@@ -3894,11 +3931,11 @@ export const CreateToolResponseBody$outboundSchema: z.ZodType<
3894
3931
  z.ZodTypeDef,
3895
3932
  CreateToolResponseBody
3896
3933
  > = z.union([
3897
- z.lazy(() => ResponseBody1$outboundSchema),
3898
- z.lazy(() => ResponseBody2$outboundSchema),
3899
- z.lazy(() => ResponseBody3$outboundSchema),
3900
- z.lazy(() => ResponseBody4$outboundSchema),
3901
- z.lazy(() => ResponseBody5$outboundSchema),
3934
+ z.lazy(() => ResponseBodyFunctionTool$outboundSchema),
3935
+ z.lazy(() => ResponseBodyJSONSchemaTool$outboundSchema),
3936
+ z.lazy(() => ResponseBodyHTTPTool$outboundSchema),
3937
+ z.lazy(() => ResponseBodyMCPTool$outboundSchema),
3938
+ z.lazy(() => ResponseBodyCodeExecutionTool$outboundSchema),
3902
3939
  ]);
3903
3940
 
3904
3941
  export function createToolResponseBodyToJSON(
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
119
119
  file_name: z.string(),
120
120
  workspace_id: z.string(),
121
121
  created: z.string().datetime({ offset: true }).default(
122
- "2025-11-20T11:15:48.887Z",
122
+ "2025-11-20T13:46:31.464Z",
123
123
  ).transform(v => new Date(v)),
124
124
  }).transform((v) => {
125
125
  return remap$(v, {
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
152
152
  bytes: z.number(),
153
153
  fileName: z.string(),
154
154
  workspaceId: z.string(),
155
- created: z.date().default(() => new Date("2025-11-20T11:15:48.887Z"))
155
+ created: z.date().default(() => new Date("2025-11-20T13:46:31.464Z"))
156
156
  .transform(v => v.toISOString()),
157
157
  }).transform((v) => {
158
158
  return remap$(v, {
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
157
157
  file_name: z.string(),
158
158
  workspace_id: z.string(),
159
159
  created: z.string().datetime({ offset: true }).default(
160
- "2025-11-20T11:15:48.887Z",
160
+ "2025-11-20T13:46:31.464Z",
161
161
  ).transform(v => new Date(v)),
162
162
  }).transform((v) => {
163
163
  return remap$(v, {
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
190
190
  bytes: z.number(),
191
191
  fileName: z.string(),
192
192
  workspaceId: z.string(),
193
- created: z.date().default(() => new Date("2025-11-20T11:15:48.887Z"))
193
+ created: z.date().default(() => new Date("2025-11-20T13:46:31.464Z"))
194
194
  .transform(v => v.toISOString()),
195
195
  }).transform((v) => {
196
196
  return remap$(v, {
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
196
196
  file_name: z.string(),
197
197
  workspace_id: z.string(),
198
198
  created: z.string().datetime({ offset: true }).default(
199
- "2025-11-20T11:15:48.887Z",
199
+ "2025-11-20T13:46:31.464Z",
200
200
  ).transform(v => new Date(v)),
201
201
  }).transform((v) => {
202
202
  return remap$(v, {
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
229
229
  bytes: z.number(),
230
230
  fileName: z.string(),
231
231
  workspaceId: z.string(),
232
- created: z.date().default(() => new Date("2025-11-20T11:15:48.887Z"))
232
+ created: z.date().default(() => new Date("2025-11-20T13:46:31.464Z"))
233
233
  .transform(v => v.toISOString()),
234
234
  }).transform((v) => {
235
235
  return remap$(v, {