Leer un archivo dentro de un ZIP remoto
read_zip_memberReads one CSV, TSV, TXT, XLSX, XLS, XLSB, or ODS member from a remote ZIP as a table, fetching only that member's bytes via HTTP Range. Use list_zip_contents first for member names.
Instructions
Read one CSV/TSV/TXT or XLSX/XLS/XLSB/ODS file inside a remote ZIP as a table, fetching only that file's bytes via HTTP Range. Get member names from list_zip_contents first. Max 5 MB compressed per member. Detects the header below a report's title block.
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>",
"member": "<member>"
},
"name": "read_zip_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct URL to a .zip file (the same URL given to list_zip_contents). | |
| rows | No | Data rows to return (default 50, max 500). | |
| format | No | text summary (default) or json structured result. | text |
| member | Yes | Member path inside the zip, as listed by list_zip_contents. | |
| offset | No | Data rows to skip before returning, for pagination. | |
| skip_rows | No | Rows above the column header; -1 (default) detects them, 0 keeps row 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filas | No | ||
| source | No | ||
| columnas | No | ||
| metadatos | Yes | ||
| url_fuente | No |