confluence_attachment_update
Upload a new version of an existing Confluence attachment using its page and attachment IDs, replacing the file content while preserving version history.
Instructions
Upload a new binary version of an EXISTING Confluence attachment (by page_id + attachment_id from confluence_attachment_list), bumping its version instead of creating a second attachment. file_path is a path on the MCP server's filesystem (streamed from disk). Optional filename / comment / minor_edit as with upload. Returns YAML describing the updated attachment. Mirrors omni-dev atlassian confluence attachment update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional version comment recorded with the new version. | |
| page_id | Yes | Confluence page ID the attachment lives on. | |
| filename | No | Override the filename used in Confluence (defaults to the local basename). | |
| file_path | Yes | Local filesystem path whose contents become the new version. Streamed from disk (never fully buffered in memory). | |
| minor_edit | No | Marks the new version as a minor edit. Defaults to false. | |
| attachment_id | Yes | Attachment ID to update (from `confluence_attachment_list`). |