Execute a saved query
execute_queryRun a saved query by its ID to retrieve data. Supports parameterized queries and adjustable row limits, with truncation notification for large results.
Instructions
Run a saved query by id and return its results. Pass params as a { name: value } map for parameterized queries. Rows RETURNED are capped at 1,000 by default (a SELECT * on a big table otherwise blows the context budget); the response notes when it truncated. Pass limit for a different cap, or limit:0 for ALL rows (know your table size first). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default 1000, truncation is noted). 0 = unlimited — all rows. | |
| params | No | Query parameters as a { name: value } map. | |
| query_id | Yes | Saved query UUID. |