Download a file
files_downloadDownload a Redmine attachment by ID to get base64 bytes and metadata; text files are decoded, while files over maxBytes return metadata only.
Instructions
Downloads an attachment and returns base64 bytes plus metadata. Text files come back decoded as well. Refuses files over maxBytes with metadata only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Attachment id. | |
| maxBytes | No | Download cap; larger files are refused with their metadata. |