peaka_refresh_materialized_query
Refresh a materialized saved query in Peaka to update its data. Provide the project ID and the materialized query ID to trigger the refresh.
Instructions
Trigger a refresh on a materialized saved query in the Peaka project. Use the queryId returned from peaka_list_queries for queries whose queryType is "MATERIALIZED".
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.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": {
"projectId": "<projectId>",
"queryId": "<queryId>"
},
"name": "peaka_refresh_materialized_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queryId | Yes | The materialized query ID to refresh. Available from peaka_list_queries (queryType: MATERIALIZED). | |
| projectId | Yes | The Peaka project ID to run against. |