@allma/core-types 1.7.0 → 1.9.0

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.
@@ -221,6 +221,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
221
221
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
222
222
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
223
223
  }, z.ZodTypeAny, "passthrough">>>;
224
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
225
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
226
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: import("../index.js").LlmBuiltInToolType;
229
+ config?: Record<string, any> | undefined;
230
+ }, {
231
+ type: import("../index.js").LlmBuiltInToolType;
232
+ config?: Record<string, any> | undefined;
233
+ }>, z.ZodObject<{
234
+ type: z.ZodLiteral<"function">;
235
+ name: z.ZodString;
236
+ description: z.ZodString;
237
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ type: "function";
240
+ name: string;
241
+ description: string;
242
+ parameters: Record<string, any>;
243
+ }, {
244
+ type: "function";
245
+ name: string;
246
+ description: string;
247
+ parameters: Record<string, any>;
248
+ }>]>, "many">>;
249
+ toolsPath: z.ZodOptional<z.ZodString>;
250
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
251
+ type: z.ZodLiteral<"function">;
252
+ name: z.ZodString;
253
+ }, "strip", z.ZodTypeAny, {
254
+ type: "function";
255
+ name: string;
256
+ }, {
257
+ type: "function";
258
+ name: string;
259
+ }>]>>;
224
260
  }, "strip", z.ZodTypeAny, {
225
261
  llmProvider: string;
226
262
  modelId: string;
@@ -234,6 +270,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
234
270
  topK?: number | undefined;
235
271
  seed?: number | undefined;
236
272
  } | undefined;
273
+ tools?: ({
274
+ type: "function";
275
+ name: string;
276
+ description: string;
277
+ parameters: Record<string, any>;
278
+ } | {
279
+ type: import("../index.js").LlmBuiltInToolType;
280
+ config?: Record<string, any> | undefined;
281
+ })[] | undefined;
282
+ toolsPath?: string | undefined;
283
+ toolChoice?: "auto" | "none" | "required" | {
284
+ type: "function";
285
+ name: string;
286
+ } | undefined;
237
287
  }, {
238
288
  llmProvider: string;
239
289
  modelId: string;
@@ -247,6 +297,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
247
297
  topK?: number | undefined;
248
298
  seed?: number | undefined;
249
299
  } | undefined;
300
+ tools?: ({
301
+ type: "function";
302
+ name: string;
303
+ description: string;
304
+ parameters: Record<string, any>;
305
+ } | {
306
+ type: import("../index.js").LlmBuiltInToolType;
307
+ config?: Record<string, any> | undefined;
308
+ })[] | undefined;
309
+ toolsPath?: string | undefined;
310
+ toolChoice?: "auto" | "none" | "required" | {
311
+ type: "function";
312
+ name: string;
313
+ } | undefined;
250
314
  }>, "many">>;
251
315
  promptTemplateId: z.ZodOptional<z.ZodString>;
252
316
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -343,6 +407,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
343
407
  mimeType?: string | undefined;
344
408
  }>, "many">>;
345
409
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
410
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
411
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
412
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ type: import("../index.js").LlmBuiltInToolType;
415
+ config?: Record<string, any> | undefined;
416
+ }, {
417
+ type: import("../index.js").LlmBuiltInToolType;
418
+ config?: Record<string, any> | undefined;
419
+ }>, z.ZodObject<{
420
+ type: z.ZodLiteral<"function">;
421
+ name: z.ZodString;
422
+ description: z.ZodString;
423
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ type: "function";
426
+ name: string;
427
+ description: string;
428
+ parameters: Record<string, any>;
429
+ }, {
430
+ type: "function";
431
+ name: string;
432
+ description: string;
433
+ parameters: Record<string, any>;
434
+ }>]>, "many">>;
435
+ toolsPath: z.ZodOptional<z.ZodString>;
436
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
437
+ type: z.ZodLiteral<"function">;
438
+ name: z.ZodString;
439
+ }, "strip", z.ZodTypeAny, {
440
+ type: "function";
441
+ name: string;
442
+ }, {
443
+ type: "function";
444
+ name: string;
445
+ }>]>>;
346
446
  inferenceParameters: z.ZodOptional<z.ZodObject<{
347
447
  temperature: z.ZodOptional<z.ZodNumber>;
348
448
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -403,6 +503,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
403
503
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
404
504
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
405
505
  }, z.ZodTypeAny, "passthrough">>>;
506
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
507
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
508
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ type: import("../index.js").LlmBuiltInToolType;
511
+ config?: Record<string, any> | undefined;
512
+ }, {
513
+ type: import("../index.js").LlmBuiltInToolType;
514
+ config?: Record<string, any> | undefined;
515
+ }>, z.ZodObject<{
516
+ type: z.ZodLiteral<"function">;
517
+ name: z.ZodString;
518
+ description: z.ZodString;
519
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ type: "function";
522
+ name: string;
523
+ description: string;
524
+ parameters: Record<string, any>;
525
+ }, {
526
+ type: "function";
527
+ name: string;
528
+ description: string;
529
+ parameters: Record<string, any>;
530
+ }>]>, "many">>;
531
+ toolsPath: z.ZodOptional<z.ZodString>;
532
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
533
+ type: z.ZodLiteral<"function">;
534
+ name: z.ZodString;
535
+ }, "strip", z.ZodTypeAny, {
536
+ type: "function";
537
+ name: string;
538
+ }, {
539
+ type: "function";
540
+ name: string;
541
+ }>]>>;
406
542
  }, "strip", z.ZodTypeAny, {
407
543
  llmProvider: string;
408
544
  modelId: string;
@@ -416,6 +552,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
416
552
  topK?: number | undefined;
417
553
  seed?: number | undefined;
418
554
  } | undefined;
