get_query_results
Retrieve cached results from a saved Dune Analytics query without re-executing it. Use this tool to access the most recent blockchain data analysis results while managing query credits efficiently.
Instructions
Get the latest results of a saved query without re-executing.
This retrieves cached results from the most recent execution. Does not trigger a new execution but consumes credits.
Args: query_id: The unique identifier of the query. limit: Maximum rows to return. offset: Row offset for pagination. allow_partial_results: Allow truncated results if data is too large.
Returns: Latest query results in JSON format.
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": "get_query_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ||
| limit | No | ||
| offset | No | ||
| allow_partial_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||