Descargar el archivo crudo de un recurso
download_resourceDownload raw bytes of a CKAN resource from Ecuadorian open data portals as base64, for formats the preview can't parse. Use it to retrieve files up to 5 MB when listing resources isn't enough.
Instructions
Raw bytes of a CKAN resource, base64-encoded, for formats the preview can't parse. Max 5 MB. Use format="json"; text only confirms the download.
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": "download_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text summary (default) or json structured result. | text |
| source | No | CKAN portal; nacional (default), cuenca, latacunga or iadb. | nacional |
| resource_id | Yes | The resource UUID (get it from list_dataset_resources) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| source | No | ||
| archivos | No | ||
| metadatos | Yes | ||
| url_fuente | No |