555
+ tools?: ({
556
+ type: "function";
557
+ name: string;
558
+ description: string;
559
+ parameters: Record<string, any>;
560
+ } | {
561
+ type: import("../index.js").LlmBuiltInToolType;
562
+ config?: Record<string, any> | undefined;
563
+ })[] | undefined;
564
+ toolsPath?: string | undefined;
565
+ toolChoice?: "auto" | "none" | "required" | {
566
+ type: "function";
567
+ name: string;
568
+ } | undefined;
419
569
  }, {
420
570
  llmProvider: string;
421
571
  modelId: string;
@@ -429,6 +579,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
429
579
  topK?: number | undefined;
430
580
  seed?: number | undefined;
431
581
  } | undefined;
582
+ tools?: ({
583
+ type: "function";
584
+ name: string;
585
+ description: string;
586
+ parameters: Record<string, any>;
587
+ } | {
588
+ type: import("../index.js").LlmBuiltInToolType;
589
+ config?: Record<string, any> | undefined;
590
+ })[] | undefined;
591
+ toolsPath?: string | undefined;
592
+ toolChoice?: "auto" | "none" | "required" | {
593
+ type: "function";
594
+ name: string;
595
+ } | undefined;
432
596
  }>, "many">>;
433
597
  promptTemplateId: z.ZodOptional<z.ZodString>;
434
598
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -525,6 +689,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
525
689
  mimeType?: string | undefined;
526
690
  }>, "many">>;
527
691
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
692
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
693
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
694
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ type: import("../index.js").LlmBuiltInToolType;
697
+ config?: Record<string, any> | undefined;
698
+ }, {
699
+ type: import("../index.js").LlmBuiltInToolType;
700
+ config?: Record<string, any> | undefined;
701
+ }>, z.ZodObject<{
702
+ type: z.ZodLiteral<"function">;
703
+ name: z.ZodString;
704
+ description: z.ZodString;
705
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
706
+ }, "strip", z.ZodTypeAny, {
707
+ type: "function";
708
+ name: string;
709
+ description: string;
710
+ parameters: Record<string, any>;
711
+ }, {
712
+ type: "function";
713
+ name: string;
714
+ description: string;
715
+ parameters: Record<string, any>;
716
+ }>]>, "many">>;
717
+ toolsPath: z.ZodOptional<z.ZodString>;
718
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
719
+ type: z.ZodLiteral<"function">;
720
+ name: z.ZodString;
721
+ }, "strip", z.ZodTypeAny, {
722
+ type: "function";
723
+ name: string;
724
+ }, {
725
+ type: "function";
726
+ name: string;
727
+ }>]>>;
528
728
  inferenceParameters: z.ZodOptional<z.ZodObject<{
529
729
  temperature: z.ZodOptional<z.ZodNumber>;
530
730
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -585,6 +785,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
585
785
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
586
786
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
587
787
  }, z.ZodTypeAny, "passthrough">>>;
788
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
789
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
790
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ type: import("../index.js").LlmBuiltInToolType;
793
+ config?: Record<string, any> | undefined;
794
+ }, {
795
+ type: import("../index.js").LlmBuiltInToolType;
796
+ config?: Record<string, any> | undefined;
797
+ }>, z.ZodObject<{
798
+ type: z.ZodLiteral<"function">;
799
+ name: z.ZodString;
800
+ description: z.ZodString;
801
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
802
+ }, "strip", z.ZodTypeAny, {
803
+ type: "function";
804
+ name: string;
805
+ description: string;
806
+ parameters: Record<string, any>;
807
+ }, {
808
+ type: "function";
809
+ name: string;
810
+ description: string;
811
+ parameters: Record<string, any>;
812
+ }>]>, "many">>;
813
+ toolsPath: z.ZodOptional<z.ZodString>;
814
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
815
+ type: z.ZodLiteral<"function">;
816
+ name: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
818
+ type: "function";
819
+ name: string;
820
+ }, {
821
+ type: "function";
822
+ name: string;
823
+ }>]>>;
588
824
  }, "strip", z.ZodTypeAny, {
589
825
  llmProvider: string;
590
826
  modelId: string;
@@ -598,6 +834,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
598
834
  topK?: number | undefined;
599
835
  seed?: number | undefined;
600
836
  } | undefined;
837
+ tools?: ({
838
+ type: "function";
839
+ name: string;
840
+ description: string;
841
+ parameters: Record<string, any>;
842
+ } | {
843
+ type: import("../index.js").LlmBuiltInToolType;
844
+ config?: Record<string, any> | undefined;
845
+ })[] | undefined;
846
+ toolsPath?: string | undefined;
847
+ toolChoice?: "auto" | "none" | "required" | {
848
+ type: "function";
849
+ name: string;
850
+ } | undefined;
601
851
  }, {
602
852
  llmProvider: string;
603
853
  modelId: string;
@@ -611,6 +861,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
611
861
  topK?: number | undefined;
612
862
  seed?: number | undefined;
613
863
  } | undefined;
864
+ tools?: ({
865
+ type: "function";
866
+ name: string;
867
+ description: string;
868
+ parameters: Record<string, any>;
869
+ } | {
870
+ type: import("../index.js").LlmBuiltInToolType;
871
+ config?: Record<string, any> | undefined;
872
+ })[] | undefined;
873
+ toolsPath?: string | undefined;
874
+ toolChoice?: "auto" | "none" | "required" | {
875
+ type: "function";
876
+ name: string;
877
+ } | undefined;
614
878
  }>, "many">>;
615
879
  promptTemplateId: z.ZodOptional<z.ZodString>;
616
880
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -707,6 +971,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
707
971
  mimeType?: string | undefined;
708
972
  }>, "many">>;
