update_saved_query
Update an existing saved query by providing its ID and optionally modifying label, SQL, description, or schema. Use dry_run to preview changes.
Instructions
Update an existing saved query.
Args: query_id: The saved query ID to update. label: New label (name) for the query. sql: New SQL text. description: New description. schema: New schema context. dry_run: If True, preview the action without executing.
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_saved_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ||
| label | No | ||
| sql | No | ||
| description | No | ||
| schema | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |