Download Confluence Attachment
download_attachmentDownload attachment content from Confluence using its attachment ID, with an option to save it to a file.
Instructions
Download attachment content.
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": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | if set, save to this file instead of returning to LLM | |
| attachment_id | Yes | the 'download' field from get_content_by_id attachments, e.g. "/download/attachments/123/file?version=1&api=v2" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |