download_attachment
Retrieve a file attached to a Confluence page by providing the page ID and filename. Choose to receive the content as base64 or save it directly to a specified output file.
Instructions
Download an attachment from a page by filename.
Args: page_id: The page ID. filename: The attachment filename. output_file: If provided, save the attachment to this file path instead of returning base64 in the response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| filename | Yes | ||
| output_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |