confluence_compare
Compare two Confluence page versions with a structurally-aware diff that walks the ADF tree, splits by headings, and reports per-block changes instead of character-level deltas.
Instructions
Compare two versions of a Confluence page. Returns a structurally-aware diff: walks the ADF tree, splits the document into heading-delimited sections, and reports per-block changes rather than character-level deltas over a serialization.
Version refs accept "latest", "previous", "v-N" (e.g. "v-2"), a numeric version, or an ISO 8601 date. previous is relative to to.
Detail levels: summary (counts only), outline (default — per-section change kind + drill-in cursors), full (embeds per-section deltas, budget-truncated).
Mirrors omni-dev atlassian confluence compare run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Output budget in bytes. Defaults to ~16 KiB (≈4000 tokens). | |
| detail | No | Detail level: `"summary"`, `"outline"` (default), or `"full"`. | |
| filter_sections | No | Restrict to sections whose path matches one of the given strings. | |
| from | No | `from` version reference. Accepts `"latest"`, `"previous"`, `"v-N"` (e.g. `"v-2"`), a numeric version, or an ISO 8601 date. Defaults to `"previous"`. | |
| id | Yes | Confluence page ID. | |
| ignore_whitespace | No | Collapse runs of whitespace before diffing. Defaults to `true`. | |
| include | No | Top-level fields to include. Comma-separated. Accepted values: `"body"`, `"title"`, `"labels"`, `"metadata"`. Defaults to `"body,title,metadata"`. | |
| min_change_chars | No | Drop section deltas with fewer than this many characters of total changed text. `0` (default) disables the filter. | |
| to | No | `to` version reference. Same accepted forms as `from`. Defaults to `"latest"`. |