get_attachment_content
Retrieve attachment content as text for text-based files or base64 for binaries, including encoding type and MIME information.
Instructions
Fetch the content of an attachment. Returns the content as text for text-based files (text/*, JSON, XML, etc.) or as base64-encoded string for binary files (images, PDFs, etc.). The response includes the encoding type ('text' or 'base64') and MIME type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachmentId | Yes | The ID of the attachment to fetch content for |