List CKAN Groups
ckan_group_listList all groups on a CKAN server to find thematic collections of datasets. Returns group names or full objects with metadata, supporting pagination and sorting.
Instructions
List all groups on a CKAN server.
Groups are thematic collections of datasets.
Args:
server_url (string): Base URL of CKAN server
all_fields (boolean): Return full objects vs just names (default: false)
sort (string): Sort field (default: "name asc")
limit (number): Maximum results (default: 100). Use 0 to get only the count via faceting
offset (number): Pagination offset (default: 0)
response_format ('markdown' | 'json'): Output format
Returns: List of groups with metadata. When limit=0, returns only the count of groups with datasets.
Typical workflow: ckan_group_list → ckan_group_show (inspect one) → ckan_package_search with fq="groups:name" (browse its datasets)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field and direction (e.g., 'name asc', 'package_count desc') | name asc |
| limit | No | Max groups to return. Use 0 to get only the count via faceting | |
| offset | No | Pagination offset | |
| all_fields | No | Return full group objects (true) or just name slugs (false) | |
| server_url | Yes | Base URL of the CKAN server (e.g., https://dati.gov.it/opendata) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |