Create Page
confluence_create_pageCreate new pages in Confluence with specified content format, space, title, and optional parent page, emoji icon, or heading anchors.
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). include_content: Whether to include page content in the response. emoji: Optional page title emoji (icon shown in navigation).
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 |
|---|---|---|---|
| space_key | Yes | The key of the space to create the page in (usually a short uppercase code like 'DEV', 'TEAM', or 'DOC') | |
| 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 | |
| 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' | |
| include_content | No | (Optional) Whether to include page content in the response. Defaults to false since callers already have the content at create time | |
| emoji | No | (Optional) Page title emoji (icon shown in navigation). Can be any emoji character like '📝', '🚀', '📚'. Set to null/None to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |