update-query
Modify an existing Redash query by ID, including its SQL text, name, description, tags, schedule, data source, and draft or archive status.
Instructions
Update an existing query in Redash
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"queryId": "<queryId>"
},
"name": "update-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name of the query | |
| tags | No | Tags for the query | |
| query | No | SQL query text | |
| options | No | Query options | |
| queryId | Yes | ID of the query to update | |
| is_draft | No | Whether the query is a draft | |
| schedule | No | Query schedule | |
| description | No | Description of the query | |
| is_archived | No | Whether the query is archived | |
| data_source_id | No | ID of the data source to use |