Skip to content

Added mode to the run query tool, this makes it easier to search for … #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/tools/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,21 @@ export const runQueryTool = {
},
},
},
sortDimensions: {
type: "string",
enum: ['asc', 'desc'],
description: "Sort order for dimensions (asc or desc)",
},
advancedAnalysis: {
type: "object",
description: "Advanced analysis configuration",
properties: {
forecast: { type: "boolean" },
notTrending: { type: "boolean" },
trendingDown: { type: "boolean" },
trendingUp: { type: "boolean" }
},
},
timeRange: {
type: "object",
description: "The time range for the report",
Expand Down Expand Up @@ -269,6 +284,11 @@ export const runQueryTool = {
items: { type: "string" },
description: "Values to filter on",
},
mode: {
type: "string",
enum: ['contains', 'is', 'is not', 'starts withs', 'does not contain', 'matches regex', 'does not match regex'],
description: "Filter mode (contains, is, is not, starts with, does not contain, matches regex, does not match regex)",
}
},
},
},
Expand Down Expand Up @@ -298,6 +318,11 @@ export const runQueryTool = {
},
},
},
sortGroups: {
type: "string",
enum: ['asc', 'desc'],
description: "Sor order for groups (asc or desc)"
},
layout: {
type: "string",
enum: [
Expand Down