confluence_add_anchor_block_to_section
Insert invisible anchor macros around a heading-based section to enable stable block targeting for later updates.
Instructions
Insert invisible start/end anchor macros around a heading-based section so later updates can target a stable block instead of relying on heading matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Confluence page ID | |
| heading | Yes | Heading text used to locate the section | |
| startAnchor | Yes | Start anchor name to insert before the section | |
| endAnchor | Yes | End anchor name to insert after the section | |
| occurrence | No | When the same heading appears multiple times, choose which occurrence (default 1) | |
| matchMode | No | Heading match mode: exact or contains (default exact) | |
| title | No | New page title (keeps current title if omitted) | |
| minorEdit | No | Whether this is a minor edit (default true) | |
| message | No | Version update message / change comment |