update_query
Modify an existing Redash query by updating its SQL, name, description, tags, data source, or options using the query ID.
Instructions
Update an existing Redash query
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": {
"query_id": "<query_id>"
},
"name": "update_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| tags | No | Tags | |
| query | No | New SQL query string | |
| options | No | Query options | |
| query_id | Yes | ID of the query to update | |
| description | No | New description | |
| data_source_id | No | New data source ID |