Get attachment file from esa
esa_get_attachmentRetrieves an esa attachment and returns base64-encoded image data for supported images under 30MB, or signed URLs for other files.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "esa_get_attachment"
}
}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. |