upload_confluence_attachment
Upload a local file as an attachment to a Confluence page, with optional target site selection for Jira and Confluence workflows.
Instructions
Create an attachment from a local file using the same upload as the CLI attach command.
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>",
"path": "<path>"
},
"name": "upload_confluence_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| site | No | Optional target Atlassian site ID, name, or URL. | |
| page_id | Yes |