Download Attachment
download_attachmentFetch the binary content of a Trello card attachment, including authenticated access for private boards. Returns image blocks for images or base64 with metadata.
Instructions
Download the binary content of a card attachment. Trello-hosted attachments on private boards require authentication that a plain URL fetch lacks (401) — this tool sends the correct credentials. Returns an image block for images, otherwise base64 + metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | ID of the card the attachment belongs to | |
| maxBytes | No | Max inline size; larger files return metadata only (default 5MB) | |
| attachmentId | Yes | ID of the attachment to download |