MCP Server for Confluence

Build 25.0.9440

UploadAttachment

Uploads a new attachment to a specified page in Confluence, linking the file to the target content.

Input

Name Type Required Description
ContentId String True The unique identifier of the content item (such as a page or blog post) to which the attachment will be uploaded.
FileLocation String False The full path, including the file name and extension, of the file to be uploaded.
FileName String False The name of the file to be uploaded. If not specified, the system uses the original file name.
Status String False Specifies the status of the attachment's content container. Accepted values include current and draft. Defaults to current.

The allowed values are current, draft.

AllowDuplicates Boolean False If the value is 'true', allows uploading an attachment with a file name that already exists. If the value is 'false', duplicates are not permitted. The default value is 'false'.

Result Set Columns

Name Type Description
Success String If the value is 'true', the upload operation completed successfully. If the value is 'false', the upload failed.
AttachmentId String The unique identifier assigned to the attachment after a successful upload.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440