get_page
Retrieve a Confluence page by its ID, returning the body in markdown, storage, or view format. Optionally save the content to a file and download images for offline use.
Instructions
Get a Confluence page by ID.
Args: page_id: The numeric page ID. include_body: Whether to include page content (default: True). body_format: Return body as "markdown", "storage", or "view" (default: markdown). output_file: If provided, write the page body to this file path instead of returning it in the response. Keeps the LLM context clean. include_images: If True and output_file is set, download images and rewrite URLs to local paths. images_dir: Directory to save images to. Defaults to pictures/ next to the output file. Set this to control where images land.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| images_dir | No | ||
| body_format | No | markdown | |
| output_file | No | ||
| include_body | No | ||
| include_images | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |