Redash MCP Server

update-query

Update an existing query in Redash

Input Schema

NameRequiredDescriptionDefault
data_source_idNoID of the data source to use
descriptionNoDescription of the query
is_archivedNoWhether the query is archived
is_draftNoWhether the query is a draft
nameNoNew name of the query
optionsNoQuery options
queryNoSQL query text
queryIdYesID of the query to update
scheduleNoQuery schedule
tagsNoTags for the query

Input Schema (JSON Schema)

{ "properties": { "data_source_id": { "description": "ID of the data source to use", "type": "number" }, "description": { "description": "Description of the query", "type": "string" }, "is_archived": { "description": "Whether the query is archived", "type": "boolean" }, "is_draft": { "description": "Whether the query is a draft", "type": "boolean" }, "name": { "description": "New name of the query", "type": "string" }, "options": { "description": "Query options", "type": "object" }, "query": { "description": "SQL query text", "type": "string" }, "queryId": { "description": "ID of the query to update", "type": "number" }, "schedule": { "description": "Query schedule", "type": "object" }, "tags": { "description": "Tags for the query", "items": { "type": "string" }, "type": "array" } }, "required": [ "queryId" ], "type": "object" }