Get attachment file from esa
esa_get_attachmentRetrieve esa attachment files by URL; returns base64 data for supported images under 30MB or signed URLs for other files and forced requests.
Instructions
Retrieves an attachment file from esa with signed URLs. For supported images (JPEG, PNG, GIF, WebP) under 30MB, returns base64-encoded data. For other file types, larger images, or when forceSignedUrl is true, returns signed URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Attachment URL. Can be a full URL (https://files.esa.io/..., https://dl.esa.io/...) or a path (/uploads/...) | |
| teamName | No | Team name (required). Use esa_get_teams first to see available teams. | |
| forceSignedUrl | No | If true, always return signed URLs instead of base64-encoded images. Default is false. |