Skip to content

Commit 6ebe2c4

Browse files
committed
Added mode to the run query tool, this makes it easier to search for services and get the data
1 parent ce56789 commit 6ebe2c4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/tools/reports.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,21 @@ export const runQueryTool = {
215215
},
216216
},
217217
},
218+
sortDimensions: {
219+
type: "string",
220+
enum: ['asc', 'desc'],
221+
description: "Sort order for dimensions (asc or desc)",
222+
},
223+
advancedAnalysis: {
224+
type: "object",
225+
description: "Advanced analysis configuration",
226+
properties: {
227+
forecast: { type: "boolean" },
228+
notTrending: { type: "boolean" },
229+
trendingDown: { type: "boolean" },
230+
trendingUp: { type: "boolean" }
231+
},
232+
},
218233
timeRange: {
219234
type: "object",
220235
description: "The time range for the report",
@@ -269,6 +284,11 @@ export const runQueryTool = {
269284
items: { type: "string" },
270285
description: "Values to filter on",
271286
},
287+
mode: {
288+
type: "string",
289+
enum: ['contains', 'is', 'is not', 'starts withs', 'does not contain', 'matches regex', 'does not match regex'],
290+
description: "Filter mode (contains, is, is not, starts with, does not contain, matches regex, does not match regex)",
291+
}
272292
},
273293
},
274294
},
@@ -298,6 +318,11 @@ export const runQueryTool = {
298318
},
299319
},
300320
},
321+
sortGroups: {
322+
type: "string",
323+
enum: ['asc', 'desc'],
324+
description: "Sor order for groups (asc or desc)"
325+
},
301326
layout: {
302327
type: "string",
303328
enum: [

0 commit comments

Comments
 (0)