You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.describe("Documents to run the pipeline against. 500 is maximum.")
43
44
.default(DEFAULT_DOCUMENTS),
44
45
aggregationPipeline: z
45
46
.array(z.record(z.string(),z.unknown()))
46
-
.describe("Aggregation pipeline to run on the provided documents.")
47
+
.describe("MongoDB aggregation pipeline to run on the provided documents.")
47
48
.default(DEFAULT_PIPELINE),
48
49
searchIndexDefinition: z
49
50
.record(z.string(),z.unknown())
50
-
.describe("Search index to create before running the pipeline.")
51
+
.describe("MongoDB search index definition to create before running the pipeline.")
51
52
.optional()
52
53
.default(DEFAULT_SEARCH_INDEX_DEFINITION),
53
54
synonyms: z
54
55
.array(z.record(z.any()))
55
-
.describe("Synonyms mapping to create before running the pipeline.")
56
+
.describe("MongoDB synonyms mapping to create before running the pipeline.")
56
57
.optional()
57
58
.default(DEFAULT_SYNONYMS),
58
59
};
@@ -75,8 +76,8 @@ interface RunErrorResponse {
75
76
76
77
exportclassRunPipelineextendsToolBase{
77
78
protectedname="run-pipeline";
78
-
protecteddescription=
79
-
"Run aggregation pipeline for provided documents without needing an Atlas account, cluster, or collection.";
79
+
protecteddescription=`Run MongoDB aggr
80
+
egation pipeline for provided documents without needing an Atlas account, cluster, or collection. Can be useful to run ad-hoc pipelines for testing, debugging purposes.`;
0 commit comments