query_open_dataset
Query live rows directly from any of the 35 audited open civic CSV/JSON datasets on mariuscomper.uk (filter by keyword, sort by any column, inspect schema and primary sources, and receive a ready-to-use citation).
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": "query_open_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Dataset code from list_open_datasets (e.g. 'RO-01' for Romanian municipal budgets, 'RO-06' for Bucharest district heating, 'UK-01' for UK MOT reliability, 'US-01' for US car recalls, 'MD-01' for Moldova budgets). | |
| lang | No | Language for dataset metadata and canonical URL. | en |
| slug | No | Alternative to code: dataset project slug (e.g. 'cheltuielile-primariilor', 'uk-mot-reliability-atlas'). | |
| limit | No | Maximum rows to return (1–50). | |
| order | No | Sort direction when sortBy is set. | desc |
| table | No | Optional named table inside multi-table JSON datasets (e.g. 'brands' or 'models' in US-01). | |
| offset | No | Row offset for pagination. | |
| search | No | Optional diacritic-insensitive keyword filter across all columns (e.g. 'Cluj-Napoca', 'Toyota', 'Sector 2'). | |
| sortBy | No | Optional column name to sort by (omit first to inspect returned columns). | |
| fileIndex | No | Optional 0-based file index when a dataset ships multiple downloadable files. |