709
973
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
974
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
975
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
976
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ type: import("../index.js").LlmBuiltInToolType;
979
+ config?: Record<string, any> | undefined;
980
+ }, {
981
+ type: import("../index.js").LlmBuiltInToolType;
982
+ config?: Record<string, any> | undefined;
983
+ }>, z.ZodObject<{
984
+ type: z.ZodLiteral<"function">;
985
+ name: z.ZodString;
986
+ description: z.ZodString;
987
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
988
+ }, "strip", z.ZodTypeAny, {
989
+ type: "function";
990
+ name: string;
991
+ description: string;
992
+ parameters: Record<string, any>;
993
+ }, {
994
+ type: "function";
995
+ name: string;
996
+ description: string;
997
+ parameters: Record<string, any>;
998
+ }>]>, "many">>;
999
+ toolsPath: z.ZodOptional<z.ZodString>;
1000
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
1001
+ type: z.ZodLiteral<"function">;
1002
+ name: z.ZodString;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ type: "function";
1005
+ name: string;
1006
+ }, {
1007
+ type: "function";
1008
+ name: string;
1009
+ }>]>>;
710
1010
  inferenceParameters: z.ZodOptional<z.ZodObject<{
711
1011
  temperature: z.ZodOptional<z.ZodNumber>;
712
1012
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -3101,6 +3401,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3101
3401
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3102
3402
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3103
3403
  }, z.ZodTypeAny, "passthrough">>>;
3404
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3405
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
3406
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3407
+ }, "strip", z.ZodTypeAny, {
3408
+ type: import("../index.js").LlmBuiltInToolType;
3409
+ config?: Record<string, any> | undefined;
3410
+ }, {
3411
+ type: import("../index.js").LlmBuiltInToolType;
3412
+ config?: Record<string, any> | undefined;
3413
+ }>, z.ZodObject<{
3414
+ type: z.ZodLiteral<"function">;
3415
+ name: z.ZodString;
3416
+ description: z.ZodString;
3417
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
3418
+ }, "strip", z.ZodTypeAny, {
3419
+ type: "function";
3420
+ name: string;
3421
+ description: string;
3422
+ parameters: Record<string, any>;
3423
+ }, {
3424
+ type: "function";
3425
+ name: string;
3426
+ description: string;
3427
+ parameters: Record<string, any>;
3428
+ }>]>, "many">>;
3429
+ toolsPath: z.ZodOptional<z.ZodString>;
3430
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
3431
+ type: z.ZodLiteral<"function">;
3432
+ name: z.ZodString;
3433
+ }, "strip", z.ZodTypeAny, {
3434
+ type: "function";
3435
+ name: string;
3436
+ }, {
3437
+ type: "function";
3438
+ name: string;
3439
+ }>]>>;
3104
3440
  }, "strip", z.ZodTypeAny, {
3105
3441
  llmProvider: string;
3106
3442
  modelId: string;
@@ -3114,6 +3450,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3114
3450
  topK?: number | undefined;
3115
3451
  seed?: number | undefined;
3116
3452
  } | undefined;
3453
+ tools?: ({
3454
+ type: "function";
3455
+ name: string;
3456
+ description: string;
3457
+ parameters: Record<string, any>;
3458
+ } | {
3459
+ type: import("../index.js").LlmBuiltInToolType;
3460
+ config?: Record<string, any> | undefined;
3461
+ })[] | undefined;
3462
+ toolsPath?: string | undefined;
3463
+ toolChoice?: "auto" | "none" | "required" | {
3464
+ type: "function";
3465
+ name: string;
3466
+ } | undefined;
3117
3467
  }, {
3118
3468
  llmProvider: string;
3119
3469
  modelId: string;
@@ -3127,6 +3477,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3127
3477
  topK?: number | undefined;
3128
3478
  seed?: number | undefined;
3129
3479
  } | undefined;
3480
+ tools?: ({
3481
+ type: "function";
3482
+ name: string;
3483
+ description: string;
3484
+ parameters: Record<string, any>;
3485
+ } | {
3486
+ type: import("../index.js").LlmBuiltInToolType;
3487
+ config?: Record<string, any> | undefined;
3488
+ })[] | undefined;
3489
+ toolsPath?: string | undefined;
3490
+ toolChoice?: "auto" | "none" | "required" | {
3491
+ type: "function";
3492
+ name: string;
3493
+ } | undefined;
3130
3494
  }>, "many">>;
3131
3495
  promptTemplateId: z.ZodOptional<z.ZodString>;
3132
3496
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -3223,6 +3587,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3223
3587
  mimeType?: string | undefined;
3224
3588
  }>, "many">>;
3225
3589
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
3590
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
3591
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
3592
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3593
+ }, "strip", z.ZodTypeAny, {
3594
+ type: import("../index.js").LlmBuiltInToolType;
3595
+ config?: Record<string, any> | undefined;
3596
+ }, {
3597
+ type: import("../index.js").LlmBuiltInToolType;
3598
+ config?: Record<string, any> | undefined;
3599
+ }>, z.ZodObject<{
3600
+ type: z.ZodLiteral<"function">;
3601
+ name: z.ZodString;
3602
+ description: z.ZodString;
3603
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
3604
+ }, "strip", z.ZodTypeAny, {
3605
+ type: "function";
3606
+ name: string;
3607
+ description: string;
3608
+ parameters: Record<string, any>;
3609
+ }, {
3610
+ type: "function";
3611
+ name: string;
3612
+ description: string;
3613
+ parameters: Record<string, any>;
3614
+ }>]>, "many">>;
3615
+ toolsPath: z.ZodOptional<z.ZodString>;
3616
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
3617
+ type: z.ZodLiteral<"function">;
3618
+ name: z.ZodString;
3619
+ }, "strip", z.ZodTypeAny, {
3620
+ type: "function";
3621
+ name: string;
3622
+ }, {
3623
+ type: "function";
3624
+ name: string;
3625
+ }>]>>;
3226
3626
  inferenceParameters: z.ZodOptional<z.ZodObject<{
3227
3627
  temperature: z.ZodOptional<z.ZodNumber>;
3228
3628
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -3983,6 +4383,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3983
4383
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3984
4384
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
3985
4385
  }, z.ZodTypeAny, "passthrough">>>;
