peaka_query_golden_sqls
Find existing query/sql pairs in Peaka's golden sql store that match a user's question. Use the retrieved SQL directly; if no match, explore tables and write a new query.
Instructions
Query question/sql pairs from Peaka's golden sql vector store. If you find an existing query matching the user's question, just use it. Otherwise use the other tools to figure out the tables and write the query.
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 |
|---|---|---|---|
| query | Yes | ||
| projectId | Yes | The Peaka project ID to run against. |