Search CKAN Groups by Name
ckan_group_searchFind CKAN groups by name pattern, with wildcards added automatically, and get matching groups plus dataset counts.
Instructions
Search for groups by name pattern.
This tool provides a simpler interface than package_search for finding groups. Wildcards are automatically added around the search pattern.
Args:
server_url (string): Base URL of CKAN server
pattern (string): Search pattern (e.g., "energia", "salute")
response_format ('markdown' | 'json'): Output format
Returns: List of matching groups with dataset counts
Typical workflow: ckan_group_search → ckan_group_show (get details) → ckan_package_search with fq="groups:name"
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": {
"server_url": "<server_url>",
"pattern": "<pattern>"
},
"name": "ckan_group_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Name pattern to search for (wildcards added automatically, e.g., 'energia', 'salute') | |
| 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 |