4386
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4387
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
4388
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4389
+ }, "strip", z.ZodTypeAny, {
4390
+ type: import("../index.js").LlmBuiltInToolType;
4391
+ config?: Record<string, any> | undefined;
4392
+ }, {
4393
+ type: import("../index.js").LlmBuiltInToolType;
4394
+ config?: Record<string, any> | undefined;
4395
+ }>, z.ZodObject<{
4396
+ type: z.ZodLiteral<"function">;
4397
+ name: z.ZodString;
4398
+ description: z.ZodString;
4399
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
4400
+ }, "strip", z.ZodTypeAny, {
4401
+ type: "function";
4402
+ name: string;
4403
+ description: string;
4404
+ parameters: Record<string, any>;
4405
+ }, {
4406
+ type: "function";
4407
+ name: string;
4408
+ description: string;
4409
+ parameters: Record<string, any>;
4410
+ }>]>, "many">>;
4411
+ toolsPath: z.ZodOptional<z.ZodString>;
4412
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
4413
+ type: z.ZodLiteral<"function">;
4414
+ name: z.ZodString;
4415
+ }, "strip", z.ZodTypeAny, {
4416
+ type: "function";
4417
+ name: string;
4418
+ }, {
4419
+ type: "function";
4420
+ name: string;
4421
+ }>]>>;
3986
4422
  }, "strip", z.ZodTypeAny, {
3987
4423
  llmProvider: string;
3988
4424
  modelId: string;
@@ -3996,6 +4432,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
3996
4432
  topK?: number | undefined;
3997
4433
  seed?: number | undefined;
3998
4434
  } | undefined;
4435
+ tools?: ({
4436
+ type: "function";
4437
+ name: string;
4438
+ description: string;
4439
+ parameters: Record<string, any>;
4440
+ } | {
4441
+ type: import("../index.js").LlmBuiltInToolType;
4442
+ config?: Record<string, any> | undefined;
4443
+ })[] | undefined;
4444
+ toolsPath?: string | undefined;
4445
+ toolChoice?: "auto" | "none" | "required" | {
4446
+ type: "function";
4447
+ name: string;
4448
+ } | undefined;
3999
4449
  }, {
4000
4450
  llmProvider: string;
4001
4451
  modelId: string;
@@ -4009,6 +4459,20 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4009
4459
  topK?: number | undefined;
4010
4460
  seed?: number | undefined;
4011
4461
  } | undefined;
4462
+ tools?: ({
4463
+ type: "function";
4464
+ name: string;
4465
+ description: string;
4466
+ parameters: Record<string, any>;
4467
+ } | {
4468
+ type: import("../index.js").LlmBuiltInToolType;
4469
+ config?: Record<string, any> | undefined;
4470
+ })[] | undefined;
4471
+ toolsPath?: string | undefined;
4472
+ toolChoice?: "auto" | "none" | "required" | {
4473
+ type: "function";
4474
+ name: string;
4475
+ } | undefined;
4012
4476
  }>, "many">>;
4013
4477
  promptTemplateId: z.ZodOptional<z.ZodString>;
4014
4478
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -4105,6 +4569,42 @@ export declare const CreateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4105
4569
  mimeType?: string | undefined;
4106
4570
  }>, "many">>;
4107
4571
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
4572
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
4573
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
4574
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4575
+ }, "strip", z.ZodTypeAny, {
4576
+ type: import("../index.js").LlmBuiltInToolType;
4577
+ config?: Record<string, any> | undefined;
4578
+ }, {
4579
+ type: import("../index.js").LlmBuiltInToolType;
4580
+ config?: Record<string, any> | undefined;
4581
+ }>, z.ZodObject<{
4582
+ type: z.ZodLiteral<"function">;
4583
+ name: z.ZodString;
4584
+ description: z.ZodString;
4585
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
4586
+ }, "strip", z.ZodTypeAny, {
4587
+ type: "function";
4588
+ name: string;
4589
+ description: string;
4590
+ parameters: Record<string, any>;
4591
+ }, {
4592
+ type: "function";
4593
+ name: string;
4594
+ description: string;
4595
+ parameters: Record<string, any>;
4596
+ }>]>, "many">>;
4597
+ toolsPath: z.ZodOptional<z.ZodString>;
4598
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
4599
+ type: z.ZodLiteral<"function">;
4600
+ name: z.ZodString;
4601
+ }, "strip", z.ZodTypeAny, {
4602
+ type: "function";
4603
+ name: string;
4604
+ }, {
4605
+ type: "function";
4606
+ name: string;
4607
+ }>]>>;
4108
4608
  inferenceParameters: z.ZodOptional<z.ZodObject<{
4109
4609
  temperature: z.ZodOptional<z.ZodNumber>;
4110
4610
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -4777,6 +5277,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4777
5277
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4778
5278
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4779
5279
  }, z.ZodTypeAny, "passthrough">>>;
5280
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5281
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
5282
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5283
+ }, "strip", z.ZodTypeAny, {
5284
+ type: import("../index.js").LlmBuiltInToolType;
5285
+ config?: Record<string, any> | undefined;
5286
+ }, {
5287
+ type: import("../index.js").LlmBuiltInToolType;
5288
+ config?: Record<string, any> | undefined;
5289
+ }>, z.ZodObject<{
5290
+ type: z.ZodLiteral<"function">;
5291
+ name: z.ZodString;
5292
+ description: z.ZodString;
5293
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
5294
+ }, "strip", z.ZodTypeAny, {
5295
+ type: "function";
5296
+ name: string;
5297
+ description: string;
5298
+ parameters: Record<string, any>;
5299
+ }, {
5300
+ type: "function";
5301
+ name: string;
5302
+ description: string;
5303
+ parameters: Record<string, any>;
5304
+ }>]>, "many">>;
5305
+ toolsPath: z.ZodOptional<z.ZodString>;
5306
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
5307
+ type: z.ZodLiteral<"function">;
5308
+ name: z.ZodString;
5309
+ }, "strip", z.ZodTypeAny, {
5310
+ type: "function";
5311
+ name: string;
5312
+ }, {
5313
+ type: "function";
5314
+ name: string;
5315
+ }>]>>;
4780
5316
  }, "strip", z.ZodTypeAny, {
4781
5317
  llmProvider: string;
4782
5318
  modelId: string;
@@ -4790,6 +5326,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4790
5326
  topK?: number | undefined;
4791
5327
  seed?: number | undefined;
4792
5328
  } | undefined;
