peaka_update_query
Update a saved Peaka query by modifying its display name, SQL body, or auto-refresh schedule. Requires project and query IDs; provide at least one field to change.
Instructions
Update an existing saved query in the Peaka project. Adjusts the display name, SQL body, and/or the auto-refresh schedule (for materialized queries). At least one of displayName, inputQuery, or schedule must be provided.
If you do not already know the projectId for the current task, call peaka_list_projects first and ask the user which project to use. Remember the chosen projectId for subsequent calls in this conversation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queryId | Yes | The query ID to update. Available from peaka_list_queries. | |
| schedule | No | Auto-refresh schedule for MATERIALIZED queries. Use {type: 'interval', repeatDuration}, {type: 'cron', cronExpression, timezone}, or {type: 'none'} to disable an existing schedule. Ignored for PLAIN queries. | |
| projectId | Yes | The Peaka project ID to run against. | |
| inputQuery | No | New Trino SQL body for the saved query. | |
| displayName | No | New human-readable name for the saved query. |