add_issue_attachment
Add an attachment to a Huly issue by specifying the project and identifier, with options to upload from file path, URL, or base64 data.
Instructions
Add an attachment to a Huly issue. Convenience method that finds the issue by project and identifier. Provide ONE of: filePath, fileUrl, or data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Base64-encoded file data (fallback for small files <10KB) | |
| pinned | No | Whether to pin the attachment (default: false) | |
| fileUrl | No | URL to fetch file from (for remote files) | |
| project | Yes | a string that will be trimmed | |
| filePath | No | Local file path to upload (preferred - avoids context flooding) | |
| filename | Yes | a string that will be trimmed | |
| identifier | Yes | a string that will be trimmed | |
| contentType | Yes | a string that will be trimmed | |
| description | No | Attachment description |