Download File (Dalux Box)
dalux_download_fileDownload file revision content as UTF-8 text or base64. Verify file size with dalux_list_files beforehand to prevent exceeding the 2 MB default limit.
Instructions
Download the content of a specific file revision. Text-like content is returned as UTF-8, everything else base64. Capped at 2 MB by default (maxBytes up to 20 MB) — check file size via dalux_list_files first for large drawings/models.
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": {
"projectId": "<projectId>",
"fileAreaId": "<fileAreaId>",
"fileId": "<fileId>",
"fileRevisionId": "<fileRevisionId>"
},
"name": "dalux_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| maxBytes | No | ||
| projectId | Yes | Project id from dalux_list_projects. | |
| fileAreaId | Yes | ||
| fileRevisionId | Yes |