confluence_preview_page_section_update
Preview a Confluence page section update by matching a heading. Returns the current section, proposed replacement, and a confirmation hash for the subsequent update call.
Instructions
Preview a heading-based section update. Returns the currently matched section, the proposed replacement, and a hash that must be echoed to the confirmed update call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Confluence page ID | |
| heading | Yes | Heading text used to locate the target section | |
| sectionStorageValue | Yes | Proposed replacement storage XHTML for the target section | |
| occurrence | No | When the same heading appears multiple times, choose which occurrence (default 1) | |
| includeHeading | No | Include the heading tag in the previewed replace range (default true) | |
| matchMode | No | Heading match mode: exact or contains (default exact) |