card_attachment_upload
Upload a server-local file to a Trello card as an attachment, restricted to the configured upload root. Use it to attach files by path; use URL attachments for public links.
Instructions
Read a server-local file inside TRELLO_ATTACHMENT_UPLOAD_ROOT and transmit its contents to Trello as a new card attachment. Disabled unless that root is configured; repeated uploads can create duplicates. Use card_attachment_add_url for public links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional Trello display name for the uploaded attachment. | |
| cardId | Yes | Trello card id, short link, or Trello card URL. | |
| filePath | Yes | Server-side file path to upload. Relative paths resolve inside TRELLO_ATTACHMENT_UPLOAD_ROOT; absolute paths must also be inside that root. | |
| mimeType | No | Optional MIME type to send for the uploaded file. | |
| setCover | No | Whether Trello should make this uploaded attachment the cover. |