Search datastore records
search_recordsQuery rows from an active data.gov.il CKAN datastore resource using full-text search, exact-match filters, field selection, limit, and offset for paginated record retrieval.
Instructions
Query rows in a data.gov.il datastore resource (CKAN datastore_search). Supports full-text q, exact-match filters, field selection, limit (default 10, max 100) and offset. The resource must have an active datastore.
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": {
"resource_id": "<resource_id>"
},
"name": "search_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text search across the datastore | |
| limit | No | Number of records to return (default 10, max 100) | |
| fields | No | Optional list of field names to return | |
| offset | No | Offset for pagination (default 0) | |
| filters | No | Exact-match field filters, e.g. { "STATUS": "פעיל" } | |
| resource_id | Yes | CKAN resource UUID with datastore_active=true |