Download Attachment
get_attachmentFetch file attachments from JetBrains Space merge request discussions. Use an attachment ID to receive text content or a download URL for binary files.
Instructions
Download a file attachment from a Space MR discussion.
Use the attachment ID from get_merge_request_timeline output (shown as [id: ...] next to each attachment).
For text files, returns the file content directly. For binary files, returns the download URL.
Args: attachment_id: Attachment UUID
Returns: File content (text) or download URL (binary).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |