Ver archivos de un tema estadístico del INEC
get_inec_estadistica_filesRetrieve file links for bulletins, methodology, and historical series from a single INEC topic page; optionally filter by year and output text or JSON.
Instructions
File links (bulletins, methodology, historical series) on one INEC topic page from search_inec_estadisticas. For a ZIP, next: list_zip_contents, then read_zip_member.
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": {
"url": "<url>"
},
"name": "get_inec_estadistica_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A topic URL from search_inec_estadisticas's "url" field (must be on ecuadorencifras.gob.ec) | |
| year | No | Optional reference year; keeps only that year's files (each file carries a "year" parsed from its name or folder) | |
| format | No | text summary (default) or json structured result. | text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| source | No | ||
| archivos | No | ||
| metadatos | Yes | ||
| url_fuente | No |