@promptlayer/mcp-server 1.6.0 → 1.8.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.
- package/README.md +5 -1
- package/build/client.d.ts +5 -0
- package/build/client.d.ts.map +1 -1
- package/build/client.js +5 -0
- package/build/client.js.map +1 -1
- package/build/handlers.d.ts.map +1 -1
- package/build/handlers.js +5 -0
- package/build/handlers.js.map +1 -1
- package/build/types.d.ts +208 -89
- package/build/types.d.ts.map +1 -1
- package/build/types.js +69 -16
- package/build/types.js.map +1 -1
- package/gcp/src/index.ts +8 -0
- package/package.json +1 -1
- package/src/client.ts +5 -0
- package/src/handlers.ts +14 -0
- package/src/types.ts +79 -16
package/build/types.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { z } from "zod";
|
|
|
7
7
|
export declare const GetPromptTemplateArgsSchema: z.ZodObject<{
|
|
8
8
|
prompt_name: z.ZodString;
|
|
9
9
|
version: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
11
10
|
label: z.ZodOptional<z.ZodString>;
|
|
12
11
|
provider: z.ZodOptional<z.ZodEnum<["openai", "anthropic", "amazon.bedrock", "cohere", "google", "huggingface", "mistral", "openai.azure", "vertexai"]>>;
|
|
13
12
|
input_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -18,7 +17,6 @@ export declare const GetPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
18
17
|
}, "strip", z.ZodTypeAny, {
|
|
19
18
|
prompt_name: string;
|
|
20
19
|
version?: number | undefined;
|
|
21
|
-
workspace_id?: number | undefined;
|
|
22
20
|
label?: string | undefined;
|
|
23
21
|
provider?: "openai" | "anthropic" | "amazon.bedrock" | "cohere" | "google" | "huggingface" | "mistral" | "openai.azure" | "vertexai" | undefined;
|
|
24
22
|
input_variables?: Record<string, string> | undefined;
|
|
@@ -29,7 +27,6 @@ export declare const GetPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
29
27
|
}, {
|
|
30
28
|
prompt_name: string;
|
|
31
29
|
version?: number | undefined;
|
|
32
|
-
workspace_id?: number | undefined;
|
|
33
30
|
label?: string | undefined;
|
|
34
31
|
provider?: "openai" | "anthropic" | "amazon.bedrock" | "cohere" | "google" | "huggingface" | "mistral" | "openai.azure" | "vertexai" | undefined;
|
|
35
32
|
input_variables?: Record<string, string> | undefined;
|
|
@@ -67,10 +64,8 @@ export declare const ListPromptTemplatesArgsSchema: z.ZodObject<{
|
|
|
67
64
|
name: z.ZodOptional<z.ZodString>;
|
|
68
65
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
69
66
|
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
70
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
71
67
|
api_key: z.ZodOptional<z.ZodString>;
|
|
72
68
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
workspace_id?: number | undefined;
|
|
74
69
|
label?: string | undefined;
|
|
75
70
|
status?: "active" | "deleted" | "all" | undefined;
|
|
76
71
|
api_key?: string | undefined;
|
|
@@ -79,7 +74,6 @@ export declare const ListPromptTemplatesArgsSchema: z.ZodObject<{
|
|
|
79
74
|
name?: string | undefined;
|
|
80
75
|
tags?: string | string[] | undefined;
|
|
81
76
|
}, {
|
|
82
|
-
workspace_id?: number | undefined;
|
|
83
77
|
label?: string | undefined;
|
|
84
78
|
status?: "active" | "deleted" | "all" | undefined;
|
|
85
79
|
api_key?: string | undefined;
|
|
@@ -93,15 +87,12 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
93
87
|
prompt_name: z.ZodString;
|
|
94
88
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
89
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
96
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
97
90
|
}, "strip", z.ZodTypeAny, {
|
|
98
91
|
prompt_name: string;
|
|
99
|
-
workspace_id?: number | undefined;
|
|
100
92
|
tags?: string[] | undefined;
|
|
101
93
|
folder_id?: number | undefined;
|
|
102
94
|
}, {
|
|
103
95
|
prompt_name: string;
|
|
104
|
-
workspace_id?: number | undefined;
|
|
105
96
|
tags?: string[] | undefined;
|
|
106
97
|
folder_id?: number | undefined;
|
|
107
98
|
}>;
|
|
@@ -133,7 +124,6 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
133
124
|
}, "strip", z.ZodTypeAny, {
|
|
134
125
|
prompt_template: {
|
|
135
126
|
prompt_name: string;
|
|
136
|
-
workspace_id?: number | undefined;
|
|
137
127
|
tags?: string[] | undefined;
|
|
138
128
|
folder_id?: number | undefined;
|
|
139
129
|
};
|
|
@@ -151,7 +141,6 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
151
141
|
}, {
|
|
152
142
|
prompt_template: {
|
|
153
143
|
prompt_name: string;
|
|
154
|
-
workspace_id?: number | undefined;
|
|
155
144
|
tags?: string[] | undefined;
|
|
156
145
|
folder_id?: number | undefined;
|
|
157
146
|
};
|
|
@@ -331,10 +320,8 @@ export declare const ListDatasetsArgsSchema: z.ZodObject<{
|
|
|
331
320
|
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
332
321
|
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
333
322
|
report_id: z.ZodOptional<z.ZodNumber>;
|
|
334
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
335
323
|
api_key: z.ZodOptional<z.ZodString>;
|
|
336
324
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
workspace_id?: number | undefined;
|
|
338
325
|
status?: "active" | "deleted" | "all" | undefined;
|
|
339
326
|
api_key?: string | undefined;
|
|
340
327
|
page?: number | undefined;
|
|
@@ -346,7 +333,6 @@ export declare const ListDatasetsArgsSchema: z.ZodObject<{
|
|
|
346
333
|
dataset_group_id?: number | undefined;
|
|
347
334
|
report_id?: number | undefined;
|
|
348
335
|
}, {
|
|
349
|
-
workspace_id?: number | undefined;
|
|
350
336
|
status?: "active" | "deleted" | "all" | undefined;
|
|
351
337
|
api_key?: string | undefined;
|
|
352
338
|
page?: number | undefined;
|
|
@@ -360,16 +346,13 @@ export declare const ListDatasetsArgsSchema: z.ZodObject<{
|
|
|
360
346
|
}>;
|
|
361
347
|
export declare const CreateDatasetGroupArgsSchema: z.ZodObject<{
|
|
362
348
|
name: z.ZodOptional<z.ZodString>;
|
|
363
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
364
349
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
365
350
|
api_key: z.ZodOptional<z.ZodString>;
|
|
366
351
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
workspace_id?: number | undefined;
|
|
368
352
|
api_key?: string | undefined;
|
|
369
353
|
name?: string | undefined;
|
|
370
354
|
folder_id?: number | undefined;
|
|
371
355
|
}, {
|
|
372
|
-
workspace_id?: number | undefined;
|
|
373
356
|
api_key?: string | undefined;
|
|
374
357
|
name?: string | undefined;
|
|
375
358
|
folder_id?: number | undefined;
|
|
@@ -393,7 +376,6 @@ export declare const CreateDatasetVersionFromFileArgsSchema: z.ZodObject<{
|
|
|
393
376
|
export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject<{
|
|
394
377
|
dataset_group_id: z.ZodNumber;
|
|
395
378
|
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
396
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
397
379
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
398
380
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
399
381
|
start_time: z.ZodOptional<z.ZodString>;
|
|
@@ -469,7 +451,6 @@ export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject
|
|
|
469
451
|
api_key: z.ZodOptional<z.ZodString>;
|
|
470
452
|
}, "strip", z.ZodTypeAny, {
|
|
471
453
|
dataset_group_id: number;
|
|
472
|
-
workspace_id?: number | undefined;
|
|
473
454
|
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
474
455
|
api_key?: string | undefined;
|
|
475
456
|
tags?: string[] | undefined;
|
|
@@ -510,7 +491,6 @@ export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject
|
|
|
510
491
|
order_by_random?: boolean | undefined;
|
|
511
492
|
}, {
|
|
512
493
|
dataset_group_id: number;
|
|
513
|
-
workspace_id?: number | undefined;
|
|
514
494
|
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
515
495
|
api_key?: string | undefined;
|
|
516
496
|
tags?: string[] | undefined;
|
|
@@ -552,21 +532,18 @@ export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject
|
|
|
552
532
|
}>;
|
|
553
533
|
export declare const GetDatasetRowsArgsSchema: z.ZodObject<{
|
|
554
534
|
dataset_id: z.ZodNumber;
|
|
555
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
556
535
|
page: z.ZodOptional<z.ZodNumber>;
|
|
557
536
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
558
537
|
q: z.ZodOptional<z.ZodString>;
|
|
559
538
|
api_key: z.ZodOptional<z.ZodString>;
|
|
560
539
|
}, "strip", z.ZodTypeAny, {
|
|
561
540
|
dataset_id: number;
|
|
562
|
-
workspace_id?: number | undefined;
|
|
563
541
|
api_key?: string | undefined;
|
|
564
542
|
page?: number | undefined;
|
|
565
543
|
per_page?: number | undefined;
|
|
566
544
|
q?: string | undefined;
|
|
567
545
|
}, {
|
|
568
546
|
dataset_id: number;
|
|
569
|
-
workspace_id?: number | undefined;
|
|
570
547
|
api_key?: string | undefined;
|
|
571
548
|
page?: number | undefined;
|
|
572
549
|
per_page?: number | undefined;
|
|
@@ -614,10 +591,8 @@ export declare const ListEvaluationsArgsSchema: z.ZodObject<{
|
|
|
614
591
|
name: z.ZodOptional<z.ZodString>;
|
|
615
592
|
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
616
593
|
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
618
594
|
api_key: z.ZodOptional<z.ZodString>;
|
|
619
595
|
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
workspace_id?: number | undefined;
|
|
621
596
|
status?: "active" | "deleted" | "all" | undefined;
|
|
622
597
|
api_key?: string | undefined;
|
|
623
598
|
page?: number | undefined;
|
|
@@ -625,7 +600,6 @@ export declare const ListEvaluationsArgsSchema: z.ZodObject<{
|
|
|
625
600
|
name?: string | undefined;
|
|
626
601
|
include_runs?: boolean | undefined;
|
|
627
602
|
}, {
|
|
628
|
-
workspace_id?: number | undefined;
|
|
629
603
|
status?: "active" | "deleted" | "all" | undefined;
|
|
630
604
|
api_key?: string | undefined;
|
|
631
605
|
page?: number | undefined;
|
|
@@ -635,19 +609,16 @@ export declare const ListEvaluationsArgsSchema: z.ZodObject<{
|
|
|
635
609
|
}>;
|
|
636
610
|
export declare const GetEvaluationRowsArgsSchema: z.ZodObject<{
|
|
637
611
|
evaluation_id: z.ZodNumber;
|
|
638
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
639
612
|
page: z.ZodOptional<z.ZodNumber>;
|
|
640
613
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
641
614
|
api_key: z.ZodOptional<z.ZodString>;
|
|
642
615
|
}, "strip", z.ZodTypeAny, {
|
|
643
616
|
evaluation_id: number;
|
|
644
|
-
workspace_id?: number | undefined;
|
|
645
617
|
api_key?: string | undefined;
|
|
646
618
|
page?: number | undefined;
|
|
647
619
|
per_page?: number | undefined;
|
|
648
620
|
}, {
|
|
649
621
|
evaluation_id: number;
|
|
650
|
-
workspace_id?: number | undefined;
|
|
651
622
|
api_key?: string | undefined;
|
|
652
623
|
page?: number | undefined;
|
|
653
624
|
per_page?: number | undefined;
|
|
@@ -745,6 +716,92 @@ export declare const DeleteReportsByNameArgsSchema: z.ZodObject<{
|
|
|
745
716
|
report_name: string;
|
|
746
717
|
api_key?: string | undefined;
|
|
747
718
|
}>;
|
|
719
|
+
export declare const DeleteReportArgsSchema: z.ZodObject<{
|
|
720
|
+
report_id: z.ZodNumber;
|
|
721
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
report_id: number;
|
|
724
|
+
api_key?: string | undefined;
|
|
725
|
+
}, {
|
|
726
|
+
report_id: number;
|
|
727
|
+
api_key?: string | undefined;
|
|
728
|
+
}>;
|
|
729
|
+
export declare const RenameReportArgsSchema: z.ZodObject<{
|
|
730
|
+
report_id: z.ZodNumber;
|
|
731
|
+
name: z.ZodOptional<z.ZodString>;
|
|
732
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
733
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
report_id: number;
|
|
736
|
+
api_key?: string | undefined;
|
|
737
|
+
name?: string | undefined;
|
|
738
|
+
tags?: string[] | undefined;
|
|
739
|
+
}, {
|
|
740
|
+
report_id: number;
|
|
741
|
+
api_key?: string | undefined;
|
|
742
|
+
name?: string | undefined;
|
|
743
|
+
tags?: string[] | undefined;
|
|
744
|
+
}>;
|
|
745
|
+
export declare const AddReportColumnArgsSchema: z.ZodObject<{
|
|
746
|
+
report_id: z.ZodNumber;
|
|
747
|
+
column_type: z.ZodString;
|
|
748
|
+
name: z.ZodString;
|
|
749
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
750
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
751
|
+
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
752
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, "strip", z.ZodTypeAny, {
|
|
754
|
+
name: string;
|
|
755
|
+
report_id: number;
|
|
756
|
+
column_type: string;
|
|
757
|
+
configuration: Record<string, unknown>;
|
|
758
|
+
api_key?: string | undefined;
|
|
759
|
+
position?: number | undefined;
|
|
760
|
+
is_part_of_score?: boolean | undefined;
|
|
761
|
+
}, {
|
|
762
|
+
name: string;
|
|
763
|
+
report_id: number;
|
|
764
|
+
column_type: string;
|
|
765
|
+
configuration: Record<string, unknown>;
|
|
766
|
+
api_key?: string | undefined;
|
|
767
|
+
position?: number | undefined;
|
|
768
|
+
is_part_of_score?: boolean | undefined;
|
|
769
|
+
}>;
|
|
770
|
+
export declare const EditReportColumnArgsSchema: z.ZodObject<{
|
|
771
|
+
report_column_id: z.ZodNumber;
|
|
772
|
+
report_id: z.ZodNumber;
|
|
773
|
+
column_type: z.ZodString;
|
|
774
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
775
|
+
name: z.ZodOptional<z.ZodString>;
|
|
776
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
777
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
778
|
+
}, "strip", z.ZodTypeAny, {
|
|
779
|
+
report_id: number;
|
|
780
|
+
column_type: string;
|
|
781
|
+
report_column_id: number;
|
|
782
|
+
api_key?: string | undefined;
|
|
783
|
+
name?: string | undefined;
|
|
784
|
+
configuration?: Record<string, unknown> | undefined;
|
|
785
|
+
position?: number | undefined;
|
|
786
|
+
}, {
|
|
787
|
+
report_id: number;
|
|
788
|
+
column_type: string;
|
|
789
|
+
report_column_id: number;
|
|
790
|
+
api_key?: string | undefined;
|
|
791
|
+
name?: string | undefined;
|
|
792
|
+
configuration?: Record<string, unknown> | undefined;
|
|
793
|
+
position?: number | undefined;
|
|
794
|
+
}>;
|
|
795
|
+
export declare const DeleteReportColumnArgsSchema: z.ZodObject<{
|
|
796
|
+
report_column_id: z.ZodNumber;
|
|
797
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
|
+
report_column_id: number;
|
|
800
|
+
api_key?: string | undefined;
|
|
801
|
+
}, {
|
|
802
|
+
report_column_id: number;
|
|
803
|
+
api_key?: string | undefined;
|
|
804
|
+
}>;
|
|
748
805
|
export declare const ListWorkflowsArgsSchema: z.ZodObject<{
|
|
749
806
|
page: z.ZodOptional<z.ZodNumber>;
|
|
750
807
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -896,16 +953,13 @@ export declare const GetWorkflowLabelsArgsSchema: z.ZodObject<{
|
|
|
896
953
|
export declare const CreateFolderArgsSchema: z.ZodObject<{
|
|
897
954
|
name: z.ZodString;
|
|
898
955
|
parent_id: z.ZodOptional<z.ZodNumber>;
|
|
899
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
900
956
|
api_key: z.ZodOptional<z.ZodString>;
|
|
901
957
|
}, "strip", z.ZodTypeAny, {
|
|
902
958
|
name: string;
|
|
903
|
-
workspace_id?: number | undefined;
|
|
904
959
|
api_key?: string | undefined;
|
|
905
960
|
parent_id?: number | undefined;
|
|
906
961
|
}, {
|
|
907
962
|
name: string;
|
|
908
|
-
workspace_id?: number | undefined;
|
|
909
963
|
api_key?: string | undefined;
|
|
910
964
|
parent_id?: number | undefined;
|
|
911
965
|
}>;
|
|
@@ -932,10 +986,8 @@ export declare const GetFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
932
986
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
933
987
|
flatten: z.ZodOptional<z.ZodBoolean>;
|
|
934
988
|
include_metadata: z.ZodOptional<z.ZodBoolean>;
|
|
935
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
936
989
|
api_key: z.ZodOptional<z.ZodString>;
|
|
937
990
|
}, "strip", z.ZodTypeAny, {
|
|
938
|
-
workspace_id?: number | undefined;
|
|
939
991
|
api_key?: string | undefined;
|
|
940
992
|
tags?: string[] | undefined;
|
|
941
993
|
folder_id?: number | undefined;
|
|
@@ -947,7 +999,6 @@ export declare const GetFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
947
999
|
flatten?: boolean | undefined;
|
|
948
1000
|
include_metadata?: boolean | undefined;
|
|
949
1001
|
}, {
|
|
950
|
-
workspace_id?: number | undefined;
|
|
951
1002
|
api_key?: string | undefined;
|
|
952
1003
|
tags?: string[] | undefined;
|
|
953
1004
|
folder_id?: number | undefined;
|
|
@@ -971,14 +1022,12 @@ export declare const MoveFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
971
1022
|
id: number;
|
|
972
1023
|
}>, "many">;
|
|
973
1024
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
974
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
975
1025
|
api_key: z.ZodOptional<z.ZodString>;
|
|
976
1026
|
}, "strip", z.ZodTypeAny, {
|
|
977
1027
|
entities: {
|
|
978
1028
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
979
1029
|
id: number;
|
|
980
1030
|
}[];
|
|
981
|
-
workspace_id?: number | undefined;
|
|
982
1031
|
api_key?: string | undefined;
|
|
983
1032
|
folder_id?: number | undefined;
|
|
984
1033
|
}, {
|
|
@@ -986,7 +1035,6 @@ export declare const MoveFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
986
1035
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
987
1036
|
id: number;
|
|
988
1037
|
}[];
|
|
989
|
-
workspace_id?: number | undefined;
|
|
990
1038
|
api_key?: string | undefined;
|
|
991
1039
|
folder_id?: number | undefined;
|
|
992
1040
|
}>;
|
|
@@ -1002,14 +1050,12 @@ export declare const DeleteFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
1002
1050
|
id: number;
|
|
1003
1051
|
}>, "many">;
|
|
1004
1052
|
cascade: z.ZodOptional<z.ZodBoolean>;
|
|
1005
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1006
1053
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1007
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1008
1055
|
entities: {
|
|
1009
1056
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
1010
1057
|
id: number;
|
|
1011
1058
|
}[];
|
|
1012
|
-
workspace_id?: number | undefined;
|
|
1013
1059
|
api_key?: string | undefined;
|
|
1014
1060
|
cascade?: boolean | undefined;
|
|
1015
1061
|
}, {
|
|
@@ -1017,21 +1063,17 @@ export declare const DeleteFolderEntitiesArgsSchema: z.ZodObject<{
|
|
|
1017
1063
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
1018
1064
|
id: number;
|
|
1019
1065
|
}[];
|
|
1020
|
-
workspace_id?: number | undefined;
|
|
1021
1066
|
api_key?: string | undefined;
|
|
1022
1067
|
cascade?: boolean | undefined;
|
|
1023
1068
|
}>;
|
|
1024
1069
|
export declare const ResolveFolderIdArgsSchema: z.ZodObject<{
|
|
1025
1070
|
path: z.ZodString;
|
|
1026
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1027
1071
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1028
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1029
1073
|
path: string;
|
|
1030
|
-
workspace_id?: number | undefined;
|
|
1031
1074
|
api_key?: string | undefined;
|
|
1032
1075
|
}, {
|
|
1033
1076
|
path: string;
|
|
1034
|
-
workspace_id?: number | undefined;
|
|
1035
1077
|
api_key?: string | undefined;
|
|
1036
1078
|
}>;
|
|
1037
1079
|
export declare const SearchRequestLogsArgsSchema: z.ZodObject<{
|
|
@@ -1113,7 +1155,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1113
1155
|
readonly inputSchema: z.ZodObject<{
|
|
1114
1156
|
prompt_name: z.ZodString;
|
|
1115
1157
|
version: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1117
1158
|
label: z.ZodOptional<z.ZodString>;
|
|
1118
1159
|
provider: z.ZodOptional<z.ZodEnum<["openai", "anthropic", "amazon.bedrock", "cohere", "google", "huggingface", "mistral", "openai.azure", "vertexai"]>>;
|
|
1119
1160
|
input_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1124,7 +1165,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1124
1165
|
}, "strip", z.ZodTypeAny, {
|
|
1125
1166
|
prompt_name: string;
|
|
1126
1167
|
version?: number | undefined;
|
|
1127
|
-
workspace_id?: number | undefined;
|
|
1128
1168
|
label?: string | undefined;
|
|
1129
1169
|
provider?: "openai" | "anthropic" | "amazon.bedrock" | "cohere" | "google" | "huggingface" | "mistral" | "openai.azure" | "vertexai" | undefined;
|
|
1130
1170
|
input_variables?: Record<string, string> | undefined;
|
|
@@ -1135,7 +1175,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1135
1175
|
}, {
|
|
1136
1176
|
prompt_name: string;
|
|
1137
1177
|
version?: number | undefined;
|
|
1138
|
-
workspace_id?: number | undefined;
|
|
1139
1178
|
label?: string | undefined;
|
|
1140
1179
|
provider?: "openai" | "anthropic" | "amazon.bedrock" | "cohere" | "google" | "huggingface" | "mistral" | "openai.azure" | "vertexai" | undefined;
|
|
1141
1180
|
input_variables?: Record<string, string> | undefined;
|
|
@@ -1187,10 +1226,8 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1187
1226
|
name: z.ZodOptional<z.ZodString>;
|
|
1188
1227
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1189
1228
|
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
1190
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1191
1229
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1192
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1193
|
-
workspace_id?: number | undefined;
|
|
1194
1231
|
label?: string | undefined;
|
|
1195
1232
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1196
1233
|
api_key?: string | undefined;
|
|
@@ -1199,7 +1236,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1199
1236
|
name?: string | undefined;
|
|
1200
1237
|
tags?: string | string[] | undefined;
|
|
1201
1238
|
}, {
|
|
1202
|
-
workspace_id?: number | undefined;
|
|
1203
1239
|
label?: string | undefined;
|
|
1204
1240
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1205
1241
|
api_key?: string | undefined;
|
|
@@ -1220,15 +1256,12 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1220
1256
|
prompt_name: z.ZodString;
|
|
1221
1257
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1222
1258
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1223
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1224
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1225
1260
|
prompt_name: string;
|
|
1226
|
-
workspace_id?: number | undefined;
|
|
1227
1261
|
tags?: string[] | undefined;
|
|
1228
1262
|
folder_id?: number | undefined;
|
|
1229
1263
|
}, {
|
|
1230
1264
|
prompt_name: string;
|
|
1231
|
-
workspace_id?: number | undefined;
|
|
1232
1265
|
tags?: string[] | undefined;
|
|
1233
1266
|
folder_id?: number | undefined;
|
|
1234
1267
|
}>;
|
|
@@ -1260,7 +1293,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1260
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1294
|
prompt_template: {
|
|
1262
1295
|
prompt_name: string;
|
|
1263
|
-
workspace_id?: number | undefined;
|
|
1264
1296
|
tags?: string[] | undefined;
|
|
1265
1297
|
folder_id?: number | undefined;
|
|
1266
1298
|
};
|
|
@@ -1278,7 +1310,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1278
1310
|
}, {
|
|
1279
1311
|
prompt_template: {
|
|
1280
1312
|
prompt_name: string;
|
|
1281
|
-
workspace_id?: number | undefined;
|
|
1282
1313
|
tags?: string[] | undefined;
|
|
1283
1314
|
folder_id?: number | undefined;
|
|
1284
1315
|
};
|
|
@@ -1612,10 +1643,8 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1612
1643
|
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1613
1644
|
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1614
1645
|
report_id: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1616
1646
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1617
1647
|
}, "strip", z.ZodTypeAny, {
|
|
1618
|
-
workspace_id?: number | undefined;
|
|
1619
1648
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1620
1649
|
api_key?: string | undefined;
|
|
1621
1650
|
page?: number | undefined;
|
|
@@ -1627,7 +1656,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1627
1656
|
dataset_group_id?: number | undefined;
|
|
1628
1657
|
report_id?: number | undefined;
|
|
1629
1658
|
}, {
|
|
1630
|
-
workspace_id?: number | undefined;
|
|
1631
1659
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1632
1660
|
api_key?: string | undefined;
|
|
1633
1661
|
page?: number | undefined;
|
|
@@ -1648,16 +1676,13 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1648
1676
|
readonly description: "Create a dataset group. An empty draft version (version_number=-1) is created automatically. Names must be unique per workspace.";
|
|
1649
1677
|
readonly inputSchema: z.ZodObject<{
|
|
1650
1678
|
name: z.ZodOptional<z.ZodString>;
|
|
1651
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1652
1679
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1653
1680
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1654
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1655
|
-
workspace_id?: number | undefined;
|
|
1656
1682
|
api_key?: string | undefined;
|
|
1657
1683
|
name?: string | undefined;
|
|
1658
1684
|
folder_id?: number | undefined;
|
|
1659
1685
|
}, {
|
|
1660
|
-
workspace_id?: number | undefined;
|
|
1661
1686
|
api_key?: string | undefined;
|
|
1662
1687
|
name?: string | undefined;
|
|
1663
1688
|
folder_id?: number | undefined;
|
|
@@ -1695,7 +1720,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1695
1720
|
readonly inputSchema: z.ZodObject<{
|
|
1696
1721
|
dataset_group_id: z.ZodNumber;
|
|
1697
1722
|
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1698
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1699
1723
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1700
1724
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1701
1725
|
start_time: z.ZodOptional<z.ZodString>;
|
|
@@ -1771,7 +1795,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1771
1795
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1772
1796
|
}, "strip", z.ZodTypeAny, {
|
|
1773
1797
|
dataset_group_id: number;
|
|
1774
|
-
workspace_id?: number | undefined;
|
|
1775
1798
|
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
1776
1799
|
api_key?: string | undefined;
|
|
1777
1800
|
tags?: string[] | undefined;
|
|
@@ -1812,7 +1835,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1812
1835
|
order_by_random?: boolean | undefined;
|
|
1813
1836
|
}, {
|
|
1814
1837
|
dataset_group_id: number;
|
|
1815
|
-
workspace_id?: number | undefined;
|
|
1816
1838
|
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
1817
1839
|
api_key?: string | undefined;
|
|
1818
1840
|
tags?: string[] | undefined;
|
|
@@ -1861,21 +1883,18 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1861
1883
|
readonly description: "Get paginated rows from a dataset. Each row is an array of cells with {type: 'dataset', value: ...}. Supports search via the q parameter.";
|
|
1862
1884
|
readonly inputSchema: z.ZodObject<{
|
|
1863
1885
|
dataset_id: z.ZodNumber;
|
|
1864
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1865
1886
|
page: z.ZodOptional<z.ZodNumber>;
|
|
1866
1887
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1867
1888
|
q: z.ZodOptional<z.ZodString>;
|
|
1868
1889
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1869
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1870
1891
|
dataset_id: number;
|
|
1871
|
-
workspace_id?: number | undefined;
|
|
1872
1892
|
api_key?: string | undefined;
|
|
1873
1893
|
page?: number | undefined;
|
|
1874
1894
|
per_page?: number | undefined;
|
|
1875
1895
|
q?: string | undefined;
|
|
1876
1896
|
}, {
|
|
1877
1897
|
dataset_id: number;
|
|
1878
|
-
workspace_id?: number | undefined;
|
|
1879
1898
|
api_key?: string | undefined;
|
|
1880
1899
|
page?: number | undefined;
|
|
1881
1900
|
per_page?: number | undefined;
|
|
@@ -1944,17 +1963,15 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1944
1963
|
};
|
|
1945
1964
|
readonly "list-evaluations": {
|
|
1946
1965
|
readonly name: "list-evaluations";
|
|
1947
|
-
readonly description: "List evaluation pipelines (called 'reports' in the API) with pagination. Filter by name, status
|
|
1966
|
+
readonly description: "List evaluation pipelines (called 'reports' in the API) with pagination. Filter by name, status. Set include_runs=true to include batch runs nested under each evaluation.";
|
|
1948
1967
|
readonly inputSchema: z.ZodObject<{
|
|
1949
1968
|
page: z.ZodOptional<z.ZodNumber>;
|
|
1950
1969
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1951
1970
|
name: z.ZodOptional<z.ZodString>;
|
|
1952
1971
|
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
1953
1972
|
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
1954
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1955
1973
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1956
1974
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
workspace_id?: number | undefined;
|
|
1958
1975
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1959
1976
|
api_key?: string | undefined;
|
|
1960
1977
|
page?: number | undefined;
|
|
@@ -1962,7 +1979,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1962
1979
|
name?: string | undefined;
|
|
1963
1980
|
include_runs?: boolean | undefined;
|
|
1964
1981
|
}, {
|
|
1965
|
-
workspace_id?: number | undefined;
|
|
1966
1982
|
status?: "active" | "deleted" | "all" | undefined;
|
|
1967
1983
|
api_key?: string | undefined;
|
|
1968
1984
|
page?: number | undefined;
|
|
@@ -1979,19 +1995,16 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1979
1995
|
readonly description: "Get paginated evaluation results with dataset inputs and eval outcomes. Each row has dataset cells ({type: 'dataset', value: ...}) followed by eval cells ({type: 'eval', status: 'PASSED'|'FAILED', value: ...}).";
|
|
1980
1996
|
readonly inputSchema: z.ZodObject<{
|
|
1981
1997
|
evaluation_id: z.ZodNumber;
|
|
1982
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
1983
1998
|
page: z.ZodOptional<z.ZodNumber>;
|
|
1984
1999
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1985
2000
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1986
2001
|
}, "strip", z.ZodTypeAny, {
|
|
1987
2002
|
evaluation_id: number;
|
|
1988
|
-
workspace_id?: number | undefined;
|
|
1989
2003
|
api_key?: string | undefined;
|
|
1990
2004
|
page?: number | undefined;
|
|
1991
2005
|
per_page?: number | undefined;
|
|
1992
2006
|
}, {
|
|
1993
2007
|
evaluation_id: number;
|
|
1994
|
-
workspace_id?: number | undefined;
|
|
1995
2008
|
api_key?: string | undefined;
|
|
1996
2009
|
page?: number | undefined;
|
|
1997
2010
|
per_page?: number | undefined;
|
|
@@ -2135,6 +2148,127 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2135
2148
|
readonly readOnlyHint: false;
|
|
2136
2149
|
};
|
|
2137
2150
|
};
|
|
2151
|
+
readonly "delete-report": {
|
|
2152
|
+
readonly name: "delete-report";
|
|
2153
|
+
readonly description: "Archive a single evaluation pipeline by ID. Prefer this over delete-reports-by-name when you have the report_id, since names can collide.";
|
|
2154
|
+
readonly inputSchema: z.ZodObject<{
|
|
2155
|
+
report_id: z.ZodNumber;
|
|
2156
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
}, "strip", z.ZodTypeAny, {
|
|
2158
|
+
report_id: number;
|
|
2159
|
+
api_key?: string | undefined;
|
|
2160
|
+
}, {
|
|
2161
|
+
report_id: number;
|
|
2162
|
+
api_key?: string | undefined;
|
|
2163
|
+
}>;
|
|
2164
|
+
readonly annotations: {
|
|
2165
|
+
readonly readOnlyHint: false;
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
readonly "rename-report": {
|
|
2169
|
+
readonly name: "rename-report";
|
|
2170
|
+
readonly description: "Rename or retag an evaluation pipeline. Provide name, tags, or both. Use this instead of recreating a misnamed pipeline.";
|
|
2171
|
+
readonly inputSchema: z.ZodObject<{
|
|
2172
|
+
report_id: z.ZodNumber;
|
|
2173
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2175
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
}, "strip", z.ZodTypeAny, {
|
|
2177
|
+
report_id: number;
|
|
2178
|
+
api_key?: string | undefined;
|
|
2179
|
+
name?: string | undefined;
|
|
2180
|
+
tags?: string[] | undefined;
|
|
2181
|
+
}, {
|
|
2182
|
+
report_id: number;
|
|
2183
|
+
api_key?: string | undefined;
|
|
2184
|
+
name?: string | undefined;
|
|
2185
|
+
tags?: string[] | undefined;
|
|
2186
|
+
}>;
|
|
2187
|
+
readonly annotations: {
|
|
2188
|
+
readonly readOnlyHint: false;
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
readonly "add-report-column": {
|
|
2192
|
+
readonly name: "add-report-column";
|
|
2193
|
+
readonly description: "Add a single column to an existing evaluation pipeline. Use this to extend a pipeline incrementally instead of recreating the entire report. Column names must be unique within the pipeline. For column types and configuration, see https://docs.promptlayer.com/features/evaluations/column-types.";
|
|
2194
|
+
readonly inputSchema: z.ZodObject<{
|
|
2195
|
+
report_id: z.ZodNumber;
|
|
2196
|
+
column_type: z.ZodString;
|
|
2197
|
+
name: z.ZodString;
|
|
2198
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2199
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
2200
|
+
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
2201
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2202
|
+
}, "strip", z.ZodTypeAny, {
|
|
2203
|
+
name: string;
|
|
2204
|
+
report_id: number;
|
|
2205
|
+
column_type: string;
|
|
2206
|
+
configuration: Record<string, unknown>;
|
|
2207
|
+
api_key?: string | undefined;
|
|
2208
|
+
position?: number | undefined;
|
|
2209
|
+
is_part_of_score?: boolean | undefined;
|
|
2210
|
+
}, {
|
|
2211
|
+
name: string;
|
|
2212
|
+
report_id: number;
|
|
2213
|
+
column_type: string;
|
|
2214
|
+
configuration: Record<string, unknown>;
|
|
2215
|
+
api_key?: string | undefined;
|
|
2216
|
+
position?: number | undefined;
|
|
2217
|
+
is_part_of_score?: boolean | undefined;
|
|
2218
|
+
}>;
|
|
2219
|
+
readonly annotations: {
|
|
2220
|
+
readonly readOnlyHint: false;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
readonly "edit-report-column": {
|
|
2224
|
+
readonly name: "edit-report-column";
|
|
2225
|
+
readonly description: "Update an existing evaluation column's type, configuration, name, or position. Use this to fix a bug in a CODE_EXECUTION script or change a column's settings without recreating the whole pipeline. Cannot edit DATASET columns.";
|
|
2226
|
+
readonly inputSchema: z.ZodObject<{
|
|
2227
|
+
report_column_id: z.ZodNumber;
|
|
2228
|
+
report_id: z.ZodNumber;
|
|
2229
|
+
column_type: z.ZodString;
|
|
2230
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2231
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2232
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
2233
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
report_id: number;
|
|
2236
|
+
column_type: string;
|
|
2237
|
+
report_column_id: number;
|
|
2238
|
+
api_key?: string | undefined;
|
|
2239
|
+
name?: string | undefined;
|
|
2240
|
+
configuration?: Record<string, unknown> | undefined;
|
|
2241
|
+
position?: number | undefined;
|
|
2242
|
+
}, {
|
|
2243
|
+
report_id: number;
|
|
2244
|
+
column_type: string;
|
|
2245
|
+
report_column_id: number;
|
|
2246
|
+
api_key?: string | undefined;
|
|
2247
|
+
name?: string | undefined;
|
|
2248
|
+
configuration?: Record<string, unknown> | undefined;
|
|
2249
|
+
position?: number | undefined;
|
|
2250
|
+
}>;
|
|
2251
|
+
readonly annotations: {
|
|
2252
|
+
readonly readOnlyHint: false;
|
|
2253
|
+
};
|
|
2254
|
+
};
|
|
2255
|
+
readonly "delete-report-column": {
|
|
2256
|
+
readonly name: "delete-report-column";
|
|
2257
|
+
readonly description: "Delete a single column from an evaluation pipeline. Cannot delete DATASET columns. Surrounding columns shift left to fill the gap.";
|
|
2258
|
+
readonly inputSchema: z.ZodObject<{
|
|
2259
|
+
report_column_id: z.ZodNumber;
|
|
2260
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
report_column_id: number;
|
|
2263
|
+
api_key?: string | undefined;
|
|
2264
|
+
}, {
|
|
2265
|
+
report_column_id: number;
|
|
2266
|
+
api_key?: string | undefined;
|
|
2267
|
+
}>;
|
|
2268
|
+
readonly annotations: {
|
|
2269
|
+
readonly readOnlyHint: false;
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2138
2272
|
readonly "list-workflows": {
|
|
2139
2273
|
readonly name: "list-workflows";
|
|
2140
2274
|
readonly description: "List all agents (called 'workflows' in the API) in the workspace with pagination.";
|
|
@@ -2338,16 +2472,13 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2338
2472
|
readonly inputSchema: z.ZodObject<{
|
|
2339
2473
|
name: z.ZodString;
|
|
2340
2474
|
parent_id: z.ZodOptional<z.ZodNumber>;
|
|
2341
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
2342
2475
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2343
2476
|
}, "strip", z.ZodTypeAny, {
|
|
2344
2477
|
name: string;
|
|
2345
|
-
workspace_id?: number | undefined;
|
|
2346
2478
|
api_key?: string | undefined;
|
|
2347
2479
|
parent_id?: number | undefined;
|
|
2348
2480
|
}, {
|
|
2349
2481
|
name: string;
|
|
2350
|
-
workspace_id?: number | undefined;
|
|
2351
2482
|
api_key?: string | undefined;
|
|
2352
2483
|
parent_id?: number | undefined;
|
|
2353
2484
|
}>;
|
|
@@ -2388,10 +2519,8 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2388
2519
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2389
2520
|
flatten: z.ZodOptional<z.ZodBoolean>;
|
|
2390
2521
|
include_metadata: z.ZodOptional<z.ZodBoolean>;
|
|
2391
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
2392
2522
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2393
2523
|
}, "strip", z.ZodTypeAny, {
|
|
2394
|
-
workspace_id?: number | undefined;
|
|
2395
2524
|
api_key?: string | undefined;
|
|
2396
2525
|
tags?: string[] | undefined;
|
|
2397
2526
|
folder_id?: number | undefined;
|
|
@@ -2403,7 +2532,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2403
2532
|
flatten?: boolean | undefined;
|
|
2404
2533
|
include_metadata?: boolean | undefined;
|
|
2405
2534
|
}, {
|
|
2406
|
-
workspace_id?: number | undefined;
|
|
2407
2535
|
api_key?: string | undefined;
|
|
2408
2536
|
tags?: string[] | undefined;
|
|
2409
2537
|
folder_id?: number | undefined;
|
|
@@ -2434,14 +2562,12 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2434
2562
|
id: number;
|
|
2435
2563
|
}>, "many">;
|
|
2436
2564
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2437
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
2438
2565
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2439
2566
|
}, "strip", z.ZodTypeAny, {
|
|
2440
2567
|
entities: {
|
|
2441
2568
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
2442
2569
|
id: number;
|
|
2443
2570
|
}[];
|
|
2444
|
-
workspace_id?: number | undefined;
|
|
2445
2571
|
api_key?: string | undefined;
|
|
2446
2572
|
folder_id?: number | undefined;
|
|
2447
2573
|
}, {
|
|
@@ -2449,7 +2575,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2449
2575
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
2450
2576
|
id: number;
|
|
2451
2577
|
}[];
|
|
2452
|
-
workspace_id?: number | undefined;
|
|
2453
2578
|
api_key?: string | undefined;
|
|
2454
2579
|
folder_id?: number | undefined;
|
|
2455
2580
|
}>;
|
|
@@ -2472,14 +2597,12 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2472
2597
|
id: number;
|
|
2473
2598
|
}>, "many">;
|
|
2474
2599
|
cascade: z.ZodOptional<z.ZodBoolean>;
|
|
2475
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
2476
2600
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2477
2601
|
}, "strip", z.ZodTypeAny, {
|
|
2478
2602
|
entities: {
|
|
2479
2603
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
2480
2604
|
id: number;
|
|
2481
2605
|
}[];
|
|
2482
|
-
workspace_id?: number | undefined;
|
|
2483
2606
|
api_key?: string | undefined;
|
|
2484
2607
|
cascade?: boolean | undefined;
|
|
2485
2608
|
}, {
|
|
@@ -2487,7 +2610,6 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2487
2610
|
type: "FOLDER" | "PROMPT" | "SNIPPET" | "WORKFLOW" | "DATASET" | "REPORT" | "AB_TEST" | "INPUT_VARIABLE_SET";
|
|
2488
2611
|
id: number;
|
|
2489
2612
|
}[];
|
|
2490
|
-
workspace_id?: number | undefined;
|
|
2491
2613
|
api_key?: string | undefined;
|
|
2492
2614
|
cascade?: boolean | undefined;
|
|
2493
2615
|
}>;
|
|
@@ -2500,15 +2622,12 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2500
2622
|
readonly description: "Resolve a folder path (e.g. 'foo/bar') to a folder ID.";
|
|
2501
2623
|
readonly inputSchema: z.ZodObject<{
|
|
2502
2624
|
path: z.ZodString;
|
|
2503
|
-
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
2504
2625
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2505
2626
|
}, "strip", z.ZodTypeAny, {
|
|
2506
2627
|
path: string;
|
|
2507
|
-
workspace_id?: number | undefined;
|
|
2508
2628
|
api_key?: string | undefined;
|
|
2509
2629
|
}, {
|
|
2510
2630
|
path: string;
|
|
2511
|
-
workspace_id?: number | undefined;
|
|
2512
2631
|
api_key?: string | undefined;
|
|
2513
2632
|
}>;
|
|
2514
2633
|
readonly annotations: {
|