Download Attachment
confluence_download_attachmentDownload a Confluence attachment by ID as a base64-encoded MCP embedded resource, enabling access without server filesystem access; files over 50 MB return an error.
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.
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": {
"attachment_id": "<attachment_id>"
},
"name": "confluence_download_attachment"
}
}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. |