confluence_create_page
Create a Confluence page in a specified space, supporting multiple content formats (markdown, wiki, storage) and optional parent page for hierarchical organization.
Instructions
Create a new Confluence page.
Args: ctx: The FastMCP context. space_key: The key of the space. title: The title of the page. content: The content of the page (format depends on content_format). parent_id: Optional parent page ID. content_format: The format of the content ('markdown', 'wiki', or 'storage'). enable_heading_anchors: Whether to enable heading anchors (markdown only).
Returns: JSON string representing the created page object.
Raises: ValueError: If in read-only mode, Confluence client is unavailable, or invalid content_format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title of the page | |
| content | Yes | The content of the page. Format depends on content_format parameter. Can be Markdown (default), wiki markup, or storage format | |
| parent_id | No | (Optional) parent page ID. If provided, this page will be created as a child of the specified page | |
| space_key | Yes | The key of the space to create the page in (usually a short uppercase code like 'DEV', 'TEAM', or 'DOC') | |
| content_format | No | (Optional) The format of the content parameter. Options: 'markdown' (default), 'wiki', or 'storage'. Wiki format uses Confluence wiki markup syntax | markdown |
| enable_heading_anchors | No | (Optional) Whether to enable automatic heading anchor generation. Only applies when content_format is 'markdown' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |