Skip to main content

Get Page

Get content of a specific Confluence page by its ID, or by its title and space key. Parameters:
ParameterTypeRequiredDescription
page_idstringNoConfluence page ID (numeric ID, can be found in the page URL). For example, in the URL ‘https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title’, the page ID is ‘123456789’. Provide this OR both ‘title’ and ‘space_key’. If page_id is provided, title and space_key will be ignored.
titlestringNoThe exact title of the Confluence page. Use this with ‘space_key’ if ‘page_id’ is not known.
space_keystringNoThe key of the Confluence space where the page resides (e.g., ‘DEV’, ‘TEAM’). Required if using ‘title’.
include_metadatabooleanNoWhether to include page metadata such as creation date, last update, version, and labels.
convert_to_markdownbooleanNoWhether to convert page to markdown (true) or keep it in raw HTML format (false). Raw HTML can reveal macros (like dates) not visible in markdown, but CAUTION: using HTML significantly increases token usage in AI responses.
Example:
{"page_id": "12345678", "include_metadata": true}
Content is returned in Markdown format (auto-converted from Confluence storage format). Use include_metadata for labels, version info, and last modified date.

Create Page

Create a new Confluence page.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
space_keystringYesThe key of the space to create the page in (usually a short uppercase code like ‘DEV’, ‘TEAM’, or ‘DOC’)
titlestringYesThe title of the page
contentstringNo*The content of the page. Format depends on content_format parameter. Can be Markdown (default), wiki markup, storage format, or XHTML storage format
content_filestringNo*Absolute or relative filesystem path to read the page body from (UTF-8). Mutually exclusive with content.
parent_idstringNo(Optional) parent page ID. If provided, this page will be created as a child of the specified page
content_formatstringNo(Optional) The format of the content parameter. Options: ‘markdown’ (default), ‘wiki’, ‘storage’, or ‘xhtml’. Use ‘xhtml’ for Confluence XHTML storage format. Wiki format uses Confluence wiki markup syntax
enable_heading_anchorsbooleanNo(Optional) Whether to enable automatic heading anchor generation. Only applies when content_format is ‘markdown’
include_contentbooleanNo(Optional) Whether to include page content in the response. Defaults to false since callers already have the content at create time.
emojistringNo(Optional) Page title emoji (icon shown in navigation). Can be any emoji character like ’📝’, ’🚀’, ’📚’. Set to null/None to remove.
page_widthstringNoPage layout width. Options: ‘full-width’, ‘default’.
table_layoutstringNoTable width preset for Markdown tables. Options: ‘full-width’, ‘wide’, ‘default’.
Example:
{"space_key": "DEV", "title": "Architecture Decision Record", "content": "## Context\n\nWe need to decide...", "parent_id": "98765432"}
Use Markdown for content — it’s auto-converted to Confluence storage format. Specify parent_id to create as a child page.
Exactly one of content or content_file must be provided.

Update Page

Update an existing Confluence page.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
page_idstringYesThe ID of the page to update
titlestringYesThe new title of the page
contentstringNo*The new content of the page. Format depends on content_format parameter
content_filestringNo*Absolute or relative filesystem path to read the new page body from (UTF-8). Mutually exclusive with content.
is_minor_editbooleanNoWhether this is a minor edit
version_commentstringNoOptional comment for this version
parent_idstringNoOptional the new parent page ID
content_formatstringNo(Optional) The format of the content parameter. Options: ‘markdown’ (default), ‘wiki’, ‘storage’, or ‘xhtml’. Use ‘xhtml’ for Confluence XHTML storage format. Wiki format uses Confluence wiki markup syntax
enable_heading_anchorsbooleanNo(Optional) Whether to enable automatic heading anchor generation. Only applies when content_format is ‘markdown’
include_contentbooleanNo(Optional) Whether to include page content in the response. Defaults to false since callers already have the content at update time.
emojistringNo(Optional) Page title emoji (icon shown in navigation). Can be any emoji character like ’📝’, ’🚀’, ’📚’. Set to null/None to remove.
page_widthstringNoPage layout width. Options: ‘full-width’, ‘default’. Use an empty string to reset to default.
table_layoutstringNoTable width preset for Markdown tables. Options: ‘full-width’, ‘wide’, ‘default’.
Example:
{"page_id": "12345678", "title": "Updated Title", "content": "## Updated Content\n\nNew information...", "is_minor_edit": true}
Set is_minor_edit: true to skip notification emails. The page version is auto-incremented.
Exactly one of content or content_file must be provided.

Update Page Section

