update_query
Modify the SQL or description of an existing Dune Analytics query, enabling updates to query logic without recreating it. Requires a paid plan.
Instructions
Update SQL/description of an existing query. (Requires Paid Plan)
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>",
"sql": "<sql>"
},
"name": "update_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ||
| sql | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |