Download Attachment
confluence_download_attachmentDownload a Confluence attachment as a base64-encoded embedded resource by providing its attachment ID, with support for files up to 50 MB.
Instructions
Download an attachment from Confluence as an embedded resource.
Returns the attachment content as a base64-encoded embedded resource so that it is available over the MCP protocol without requiring filesystem access on the server. Files larger than 50 MB are not downloaded inline; a descriptive error message is returned instead.
Args: ctx: The FastMCP context. attachment_id: The ID of the attachment.
Returns: An EmbeddedResource with base64-encoded content, or a TextContent with an error or size-exceeded message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | The ID of the attachment to download (e.g., 'att123456789'). Find attachment IDs using get_attachments tool. Example workflow: get_attachments(content_id) → use returned ID here. |