Download Redmine Attachment
redmine_download_attachmentDownload a Redmine attachment by its ID, returning viewable images or saving files to disk. Use auto, image, or file mode to control the output.
Instructions
Download a Redmine attachment by ID. Always returns the attachment's details; what happens to the bytes depends on mode.
Args:
attachment_id: Attachment ID (required). Get IDs from redmine_get_issue with include="attachments"
mode: "auto" (default) — images are returned as a viewable image, everything else is saved to disk "image" — return as a viewable image (images only) "file" — always save to disk and report the path
Saved files go to /tmp/redmine-mcp (set REDMINE_DOWNLOAD_DIR to change it). Files up to 10.0 MB can be saved; inline images are capped at 4.0 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How to return the bytes | auto |
| attachment_id | Yes | Attachment ID |