structured_diff
Diff two Word drafts without Word, listing changed, inserted, deleted, and moved paragraphs with indices, plus table and footnote changes. Get an agent-readable structural comparison for quick review.
Instructions
Diff two saved drafts agent-readably, computed without Word: unchanged/modified/inserted/deleted paragraphs with indices in both documents, moved paragraphs (identical text at a new position), intra-paragraph change opcodes, per-section change summary, table changes (dimensions plus changed cells, compared positionally), footnote/endnote count deltas, and heading structure changes. Deliberately NOT a redline: use com_compare_documents for a Word-rendered tracked-changes comparison. Per-change detail is capped at detail_cap entries on huge diffs (counts stay complete). Read-only on both files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_path | Yes | ||
| old_path | Yes | ||
| detail_cap | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||