confluence_attachment_download
Downloads a Confluence attachment by ID to a specified location or temporary directory, returning its metadata for subsequent use.
Instructions
Download a Confluence attachment by ID to disk. Returns YAML metadata (id, title, media_type, bytes, on-disk path). If output_path is omitted, the file is written to a fresh temp directory whose path is in the result; the assistant can then read it via the filesystem tool. Mirrors omni-dev atlassian confluence attachment download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Destination path on the MCP server's filesystem. If omitted, the file is written to a fresh temp directory whose path is returned in the result so the assistant can read it via the filesystem tool. If this names an existing directory, the file is written inside it under the attachment's filename. | |
| attachment_id | Yes | Attachment ID (from `confluence_attachment_list`). |