confluence_add_attachment
Attach files to Confluence pages using local file path or base64 encoded content.
Instructions
Add an attachment to a Confluence page. Provide either filePath (local file) or fileContent (base64).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page ID to attach file to | |
| filePath | No | Local file path to attach (e.g., "/path/to/file.svg"). If provided, filename is auto-detected. | |
| filename | No | The filename for the attachment (optional if filePath is provided) | |
| fileContent | No | Base64 encoded file content (alternative to filePath) |