Qingflow Canonical Query Aggregate
qf.query.aggregateAggregate records by grouping fields and computing metrics such as count, sum, avg, min, max. Returns metrics per column and a query handle for further processing.
Instructions
Aggregate records through the canonical DSL and return metrics_by_column plus query handle resources.
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": {
"plan_id": "<plan_id>"
},
"name": "qf.query.aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| meta | No |