download_confluence_attachment
Download a specific Confluence attachment by its ID and retrieve its content as a base64-encoded string. Access file contents from pages for further processing.
Instructions
Downloads a specific Confluence attachment and returns its content as a base64-encoded string. This is useful for reading the content of files attached to a page.
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": {
"attachmentId": "<attachmentId>"
},
"name": "download_confluence_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | The version number of the attachment to download. If not specified, the latest version is downloaded. | |
| attachmentId | Yes | The unique identifier of the attachment to download. |