update_query
Update an existing Redash query by modifying its SQL, name, tags, schedule, or other settings.
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 |