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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageId": "<pageId>",
"heading": "<heading>",
"sectionStorageValue": "<sectionStorageValue>"
},
"name": "confluence_preview_page_section_update"
}
}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) |