Listar el contenido de un archivo ZIP
list_zip_contentsList a remote ZIP file's members, including names and sizes, using HTTP Range requests so you can inspect archives without downloading them, even large ZIP64 files.
Instructions
List a remote ZIP's members (name, size) via HTTP Range requests, without downloading it; works for archives far beyond 5 MB, ZIP64 included.
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": "list_zip_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct URL to a .zip file (from another tool's result, e.g. get_inec_publicacion_archivos, search_archivos(fuente='censo')). | |
| limit | No | Max members returned (default 200, max 1000). | |
| format | No | text summary (default) or json structured result. | text |
| offset | No | Pagination offset over the member list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| source | No | ||
| archivos | No | ||
| metadatos | Yes | ||
| url_fuente | No |