confluence_upload_attachment
Upload a local file to a Confluence page by entering its file path and page ID, then confirm to attach the file as an attachment.
Instructions
Upload a local file to a page using REST API v1. Disabled unless CONFLUENCE_ALLOW_LOCAL_FILE_UPLOAD=true and confirm=true; the file path is read by this local process.
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>",
"confirm": "<confirm>"
},
"name": "confluence_upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| confirm | Yes | ||
| page_id | Yes | ||
| file_path | Yes | ||
| max_chars | No |