neso__neso_query_data
Query rows from a NESO GB energy dataset resource (CKAN DataStore) by resource_id, UK electricity demand, wind generation forecasts, carbon intensity, balancing data. Supports exact-match filters (field->value object), full-text query, limit, offset. Returns field names/types plus records. Example: neso_query_data({ resource_id: "aec5601a-7f3e-4c4c-bf56-d8e4184d3c5b", limit: 20 })
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,
"resource_id": "aec5601a-7f3e-4c4c-bf56-d8e4184d3c5b"
},
"name": "neso__neso_query_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional sort, e.g. "TARGETDATE desc". | |
| limit | No | Max rows, 1-200 (default 20). | |
| query | No | Optional full-text search over the rows. | |
| offset | No | Pagination offset (default 0). | |
| filters | No | Optional exact-match filters, e.g. { "DAYSAHEAD": 1 }. | |
| resource_id | Yes | Resource id from neso_dataset_resources (must have datastore_active true). |