update_section
Update a specific section of a Confluence page by heading, replacing its content while preserving the rest of the page.
Instructions
Surgically replace the content of a specific section by heading.
Only the section under the specified heading is changed; the rest of the page is untouched.
Args: page_id: The page ID. heading: The heading text identifying the section. new_content: The replacement content (ignored if input_file is provided). content_format: "markdown" or "storage" (default: markdown). version_message: Optional commit message. input_file: Path to a file whose content replaces the section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heading | Yes | ||
| page_id | Yes | ||
| input_file | No | ||
| new_content | No | ||
| content_format | No | markdown | |
| version_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |