confluence_create_page_from_markdown_legacy
Create Confluence pages from Markdown in legacy storage format. Use when ADF is unavailable; supports headings, lists, tables, code blocks, and more.
Instructions
Legacy: create a page using Confluence storage format (XHTML). Prefer confluence_create_page_from_markdown (ADF) — use this only when targeting an instance that has ADF disabled. Supports headings, bold/italic/strikethrough, links, images, ordered/unordered lists, tables, blockquotes, code blocks (with syntax highlighting), inline code, and horizontal rules. ```mermaid code blocks render as syntax-highlighted code, NOT as Mermaid diagrams (the storage code macro can't host the Mermaid extension). For large documents, use markdownFilePath instead of markdown to avoid tool call size limits. Output is trimmed by default (drops _links, _expandable, body content, etc.); pass full=true to receive the raw Confluence response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | If true, bypass response trimming and return the raw Confluence API response. | |
| title | No | The title of the page. Optional when markdownFilePath is provided — defaults to the file's basename without the .md extension. | |
| status | No | Page status (default: current) | |
| spaceId | Yes | The ID of the space to create the page in | |
| markdown | No | The page content in Markdown format. Supports standard Markdown including headings, bold/italic, links, images, lists, tables, code blocks (with language for syntax highlighting), and Mermaid diagrams using ```mermaid code blocks. Either this or markdownFilePath must be provided. | |
| parentId | No | The ID of the parent page (optional) | |
| markdownFilePath | No | Absolute path to a Markdown file on disk. Use this instead of the markdown parameter for large documents that may exceed tool call size limits. Takes precedence over markdown if both are provided. |