Get Page
confluence_get_pageRetrieve Confluence page content by ID or title and space key, with options for metadata inclusion and markdown conversion.
Instructions
Get content of a specific Confluence page by its ID, or by its title and space key.
Args: ctx: The FastMCP context. page_id: Confluence page ID. If provided, 'title' and 'space_key' are ignored. title: The exact title of the page. Must be used with 'space_key'. space_key: The key of the space. Must be used with 'title'. include_metadata: Whether to include page metadata. convert_to_markdown: Convert content to markdown (true) or keep raw HTML (false).
Returns: JSON string representing the page content and/or metadata, or an error if not found or parameters are invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Confluence 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. | |
| title | No | The exact title of the Confluence page. Use this with 'space_key' if 'page_id' is not known. | |
| space_key | No | The key of the Confluence space where the page resides (e.g., 'DEV', 'TEAM'). Required if using 'title'. | |
| include_metadata | No | Whether to include page metadata such as creation date, last update, version, and labels. | |
| convert_to_markdown | No | Whether 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |