download_attachment
Download a file attached to a Confluence page to your local system. Specify the page ID, attachment ID, and output path to retrieve the attachment.
Instructions
Download a Confluence attachment
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": {
"page_id": "<page_id>",
"attachment_id": "<attachment_id>",
"output_path": "<output_path>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| output_path | Yes | Output file path (absolute or relative) | |
| attachment_id | Yes | Attachment ID |