Get Attachment
machship_get_attachmentDownloads the raw attachment file from Machship by its ID, returning base64 content, MIME type, and size for direct use.
Instructions
Downloads the raw attachment file from Machship by attachment ID. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
id (number): Attachment ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Attachment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |