Download Attachment
confluence_download_attachmentDownload Confluence attachments as embedded resources via MCP protocol for AI tools accessing corporate SSO-protected Atlassian instances.
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. |