5329
+ tools?: ({
5330
+ type: "function";
5331
+ name: string;
5332
+ description: string;
5333
+ parameters: Record<string, any>;
5334
+ } | {
5335
+ type: import("../index.js").LlmBuiltInToolType;
5336
+ config?: Record<string, any> | undefined;
5337
+ })[] | undefined;
5338
+ toolsPath?: string | undefined;
5339
+ toolChoice?: "auto" | "none" | "required" | {
5340
+ type: "function";
5341
+ name: string;
5342
+ } | undefined;
4793
5343
  }, {
4794
5344
  llmProvider: string;
4795
5345
  modelId: string;
@@ -4803,6 +5353,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4803
5353
  topK?: number | undefined;
4804
5354
  seed?: number | undefined;
4805
5355
  } | undefined;
5356
+ tools?: ({
5357
+ type: "function";
5358
+ name: string;
5359
+ description: string;
5360
+ parameters: Record<string, any>;
5361
+ } | {
5362
+ type: import("../index.js").LlmBuiltInToolType;
5363
+ config?: Record<string, any> | undefined;
5364
+ })[] | undefined;
5365
+ toolsPath?: string | undefined;
5366
+ toolChoice?: "auto" | "none" | "required" | {
5367
+ type: "function";
5368
+ name: string;
5369
+ } | undefined;
4806
5370
  }>, "many">>;
4807
5371
  promptTemplateId: z.ZodOptional<z.ZodString>;
4808
5372
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -4899,6 +5463,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4899
5463
  mimeType?: string | undefined;
4900
5464
  }>, "many">>;
4901
5465
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
5466
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5467
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
5468
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5469
+ }, "strip", z.ZodTypeAny, {
5470
+ type: import("../index.js").LlmBuiltInToolType;
5471
+ config?: Record<string, any> | undefined;
5472
+ }, {
5473
+ type: import("../index.js").LlmBuiltInToolType;
5474
+ config?: Record<string, any> | undefined;
5475
+ }>, z.ZodObject<{
5476
+ type: z.ZodLiteral<"function">;
5477
+ name: z.ZodString;
5478
+ description: z.ZodString;
5479
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
5480
+ }, "strip", z.ZodTypeAny, {
5481
+ type: "function";
5482
+ name: string;
5483
+ description: string;
5484
+ parameters: Record<string, any>;
5485
+ }, {
5486
+ type: "function";
5487
+ name: string;
5488
+ description: string;
5489
+ parameters: Record<string, any>;
5490
+ }>]>, "many">>;
5491
+ toolsPath: z.ZodOptional<z.ZodString>;
5492
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
5493
+ type: z.ZodLiteral<"function">;
5494
+ name: z.ZodString;
5495
+ }, "strip", z.ZodTypeAny, {
5496
+ type: "function";
5497
+ name: string;
5498
+ }, {
5499
+ type: "function";
5500
+ name: string;
5501
+ }>]>>;
4902
5502
  inferenceParameters: z.ZodOptional<z.ZodObject<{
4903
5503
  temperature: z.ZodOptional<z.ZodNumber>;
4904
5504
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -4959,6 +5559,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4959
5559
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4960
5560
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
4961
5561
  }, z.ZodTypeAny, "passthrough">>>;
5562
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5563
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
5564
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5565
+ }, "strip", z.ZodTypeAny, {
5566
+ type: import("../index.js").LlmBuiltInToolType;
5567
+ config?: Record<string, any> | undefined;
5568
+ }, {
5569
+ type: import("../index.js").LlmBuiltInToolType;
5570
+ config?: Record<string, any> | undefined;
5571
+ }>, z.ZodObject<{
5572
+ type: z.ZodLiteral<"function">;
5573
+ name: z.ZodString;
5574
+ description: z.ZodString;
5575
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
5576
+ }, "strip", z.ZodTypeAny, {
5577
+ type: "function";
5578
+ name: string;
5579
+ description: string;
5580
+ parameters: Record<string, any>;
5581
+ }, {
5582
+ type: "function";
5583
+ name: string;
5584
+ description: string;
5585
+ parameters: Record<string, any>;
5586
+ }>]>, "many">>;
5587
+ toolsPath: z.ZodOptional<z.ZodString>;
5588
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
5589
+ type: z.ZodLiteral<"function">;
5590
+ name: z.ZodString;
5591
+ }, "strip", z.ZodTypeAny, {
5592
+ type: "function";
5593
+ name: string;
5594
+ }, {
5595
+ type: "function";
5596
+ name: string;
5597
+ }>]>>;
4962
5598
  }, "strip", z.ZodTypeAny, {
4963
5599
  llmProvider: string;
4964
5600
  modelId: string;
@@ -4972,6 +5608,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4972
5608
  topK?: number | undefined;
4973
5609
  seed?: number | undefined;
4974
5610
  } | undefined;
