Download IBGE Microdata File
ibge_microdata_download_fileMirror an official IBGE microdata file from ftp.ibge.gov.br to a local cache path, reusing cached files when their byte size matches the server metadata.
Instructions
Download or reuse a selected official IBGE microdata file in a local cache path.
This is explicit and local-first: the tool mirrors the ftp.ibge.gov.br URL under cacheRoot, checks official HEAD content-length metadata, and skips re-downloading when a cached file has the expected byte size. Use ibge_microdata_file_info first for large files so the user understands size before downloading.
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>",
"cacheRoot": "<cacheRoot>"
},
"name": "ibge_microdata_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Official ftp.ibge.gov.br file URL to download. | |
| cacheRoot | Yes | Local cache root where the official IBGE URL path will be mirrored. |