opendatasoft_universal_aggregate_records
Aggregate any OpenDataSoft dataset's records using SQL expressions like count, sum, avg, group by, filter, or sort to answer quantitative queries.
Instructions
Run an OpenDataSoft Explore v2.1 aggregate query on any dataset.
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": {
"portal_url": "<portal_url>",
"dataset": "<dataset>",
"select": "<select>"
},
"name": "opendatasoft_universal_aggregate_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| where | No | ||
| select | Yes | Aggregate select expression, e.g. "count(*)", "sum(population)", "avg(value)". | |
| dataset | Yes | ||
| group_by | No | ||
| order_by | No | ||
| portal_url | Yes |