5611
+ tools?: ({
5612
+ type: "function";
5613
+ name: string;
5614
+ description: string;
5615
+ parameters: Record<string, any>;
5616
+ } | {
5617
+ type: import("../index.js").LlmBuiltInToolType;
5618
+ config?: Record<string, any> | undefined;
5619
+ })[] | undefined;
5620
+ toolsPath?: string | undefined;
5621
+ toolChoice?: "auto" | "none" | "required" | {
5622
+ type: "function";
5623
+ name: string;
5624
+ } | undefined;
4975
5625
  }, {
4976
5626
  llmProvider: string;
4977
5627
  modelId: string;
@@ -4985,6 +5635,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
4985
5635
  topK?: number | undefined;
4986
5636
  seed?: number | undefined;
4987
5637
  } | undefined;
5638
+ tools?: ({
5639
+ type: "function";
5640
+ name: string;
5641
+ description: string;
5642
+ parameters: Record<string, any>;
5643
+ } | {
5644
+ type: import("../index.js").LlmBuiltInToolType;
5645
+ config?: Record<string, any> | undefined;
5646
+ })[] | undefined;
5647
+ toolsPath?: string | undefined;
5648
+ toolChoice?: "auto" | "none" | "required" | {
5649
+ type: "function";
5650
+ name: string;
5651
+ } | undefined;
4988
5652
  }>, "many">>;
4989
5653
  promptTemplateId: z.ZodOptional<z.ZodString>;
4990
5654
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -5081,6 +5745,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5081
5745
  mimeType?: string | undefined;
5082
5746
  }>, "many">>;
5083
5747
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
5748
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5749
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
5750
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5751
+ }, "strip", z.ZodTypeAny, {
5752
+ type: import("../index.js").LlmBuiltInToolType;
5753
+ config?: Record<string, any> | undefined;
5754
+ }, {
5755
+ type: import("../index.js").LlmBuiltInToolType;
5756
+ config?: Record<string, any> | undefined;
5757
+ }>, z.ZodObject<{
5758
+ type: z.ZodLiteral<"function">;
5759
+ name: z.ZodString;
5760
+ description: z.ZodString;
5761
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
5762
+ }, "strip", z.ZodTypeAny, {
5763
+ type: "function";
5764
+ name: string;
5765
+ description: string;
5766
+ parameters: Record<string, any>;
5767
+ }, {
5768
+ type: "function";
5769
+ name: string;
5770
+ description: string;
5771
+ parameters: Record<string, any>;
5772
+ }>]>, "many">>;
5773
+ toolsPath: z.ZodOptional<z.ZodString>;
5774
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
5775
+ type: z.ZodLiteral<"function">;
5776
+ name: z.ZodString;
5777
+ }, "strip", z.ZodTypeAny, {
5778
+ type: "function";
5779
+ name: string;
5780
+ }, {
5781
+ type: "function";
5782
+ name: string;
5783
+ }>]>>;
5084
5784
  inferenceParameters: z.ZodOptional<z.ZodObject<{
5085
5785
  temperature: z.ZodOptional<z.ZodNumber>;
5086
5786
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -5141,6 +5841,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5141
5841
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5142
5842
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
5143
5843
  }, z.ZodTypeAny, "passthrough">>>;
5844
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
5845
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
5846
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5847
+ }, "strip", z.ZodTypeAny, {
5848
+ type: import("../index.js").LlmBuiltInToolType;
5849
+ config?: Record<string, any> | undefined;
5850
+ }, {
5851
+ type: import("../index.js").LlmBuiltInToolType;
5852
+ config?: Record<string, any> | undefined;
5853
+ }>, z.ZodObject<{
5854
+ type: z.ZodLiteral<"function">;
5855
+ name: z.ZodString;
5856
+ description: z.ZodString;
5857
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
5858
+ }, "strip", z.ZodTypeAny, {
5859
+ type: "function";
5860
+ name: string;
5861
+ description: string;
5862
+ parameters: Record<string, any>;
5863
+ }, {
5864
+ type: "function";
5865
+ name: string;
5866
+ description: string;
5867
+ parameters: Record<string, any>;
5868
+ }>]>, "many">>;
5869
+ toolsPath: z.ZodOptional<z.ZodString>;
5870
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
5871
+ type: z.ZodLiteral<"function">;
5872
+ name: z.ZodString;
5873
+ }, "strip", z.ZodTypeAny, {
5874
+ type: "function";
5875
+ name: string;
5876
+ }, {
5877
+ type: "function";
5878
+ name: string;
5879
+ }>]>>;
5144
5880
  }, "strip", z.ZodTypeAny, {
5145
5881
  llmProvider: string;
5146
5882
  modelId: string;
@@ -5154,6 +5890,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5154
5890
  topK?: number | undefined;
5155
5891
  seed?: number | undefined;
5156
5892
  } | undefined;
5893
+ tools?: ({
5894
+ type: "function";
5895
+ name: string;
5896
+ description: string;
5897
+ parameters: Record<string, any>;
5898
+ } | {
5899
+ type: import("../index.js").LlmBuiltInToolType;
5900
+ config?: Record<string, any> | undefined;
5901
+ })[] | undefined;
5902
+ toolsPath?: string | undefined;
5903
+ toolChoice?: "auto" | "none" | "required" | {
5904
+ type: "function";
5905
+ name: string;
5906
+ } | undefined;
5157
5907
  }, {
5158
5908
  llmProvider: string;
5159
5909
  modelId: string;
@@ -5167,6 +5917,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5167
5917
  topK?: number | undefined;
5168
5918
  seed?: number | undefined;
5169
5919
  } | undefined;
5920
+ tools?: ({
5921
+ type: "function";
5922
+ name: string;
5923
+ description: string;
5924
+ parameters: Record<string, any>;
5925
+ } | {
5926
+ type: import("../index.js").LlmBuiltInToolType;
5927
+ config?: Record<string, any> | undefined;
5928
+ })[] | undefined;
5929
+ toolsPath?: string | undefined;
5930
+ toolChoice?: "auto" | "none" | "required" | {
5931
+ type: "function";
5932
+ name: string;
5933
+ } | undefined;
5170
5934
  }>, "many">>;
5171
5935
  promptTemplateId: z.ZodOptional<z.ZodString>;
