Skip to content

Commit 757cee4

Browse files
authored
Merge pull request #57 from doitintl/feat/add-mode-run-query
Added mode to the run query tool, this makes it easier to search for …
2 parents 2be8fbc + 6ebe2c4 commit 757cee4

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
@@ -216,6 +216,21 @@ export const runQueryTool = {
216216
},
217217
},
218218
},
219+
sortDimensions: {
220+
type: "string",
221+
enum: ['asc', 'desc'],
222+
description: "Sort order for dimensions (asc or desc)",
223+
},
224+
advancedAnalysis: {
225+
type: "object",
226+
description: "Advanced analysis configuration",
227+
properties: {
228+
forecast: { type: "boolean" },
229+
notTrending: { type: "boolean" },
230+
trendingDown: { type: "boolean" },
231+
trendingUp: { type: "boolean" }
232+
},
233+
},
219234
timeRange: {
220235
type: "object",
221236
description: "The time range for the report",
@@ -270,6 +285,11 @@ export const runQueryTool = {
270285
items: { type: "string" },
271286
description: "Values to filter on",
272287
},
288+
mode: {
289+
type: "string",
290+
enum: ['contains', 'is', 'is not', 'starts withs', 'does not contain', 'matches regex', 'does not match regex'],
291+
description: "Filter mode (contains, is, is not, starts with, does not contain, matches regex, does not match regex)",
292+
}
273293
},
274294
},
275295
},
@@ -299,6 +319,11 @@ export const runQueryTool = {
299319
},
300320
},
301321
},
322+
sortGroups: {
323+
type: "string",
324+
enum: ['asc', 'desc'],
325+
description: "Sor order for groups (asc or desc)"
326+
},
302327
layout: {
303328
type: "string",
304329
enum: [

0 commit comments

Comments
 (0)