ReferenceMutations
Mutations operations
Atomic mutation plan preview and execution.
7 operations. Names, descriptions, and behavior flags come from the canonical contract.
Operations
mutations.applyExecute a mutation plan atomically against the document.mutatestrackedmutations.beginTemporaryApply temporary text and review operations without changing undo history.mutatesmutations.commitTemporaryCommit the visible temporary preview as one undo entry, optionally applying final operations atomically.mutatesmutations.previewDry-run a mutation plan, returning resolved targets without applying changes.readmutations.replaceTemporaryReplace an active temporary preview against its original document state.mutatesmutations.rollbackTemporaryRestore the original document and release a temporary preview.mutatesplan.executeExecute a compiled batch of plan-safe operation entries with per-entry transactions, capture resolution between entries, and keep-prefix-and-continue failure semantics. Hosts may support atomic: true for all-or-nothing single-commit execution with operation restrictions.mutatesAnchored Metadata operations
Attach a JSON payload to a span of text and read it back across DOCX round-trips. Backed by hidden inline content controls and namespaced Custom XML Data Storage Parts; consumers see one operation set.
Permission Ranges operations
Permission range exception operations for protected documents.