run_explore_query
Run live ad-hoc aggregate queries on whitelisted datasets to preview results and get recommended chart types for building report sections.
Instructions
Run a live, ad-hoc aggregate query against a whitelisted dataset — a preview,
never persisted. Pick dataset_key and every column value from
list_datasets's output. Returns rows, row_count, whether the result was
truncated (capped at 500 rows server-side), and a ranked list of recommended
chart types (bar/line/pie/kpi/table) for the shape of the result — use the
first recommendation as the visualization.type when building a report section
with create_draft_report/update_draft_report.
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": {
"dataset_key": "<dataset_key>"
},
"name": "run_explore_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filters | No | ||
| measures | No | ||
| dimensions | No | ||
| dataset_key | Yes |