5172
5936
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -5263,6 +6027,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
5263
6027
  mimeType?: string | undefined;
5264
6028
  }>, "many">>;
5265
6029
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
6030
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
6031
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
6032
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6033
+ }, "strip", z.ZodTypeAny, {
6034
+ type: import("../index.js").LlmBuiltInToolType;
6035
+ config?: Record<string, any> | undefined;
6036
+ }, {
6037
+ type: import("../index.js").LlmBuiltInToolType;
6038
+ config?: Record<string, any> | undefined;
6039
+ }>, z.ZodObject<{
6040
+ type: z.ZodLiteral<"function">;
6041
+ name: z.ZodString;
6042
+ description: z.ZodString;
6043
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
6044
+ }, "strip", z.ZodTypeAny, {
6045
+ type: "function";
6046
+ name: string;
6047
+ description: string;
6048
+ parameters: Record<string, any>;
6049
+ }, {
6050
+ type: "function";
6051
+ name: string;
6052
+ description: string;
6053
+ parameters: Record<string, any>;
6054
+ }>]>, "many">>;
6055
+ toolsPath: z.ZodOptional<z.ZodString>;
6056
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
6057
+ type: z.ZodLiteral<"function">;
6058
+ name: z.ZodString;
6059
+ }, "strip", z.ZodTypeAny, {
6060
+ type: "function";
6061
+ name: string;
6062
+ }, {
6063
+ type: "function";
6064
+ name: string;
6065
+ }>]>>;
5266
6066
  inferenceParameters: z.ZodOptional<z.ZodObject<{
5267
6067
  temperature: z.ZodOptional<z.ZodNumber>;
5268
6068
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -7657,6 +8457,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7657
8457
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7658
8458
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
7659
8459
  }, z.ZodTypeAny, "passthrough">>>;
8460
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8461
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
8462
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8463
+ }, "strip", z.ZodTypeAny, {
8464
+ type: import("../index.js").LlmBuiltInToolType;
8465
+ config?: Record<string, any> | undefined;
8466
+ }, {
8467
+ type: import("../index.js").LlmBuiltInToolType;
8468
+ config?: Record<string, any> | undefined;
8469
+ }>, z.ZodObject<{
8470
+ type: z.ZodLiteral<"function">;
8471
+ name: z.ZodString;
8472
+ description: z.ZodString;
8473
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
8474
+ }, "strip", z.ZodTypeAny, {
8475
+ type: "function";
8476
+ name: string;
8477
+ description: string;
8478
+ parameters: Record<string, any>;
8479
+ }, {
8480
+ type: "function";
8481
+ name: string;
8482
+ description: string;
8483
+ parameters: Record<string, any>;
8484
+ }>]>, "many">>;
8485
+ toolsPath: z.ZodOptional<z.ZodString>;
8486
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
8487
+ type: z.ZodLiteral<"function">;
8488
+ name: z.ZodString;
8489
+ }, "strip", z.ZodTypeAny, {
8490
+ type: "function";
8491
+ name: string;
8492
+ }, {
8493
+ type: "function";
8494
+ name: string;
8495
+ }>]>>;
7660
8496
  }, "strip", z.ZodTypeAny, {
7661
8497
  llmProvider: string;
7662
8498
  modelId: string;
@@ -7670,6 +8506,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7670
8506
  topK?: number | undefined;
7671
8507
  seed?: number | undefined;
7672
8508
  } | undefined;
8509
+ tools?: ({
8510
+ type: "function";
8511
+ name: string;
8512
+ description: string;
8513
+ parameters: Record<string, any>;
8514
+ } | {
8515
+ type: import("../index.js").LlmBuiltInToolType;
8516
+ config?: Record<string, any> | undefined;
8517
+ })[] | undefined;
8518
+ toolsPath?: string | undefined;
8519
+ toolChoice?: "auto" | "none" | "required" | {
8520
+ type: "function";
8521
+ name: string;
8522
+ } | undefined;
7673
8523
  }, {
7674
8524
  llmProvider: string;
7675
8525
  modelId: string;
@@ -7683,6 +8533,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7683
8533
  topK?: number | undefined;
7684
8534
  seed?: number | undefined;
7685
8535
  } | undefined;
8536
+ tools?: ({
8537
+ type: "function";
8538
+ name: string;
8539
+ description: string;
8540
+ parameters: Record<string, any>;
8541
+ } | {
8542
+ type: import("../index.js").LlmBuiltInToolType;
8543
+ config?: Record<string, any> | undefined;
8544
+ })[] | undefined;
8545
+ toolsPath?: string | undefined;
8546
+ toolChoice?: "auto" | "none" | "required" | {
8547
+ type: "function";
8548
+ name: string;
8549
+ } | undefined;
7686
8550
  }>, "many">>;
7687
8551
  promptTemplateId: z.ZodOptional<z.ZodString>;
7688
8552
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -7779,6 +8643,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
7779
8643
  mimeType?: string | undefined;
7780
8644
  }>, "many">>;
7781
8645
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
8646
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
8647
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
8648
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8649
+ }, "strip", z.ZodTypeAny, {
8650
+ type: import("../index.js").LlmBuiltInToolType;
8651
+ config?: Record<string, any> | undefined;
8652
+ }, {
8653
+ type: import("../index.js").LlmBuiltInToolType;
8654
+ config?: Record<string, any> | undefined;
8655
+ }>, z.ZodObject<{
8656
+ type: z.ZodLiteral<"function">;
8657
+ name: z.ZodString;
8658
+ description: z.ZodString;
8659
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
8660
+ }, "strip", z.ZodTypeAny, {
8661
+ type: "function";
8662
+ name: string;
8663
+ description: string;
8664
+ parameters: Record<string, any>;
8665
+ }, {
8666
+ type: "function";
8667
+ name: string;
8668
+ description: string;
8669
+ parameters: Record<string, any>;
8670
+ }>]>, "many">>;
8671
+ toolsPath: z.ZodOptional<z.ZodString>;
8672
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
8673
+ type: z.ZodLiteral<"function">;
8674
+ name: z.ZodString;
8675
+ }, "strip", z.ZodTypeAny, {
8676
+ type: "function";
8677
+ name: string;
8678
+ }, {
8679
+ type: "function";
8680
+ name: string;
8681
+ }>]>>;
7782
8682
  inferenceParameters: z.ZodOptional<z.ZodObject<{
7783
8683
  temperature: z.ZodOptional<z.ZodNumber>;
7784
8684
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -8539,6 +9439,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
8539
9439
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8540
9440
  jsonOutputMode: z.ZodOptional<z.ZodBoolean>;
8541
9441
  }, z.ZodTypeAny, "passthrough">>>;
