Extract ZIP Entry
ibge_microdata_extract_zip_entryExtract a specific file from a downloaded IBGE ZIP archive, such as a PNAD fixed-width TXT file or official input layout, directly to a local path without unpacking the entire archive.
Instructions
Extract one selected file from a local IBGE ZIP archive to a local path.
Use this to pull the PNAD fixed-width TXT file or the official input layout out of a downloaded ZIP without unpacking everything manually.
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": {
"zipPath": "<zipPath>",
"entryName": "<entryName>",
"outputPath": "<outputPath>"
},
"name": "ibge_microdata_extract_zip_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zipPath | Yes | Local path to a ZIP archive downloaded from IBGE. | |
| entryName | Yes | Exact ZIP entry name to extract. | |
| outputPath | Yes | Local destination path for the extracted entry. |