Aggregate what was collected
super_data_queryNumbers over what was collected, never rows (rows are super_data). Aggregate measures across the datasets in scope; datasets combine on the same measure in one base unit, results in the declared unit. Names come from the catalog; an unknown one errors with near misses. The answer has one row per group_by key (or one row) with a column per measure and compute, the datasets used and any skipped, and truncated when limit cut it. Or send distributions for one artifact: counts, per-version rates and per-field distributions (free text: answer rate and length only). A call with neither is invalid_query.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "super_data_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agg | No | ||
| limit | No | ||
| scope | No | The union of the forms given. | |
| since | No | ISO-8601 instant or window (7d, 24h). | |
| until | No | ||
| filter | No | ANDed 'field op value' clauses: 'reps >= 5', 'day in mon,tue', 'note is set'. Ops: = != > >= < <= in. Catalog fields only. | |
| compute | No | Derived columns, in order; operands name a measure or an earlier `as`. | |
| group_by | No | One of dataset, day, week, month, visitor, or "field:{name}". | |
| measures | No | Catalog measure names, not field names. | |
| distributions | No | One artifact's per-field distributions instead of a scoped query. |