9442
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9443
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
9444
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9445
+ }, "strip", z.ZodTypeAny, {
9446
+ type: import("../index.js").LlmBuiltInToolType;
9447
+ config?: Record<string, any> | undefined;
9448
+ }, {
9449
+ type: import("../index.js").LlmBuiltInToolType;
9450
+ config?: Record<string, any> | undefined;
9451
+ }>, z.ZodObject<{
9452
+ type: z.ZodLiteral<"function">;
9453
+ name: z.ZodString;
9454
+ description: z.ZodString;
9455
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
9456
+ }, "strip", z.ZodTypeAny, {
9457
+ type: "function";
9458
+ name: string;
9459
+ description: string;
9460
+ parameters: Record<string, any>;
9461
+ }, {
9462
+ type: "function";
9463
+ name: string;
9464
+ description: string;
9465
+ parameters: Record<string, any>;
9466
+ }>]>, "many">>;
9467
+ toolsPath: z.ZodOptional<z.ZodString>;
9468
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
9469
+ type: z.ZodLiteral<"function">;
9470
+ name: z.ZodString;
9471
+ }, "strip", z.ZodTypeAny, {
9472
+ type: "function";
9473
+ name: string;
9474
+ }, {
9475
+ type: "function";
9476
+ name: string;
9477
+ }>]>>;
8542
9478
  }, "strip", z.ZodTypeAny, {
8543
9479
  llmProvider: string;
8544
9480
  modelId: string;
@@ -8552,6 +9488,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
8552
9488
  topK?: number | undefined;
8553
9489
  seed?: number | undefined;
8554
9490
  } | undefined;
9491
+ tools?: ({
9492
+ type: "function";
9493
+ name: string;
9494
+ description: string;
9495
+ parameters: Record<string, any>;
9496
+ } | {
9497
+ type: import("../index.js").LlmBuiltInToolType;
9498
+ config?: Record<string, any> | undefined;
9499
+ })[] | undefined;
9500
+ toolsPath?: string | undefined;
9501
+ toolChoice?: "auto" | "none" | "required" | {
9502
+ type: "function";
9503
+ name: string;
9504
+ } | undefined;
8555
9505
  }, {
8556
9506
  llmProvider: string;
8557
9507
  modelId: string;
@@ -8565,6 +9515,20 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
8565
9515
  topK?: number | undefined;
8566
9516
  seed?: number | undefined;
8567
9517
  } | undefined;
9518
+ tools?: ({
9519
+ type: "function";
9520
+ name: string;
9521
+ description: string;
9522
+ parameters: Record<string, any>;
9523
+ } | {
9524
+ type: import("../index.js").LlmBuiltInToolType;
9525
+ config?: Record<string, any> | undefined;
9526
+ })[] | undefined;
9527
+ toolsPath?: string | undefined;
9528
+ toolChoice?: "auto" | "none" | "required" | {
9529
+ type: "function";
9530
+ name: string;
9531
+ } | undefined;
8568
9532
  }>, "many">>;
8569
9533
  promptTemplateId: z.ZodOptional<z.ZodString>;
8570
9534
  templateContextMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
@@ -8661,6 +9625,42 @@ export declare const UpdateStepDefinitionInputSchema: z.ZodIntersection<z.ZodEff
8661
9625
  mimeType?: string | undefined;
8662
9626
  }>, "many">>;
8663
9627
  mediaAttachmentsPath: z.ZodOptional<z.ZodString>;
9628
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9629
+ type: z.ZodNativeEnum<typeof import("../index.js").LlmBuiltInToolType>;
9630
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9631
+ }, "strip", z.ZodTypeAny, {
9632
+ type: import("../index.js").LlmBuiltInToolType;
9633
+ config?: Record<string, any> | undefined;
9634
+ }, {
9635
+ type: import("../index.js").LlmBuiltInToolType;
9636
+ config?: Record<string, any> | undefined;
9637
+ }>, z.ZodObject<{
9638
+ type: z.ZodLiteral<"function">;
9639
+ name: z.ZodString;
9640
+ description: z.ZodString;
9641
+ parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
9642
+ }, "strip", z.ZodTypeAny, {
9643
+ type: "function";
9644
+ name: string;
9645
+ description: string;
9646
+ parameters: Record<string, any>;
9647
+ }, {
9648
+ type: "function";
9649
+ name: string;
9650
+ description: string;
9651
+ parameters: Record<string, any>;
9652
+ }>]>, "many">>;
9653
+ toolsPath: z.ZodOptional<z.ZodString>;
9654
+ toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
9655
+ type: z.ZodLiteral<"function">;
9656
+ name: z.ZodString;
9657
+ }, "strip", z.ZodTypeAny, {
9658
+ type: "function";
9659
+ name: string;
9660
+ }, {
9661
+ type: "function";
9662
+ name: string;
9663
+ }>]>>;
8664
9664
  inferenceParameters: z.ZodOptional<z.ZodObject<{
8665
9665
  temperature: z.ZodOptional<z.ZodNumber>;
8666
9666
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;