query_datagov
Query Data.gov's CKAN API to access government datasets using actions like package_search or group_list with custom parameters.
Instructions
Make a raw query to the Data.gov CKAN API.
Args:
action: CKAN action (e.g., 'package_search', 'package_show', 'group_list')
params: Query parameters for the action
Returns:
Raw JSON response from Data.gov API
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": {
"action": "<action>"
},
"name": "query_datagov"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| params | No |