Buscar datasets en el portal de datos abiertos
search_datasetsSearch Ecuador's open-data CKAN datasets by keyword, category, or recent updates across national and local portals to find relevant data.
Instructions
Search CKAN open-data datasets (national portal by default; see source). Use sort="recent" without a query to browse new or updated datasets. Next: list_dataset_resources. For trámites, regulations or contracts use search_ecuador.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_datasets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default: 1) | |
| sort | No | "relevance" (default, CKAN's own ranking) or "recent" (sort by metadata_modified descending, to discover newly added or freshly refreshed datasets) | relevance |
| query | No | Search keywords (e.g. "empleo", "salud", "presupuesto", "SRI recaudación"). | |
| fields | No | Comma-separated dataset keys to keep in the JSON output (e.g. "name,title,metadata_modified"); applied after compact. | |
| format | No | text summary (default) or json structured result. | text |
| source | No | CKAN portal; nacional (default), cuenca, latacunga or iadb. | nacional |
| compact | No | Shrink each dataset in the JSON output to id, name, title, metadata_modified, organization and its resources (id, name, format, size, url). | |
| category | No | Optional category filter (e.g. "sal" for Salud, "edu" for Educación). | |
| page_size | No | Results per page (default: 20, max: 100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| offset | No | ||
| source | No | ||
| metadatos | Yes | ||
| url_fuente | No |