upload_page
Upload Markdown content to Confluence as a new space root page or update an existing page, with automatic conversion of Mermaid diagrams to images.
Instructions
Upload Markdown to Confluence at SPACE ROOT level or UPDATE existing page.
⚠️ ROUTING RULES:
Page URL provided → UPDATES that existing page (ignores parentId)
Space key/URL only → Creates NEW page at space root level
❌ DO NOT use this tool to create child/sub-pages. ✅ Use 'create_child_page' tool instead for hierarchical pages.
Mermaid diagrams are auto-converted to images.
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": {
"content": "<content>",
"title": "<title>",
"space": "<space>"
},
"name": "upload_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Markdown content to upload | |
| title | Yes | Page title | |
| space | Yes | Space key or space URL for new page creation, OR page URL to update existing page. |