Records
recordsQuery records from an Opendatasoft dataset with optional keyword search, ODSQL WHERE/SELECT/GROUP BY/ORDER BY clauses, pagination, and projection; returns matching rows as JSON.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 20,
"dataset_id": "geonames-all-cities-with-a-population-1000"
},
"name": "records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| limit | No | ||
| where | No | ||
| offset | No | ||
| select | No | ||
| group_by | No | ||
| instance | No | ||
| order_by | No | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | Array of record objects | |
| total_count | No | Total count of matching records |