update_confluence_page
Update a Confluence page body, section, or text with version guards. Preview changes using dry run before saving to avoid unintended edits.
Instructions
Update a Confluence page. Choose one body operation per request and pass its current prev_version. Set dry_run to preview the changes.
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": {
"page_id": "<page_id>"
},
"name": "update_confluence_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Optional target Atlassian site ID, name, or URL. | |
| title | No | ||
| compact | No | Set false for the full response structure. | |
| dry_run | No | Preview the computed changes without saving. | |
| page_id | Yes | ||
| prev_version | No | ||
| replace_text | No | Replace one unique occurrence within a single source text node. | |
| body_markdown | No | Replace the entire body. | |
| append_markdown | No | Append without converting the original body. | |
| replace_section | No | Replace content under an exact top-level or layout-column heading on a Confluence Cloud ADF page. | |
| version_message | No |