upload_attachment
Upload a file as an attachment to a Confluence page using its local absolute path. Optionally embed the attachment in the page body.
Instructions
Upload a file as an attachment to a Confluence page. The file must be specified by its absolute path on the local filesystem. Optionally embed the attachment in the page body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional comment for the attachment | |
| page_id | Yes | The Confluence page ID to attach the file to | |
| file_path | Yes | Absolute path to the file to upload | |
| embed_in_body | No | If true, append the attachment reference to the page body after upload. Images will be embedded as <ac:image>, other files as download links. Defaults to false. |