Describe a datastore resource
describe_resourceRetrieve field names, types, and total record count for a CKAN datastore resource. Use it to inspect a resource's schema before querying records.
Instructions
Return field names/types and the total record count for a CKAN datastore resource (datastore_search with limit 0). Fails with a clear error if the resource has no active datastore — use get_dataset to find resources where datastore_active is true.
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": "describe_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | CKAN resource UUID |