update_query
Modify existing saved queries in Dune Analytics by updating SQL, name, description, parameters, tags, or privacy settings. Only specified fields are changed.
Instructions
Update an existing saved query.
Only fields provided will be updated.
Args: query_id: The unique identifier of the query to update. query_sql: New SQL query text. name: New name for the query. description: New description. parameters: New parameter definitions. tags: New tags list. is_private: Change privacy setting.
Returns: Update confirmation.
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 |
|---|---|---|---|
| query_id | Yes | ||
| query_sql | No | ||
| name | No | ||
| description | No | ||
| parameters | No | ||
| tags | No | ||
| is_private | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||