List CKAN Groups
ckan_list_groupsList a CKAN catalog's groups with dataset counts or search them by name, then use the returned group name as a filter in dataset searches.
Instructions
List a catalog's groups with dataset counts, or find them by name. Pass the returned name as the group filter of ckan_search_datasets.
Example: "หน่วยงานที่ชื่อมีคำว่าสถิติ" -> query="สถิติ" (returns matches without dataset counts).
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": {
"site": "<site>"
},
"name": "ckan_list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site alias from ckan_list_sites, e.g. 'nso' | |
| limit | No | Maximum groups to return | |
| query | No | Text to match against group names and titles | |
| offset | No | Items to skip, for pagination. Ignored with query | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |