upload_confluence_attachment
Attach a file to a Confluence page by providing base64-encoded content, page ID, and filename.
Instructions
Upload a file attachment to a Confluence page. The file should be provided as a base64-encoded string.
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": {
"pageId": "<pageId>",
"file": "<file>",
"filename": "<filename>"
},
"name": "upload_confluence_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file content as a base64-encoded string. | |
| pageId | Yes | The ID of the page to attach the file to. | |
| comment | No | Optional comment describing the attachment. | |
| filename | Yes | The name of the file including extension (e.g., "document.pdf"). | |
| minorEdit | No | Set to true if this is a minor edit that should not notify watchers. Default is false. |