Update a single section of a Confluence page without affecting the rest.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
page_idstringYesThe ID of the page to update
heading_textstringYesExact text of the heading that starts the section to replace. Matching is case-sensitive. Use confluence_get_page with convert_to_markdown=false to inspect exact heading text when unsure.
new_contentstringYesReplacement content for the section body. Do not include the heading itself — only the body beneath it. Format is controlled by content_format.
content_formatstringNoFormat of new_content. Options: 'markdown' (default) or 'storage' (raw Confluence storage XML). Use 'storage' to insert macros or elements that markdown cannot express.
is_minor_editbooleanNoWhether this is a minor edit
version_commentstringNoOptional comment for this version
Example:
{"page_id": "12345678", "heading_text": "Weekly Update", "new_content": "- Shipped v2.1\n- Started v2.2 planning", "version_comment": "Weekly sync"}
Use this instead of confluence_update_page when the page contains macros, layouts, task lists, or other Confluence-specific elements you don’t want to lose. The tool fetches the page as raw storage XML, surgically replaces only the target section, and writes the full XML back — so everything outside the section is preserved exactly.
heading_text must match the heading exactly as it appears in Confluence (case-sensitive, no surrounding emoji — emoji in headings are stripped automatically). If the heading is not found, a ValueError is raised.

Delete Page

Delete an existing Confluence page.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
page_idstringYesThe ID of the page to delete

Get Page Children

Get child pages and folders of a specific Confluence page. Parameters:
ParameterTypeRequiredDescription
parent_idstringYesThe ID of the parent page whose children you want to retrieve
expandstringNoFields to expand in the response (e.g., ‘version’, ‘body.storage’)
limitintegerNoMaximum number of child items to return (1-50)
include_contentbooleanNoWhether to include the page content in the response
convert_to_markdownbooleanNoWhether to convert page content to markdown (true) or keep it in raw HTML format (false). Only relevant if include_content is true.
startintegerNoStarting index for pagination (0-based)
include_foldersbooleanNoWhether to include child folders in addition to child pages

Get Page History

Get a historical version of a specific Confluence page. Parameters:
ParameterTypeRequiredDescription
page_idstringYesConfluence page ID (numeric ID, can be found in the page URL). For example, in ‘https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title’, the page ID is ‘123456789’.
versionintegerYesThe version number of the page to retrieve
convert_to_markdownbooleanNoWhether to convert page to markdown (true) or keep it in raw HTML format (false). Raw HTML can reveal macros (like dates) not visible in markdown, but CAUTION: using HTML significantly increases token usage in AI responses.

Move Page

Move a Confluence page to a new parent or space.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
page_idstringYesID of the page to move
target_parent_idstringNo*Target parent page ID. If omitted with target_space_key, moves to space root.
target_space_keystringNo*Target space key for cross-space moves
positionstringNoPosition: ‘append’ (default, move as child of target), ‘above’ (move before target as sibling), or ‘below’ (move after target as sibling)
Example:
{"page_id": "12345678", "target_parent_id": "98765432"}
At least one of target_parent_id or target_space_key must be provided.
Use target_space_key to move pages between spaces. Omit target_parent_id with a space key to move to the space root.

Copy Page

Copy a Confluence page to a new location.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
source_page_idstringYesThe ID of the page to copy
destination_space_keystringYesSpace key for the new page
new_titlestringYesTitle for the copied page
destination_parent_idstringNoParent page ID in the destination space. Omit to copy to the space root.
copy_attachmentsbooleanNoWhether to copy attachments. Supported on Confluence Cloud.
Example:
{"source_page_id": "12345678", "destination_space_key": "DOCS", "new_title": "Copied Runbook", "destination_parent_id": "98765432"}

Get Page Restrictions

Get view and edit restrictions for a Confluence page. Parameters:
ParameterTypeRequiredDescription
page_idstringYesThe ID of the page

Set Page Restrictions

Replace view and edit restrictions for a Confluence page.
This is a write tool. Disabled when READ_ONLY_MODE=true.
Parameters:
ParameterTypeRequiredDescription
page_idstringYesThe ID of the page to restrict
read_usersarrayNoAccount IDs (Cloud) or usernames (Server/DC) allowed to view the page
read_groupsarrayNoGroup names allowed to view the page
edit_usersarrayNoAccount IDs (Cloud) or usernames (Server/DC) allowed to edit the page
edit_groupsarrayNoGroup names allowed to edit the page
Omitting all restriction lists or passing empty lists removes all page restrictions.

Get Page Diff

Get a unified diff between two versions of a Confluence page. Parameters:
ParameterTypeRequiredDescription
page_idstringYesConfluence page ID (numeric ID, can be found in the page URL). For example, in ‘https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title’, the page ID is ‘123456789’.
from_versionintegerYesSource version number (>=1)
to_versionintegerYesTarget version number (>=1)
Example:
{"page_id": "12345678", "from_version": 1, "to_version": 3}
Use confluence_get_page_history to discover available version numbers. The diff is in unified format, showing additions and removals between versions.