confluence_attachment_upload
Upload a local file as an attachment to a Confluence page. Specify the page ID and file path; optionally set a custom filename, version comment, or mark as minor edit.
Instructions
Upload a local file as an attachment to a Confluence page. file_path is a path on the MCP server's filesystem (the file is streamed from disk, never fully buffered). Optional filename overrides the stored name; comment is recorded as a version note; minor_edit (default false) marks the upload as minor. Returns YAML describing the new attachment. Mirrors omni-dev atlassian confluence attachment upload.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"file_path": "<file_path>"
},
"name": "confluence_attachment_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional version comment recorded with the upload. | |
| page_id | Yes | Confluence page ID to attach the file to. | |
| filename | No | Override the filename used in Confluence (defaults to the local basename). | |
| file_path | Yes | Local filesystem path to the file to upload. Streamed from disk (never fully buffered in memory). | |
| minor_edit | No | Marks the upload as a minor edit. Defaults to false. |