dune_query
Execute Dune Analytics queries to analyze blockchain data with agent-optimized previews, parameter support, and flexible formatting options.
Instructions
Execute Dune queries and return agent-optimized preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| parameters | No | ||
| refresh | No | ||
| max_age | No | ||
| limit | No | ||
| offset | No | ||
| sample_count | No | ||
| sort_by | No | ||
| columns | No | ||
| format | No | preview | |
| extras | No | ||
| timeout_seconds | No |
Input Schema (JSON Schema)
{
"properties": {
"columns": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"extras": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "preview",
"enum": [
"preview",
"raw",
"metadata",
"poll"
],
"type": "string"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"max_age": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"query": {
"type": "string"
},
"refresh": {
"default": false,
"type": "boolean"
},
"sample_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"sort_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"timeout_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"query"
],
"type": "object"
}