Get CKAN Dataset
ckan_get_datasetRetrieve a dataset's metadata and resource files, showing which resources are queryable so you can pass their IDs to ckan_query_data or share non-queryable resource URLs.
Instructions
Get one dataset's metadata and its files (resources). Each resource says whether it is queryable: if so, pass its id to ckan_query_data; if not, give the user its url.
Use ckan_search_datasets to find ids. detail="full" returns the catalog's raw record, which is much longer.
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>",
"id": "<id>"
},
"name": "ckan_get_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dataset name or UUID | |
| site | Yes | Site alias from ckan_list_sites, e.g. 'nso' | |
| detail | No | standard omits bookkeeping fields; full is the raw record | standard |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |