Query Resource
query_resourcePull rows from a tabular Latvia Open Data resource (CKAN DataStore) by resource_id (from a dataset's resources). Optional full-text q, limit, offset. Note: only resources with the DataStore enabled are queryable.
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": {
"resource_id": "res-12345-abcde"
},
"name": "query_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional full-text filter over the rows. | |
| limit | No | Max rows (default 100). | |
| offset | No | Pagination offset. | |
| resource_id | Yes | A resource_id from dataset/search_datasets. |