pub const CONTRACT_JSON: &str = "{\"contractVersion\":\"0.1.0\",\"sourceHash\":\"be4011c4eaa7e9ab162283b4b61ae458c938f68f8f56098ba851d1fe777a280e\",\"cli\":{\"package\":\"@superdoc/cli\",\"minVersion\":\"0.1.0\"},\"protocol\":{\"version\":\"1.0\",\"transport\":\"stdio\",\"features\":[\"cli.invoke\",\"cli.invoke.structuredReads\",\"cli.invoke.localExecutionFacts\",\"collaboration.auth.perOpen\",\"document.open\",\"document.open.defaultChangeMode\",\"document.currentRevision\",\"document.replaceFile\",\"document.invoke\",\"document.save\",\"document.save.source\",\"document.close\",\"host.request.timeoutMs\",\"host.shutdown\",\"host.describe\",\"host.describe.command\"],\"notifications\":[\"event.remoteChange\",\"event.sessionClosed\"]},\"sdkPolicy\":{\"protocolVersion\":\"1.0\",\"cliRequiredFeatures\":[\"cli.invoke\",\"host.shutdown\"],\"documentRequiredFeatures\":[\"document.open\",\"document.invoke\",\"document.save\",\"document.close\",\"host.shutdown\"],\"documentRpcFeatures\":[\"document.open\",\"document.invoke\",\"document.save\",\"document.close\"],\"features\":{\"replaceFile\":\"document.replaceFile\",\"defaultChangeMode\":\"document.open.defaultChangeMode\",\"sourceSave\":\"document.save.source\",\"requestTimeout\":\"host.request.timeoutMs\",\"collaborationAuthPerOpen\":\"collaboration.auth.perOpen\",\"documentAuthor\":\"document.open.author\"},\"documentOpenFields\":[\"doc\",\"sessionId\",\"runtime\"],\"documentSaveFields\":[\"sessionId\",\"out\",\"force\",\"mode\",\"inPlace\"],\"documentOptionFields\":[\"expectedRevision\",\"changeMode\",\"dryRun\",\"supportCheck\",\"replaceMode\",\"expectedSnapshotId\",\"changeTag\",\"author\",\"date\"],\"revisionPreflightOperations\":[\"doc.history.redo\",\"doc.history.undo\",\"doc.plan.execute\"],\"operationParamAliases\":{\"doc.tables.split\":{\"rowIndex\":[\"atRowIndex\"]},\"doc.comments.create\":{\"parentId\":[\"parentCommentId\"]}},\"notifications\":[\"event.remoteChange\",\"event.sessionClosed\"],\"hostDefaultRequestTimeoutMs\":30000,\"watchdogHeadroomMs\":5000},\"introspection\":{\"overview\":{\"contractVersion\":\"0.1.0\",\"cli\":{\"package\":\"superdoc\",\"minVersion\":\"0.1.0\"},\"protocol\":{\"transport\":\"stdio\",\"host\":{\"protocolVersion\":\"1.0\",\"features\":[\"cli.invoke\",\"cli.invoke.structuredReads\",\"cli.invoke.localExecutionFacts\",\"collaboration.auth.perOpen\",\"document.open\",\"document.open.defaultChangeMode\",\"document.currentRevision\",\"document.replaceFile\",\"document.invoke\",\"document.save\",\"document.save.source\",\"document.close\",\"host.request.timeoutMs\",\"host.shutdown\",\"host.describe\",\"host.describe.command\"],\"notifications\":[\"event.remoteChange\",\"event.sessionClosed\"]}},\"invariants\":[\"All mutation operations require an open document context or a stateless doc path.\",\"Response envelopes include elapsed_ms for all operations.\",\"JSON output mode is the default and must always be supported.\"],\"operationCount\":481,\"operations\":[{\"id\":\"doc.get\",\"command\":[\"get\"],\"description\":\"Read the full document as an SDDocument structure.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.find\",\"command\":[\"find\"],\"description\":\"Search the document for text or node matches using SDM/1 selectors. Returns discovery-grade results: for mutation targeting, use query.match instead.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc find --type text --pattern \\\"quarterly revenue\\\" --limit 5\",\"superdoc find --select-json \'{\\\"type\\\":\\\"node\\\",\\\"nodeType\\\":\\\"heading\\\"}\'\"],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"ADDRESS_STALE\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.getNode\",\"command\":[\"get-node\"],\"description\":\"Retrieve a single node by target position.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc get-node --address-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"ADDRESS_STALE\"]},{\"id\":\"doc.getNodeById\",\"command\":[\"get-node-by-id\"],\"description\":\"Retrieve a single node by its unique ID.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc get-node-by-id --id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.getText\",\"command\":[\"get-text\"],\"description\":\"Extract the plain-text content of the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc get-text\"],\"errors\":[\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.getMarkdown\",\"command\":[\"get-markdown\"],\"description\":\"Extract the document content as a Markdown string.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc get-markdown\"],\"errors\":[\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.getHtml\",\"command\":[\"get-html\"],\"description\":\"Extract the document content as an HTML string.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc get-html\"],\"errors\":[\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.projectMarkdown\",\"command\":[\"project-markdown\"],\"description\":\"Project document content as Markdown with review, scope, diagnostics, and provenance metadata.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc project-markdown --review-mode redline --include-source-map\",\"superdoc project-markdown --review-mode original --scope-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"}\'\"],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.projectHtml\",\"command\":[\"project-html\"],\"description\":\"Project document content as HTML with review, scope, diagnostics, and provenance metadata.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc project-html --review-mode final --include-source-map\",\"superdoc project-html --review-mode redline --scope-json \'{\\\"kind\\\":\\\"selection\\\",\\\"start\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":0},\\\"end\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":5},\\\"coordinateSpace\\\":\\\"tracked\\\"}\'\"],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.markdownToFragment\",\"command\":[\"markdown-to-fragment\"],\"description\":\"Convert a Markdown string into an SDM/1 structural fragment.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc markdown-to-fragment --markdown \\\"## Summary\\\\n\\\\n**Approved**\\\"\"],\"errors\":[]},{\"id\":\"doc.htmlToFragment\",\"command\":[\"html-to-fragment\"],\"description\":\"Convert an HTML string into an SDM/1 structural fragment.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc html-to-fragment --html \\\"<h2>Summary</h2><p><strong>Approved</strong></p>\\\"\"],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.info\",\"command\":[\"info\"],\"description\":\"Return document summary info including word, character, paragraph, heading, table, image, comment, tracked-change, SDT-field, list, and page counts, plus outline and capabilities.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc info\"],\"errors\":[]},{\"id\":\"doc.extract\",\"command\":[\"extract\"],\"description\":\"Extract all document content with stable IDs for RAG pipelines. Returns blocks with full text, comments, and tracked changes: each with an ID compatible with scrollToElement().\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.clearContent\",\"command\":[\"clear-content\"],\"description\":\"Clear all document body content, leaving a single empty paragraph.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.insert\",\"command\":[\"insert\"],\"description\":\"Insert content into the document. Text, rich, structural, and native OOXML input shapes: text-based (value + type) inserts inline content at a SelectionTarget or ref position within an existing block; structural SDFragment (content) inserts one or more blocks as siblings relative to a BlockNodeAddress target. When target/ref is omitted, content appends at the end of the document. Text mode supports text (default), markdown, and html. Native type:ooxml accepts namespaces and dependency manifests, or capture accepts a portable selection.extractOoxml result. Native copies remap package and review identities and require direct mode. Rich markdown/html and structural modes use `placement` (before/after/insideStart/insideEnd) to position relative to a block target.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc insert --type html --value-file body.html\",\"superdoc insert --type markdown --value-file -\",\"superdoc insert --value \\\"Hello, world!\\\"\",\"superdoc insert --block-id abc123 --value \\\"Appended text\\\"\",\"superdoc insert --type markdown --value \\\"## New Section\\\"\",\"superdoc insert --block-id abc123 --offset 5 --type html --value \\\"<br/>\\\"\",\"superdoc insert --type html --value \\\"<p><strong>Tracked section</strong></p>\\\" --change-mode tracked\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"ADDRESS_STALE\",\"DUPLICATE_ID\",\"RAW_MODE_REQUIRED\",\"PRESERVE_ONLY_VIOLATION\",\"CAPABILITY_UNSUPPORTED\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\",\"UNSUPPORTED_ENVIRONMENT\",\"INVALID_NESTING\",\"INVALID_PLACEMENT\",\"INVALID_PAYLOAD\",\"CAPABILITY_UNSUPPORTED\",\"ADDRESS_STALE\",\"DUPLICATE_ID\",\"INVALID_CONTEXT\",\"RAW_MODE_REQUIRED\",\"PRESERVE_ONLY_VIOLATION\",\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\",\"REVISION_MISMATCH\",\"CHECK_MISMATCH\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.replace\",\"command\":[\"replace\"],\"description\":\"Optional replaceMode:contents retains one paragraph, heading, or listItem container while applying text, HTML, Markdown, SDFragment, or native OOXML inlines. A retained snapshotId source restores exact same-session original markup with an expectedSnapshotId local precondition. These writes require direct mode; existing selection and structural behavior is unchanged. Replace content at a contiguous document selection. Text path accepts a SelectionTarget or ref plus replacement text. For explicit single-paragraph text selections, expectedText rejects mismatches with PRECONDITION_FAILED before mutation. Tracked text replacements accept replacementGranularity: word (default), phrase (join neighboring edits separated only by spaces), or range (replace the complete selection). This requires an explicit single-paragraph text selection. Rich string path accepts HTML or Markdown plus a BlockNodeAddress, SelectionTarget, or ref. Structural path accepts the same locator forms plus SDFragment content. A single-paragraph rich replacement may overlap pending insertions: tracked mode drops the covered part of your own insertion, nests a deletion inside another author\'s insertion, and adds the content as a new insertion; direct mode removes the covered part and leaves the rest pending. A tracked rich replacement spanning paragraphs that crosses a pending insertion, or a range that mixes pending insertions with comment, bookmark, field, or content-control markup, rejects without changes; capabilities.check reports the same result. An explicit {kind:\'story\', storyType:\'body\'} target replaces the complete main body in direct mode while preserving the destination DOCX package.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc replace --block-id abc123 --start 0 --end 5 --text \\\"Updated\\\"\",\"superdoc replace --block-id abc123 --start 0 --end 5 --text \\\"Updated\\\" --dry-run\",\"superdoc replace --block-id abc123 --start 0 --end 5 --text \\\"Updated\\\" --expected-revision 3\",\"superdoc replace --block-id abc123 --type markdown --value \\\"**Tracked replacement**\\\" --change-mode tracked\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"ADDRESS_STALE\",\"DUPLICATE_ID\",\"RAW_MODE_REQUIRED\",\"PRESERVE_ONLY_VIOLATION\",\"CAPABILITY_UNSUPPORTED\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\",\"NO_OP\",\"LOCK_VIOLATION\",\"INVALID_NESTING\",\"INVALID_PLACEMENT\",\"INVALID_PAYLOAD\",\"CAPABILITY_UNSUPPORTED\",\"ADDRESS_STALE\",\"DUPLICATE_ID\",\"INVALID_CONTEXT\",\"RAW_MODE_REQUIRED\",\"PRESERVE_ONLY_VIOLATION\",\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\",\"REVISION_MISMATCH\",\"CHECK_MISMATCH\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.delete\",\"command\":[\"delete\"],\"description\":\"Delete content at a contiguous document selection. Accepts a SelectionTarget or mutation-ready ref. Supports cross-block deletion and optional block-edge expansion via behavior mode.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc delete --block-id abc123 --start 0 --end 10\",\"superdoc delete --block-id abc123 --start 0 --end 10 --dry-run\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"NO_OP\",\"LOCK_VIOLATION\",\"CAPABILITY_UNAVAILABLE\",\"PRECONDITION_FAILED\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.formatRange\",\"command\":[\"format-range\"],\"description\":\"Legacy root-level alias for inline range formatting. Routes to `format.apply` for compatibility with older callers.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.blocks.findText\",\"command\":[\"blocks\",\"find-text\"],\"description\":\"Find top-level body blocks containing a literal case-insensitive substring. Matches flattened block text, coalescing repeated hits and nested table paragraphs into one block. Scans at most 20,000 blocks inside the document host and returns compact previews without transferring full-text pages.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\"]},{\"id\":\"doc.blocks.list\",\"command\":[\"blocks\",\"list\"],\"description\":\"List top-level blocks in document order with IDs, types, text previews, and optional full text when includeText:true. Supports pagination via offset/limit after optional nodeTypes, nodeIds, and literal textSearch filtering, single-story scoping via `in: <StoryLocator>`, and final/original/redline projection of numbering metadata without changing block membership.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc blocks list\",\"superdoc blocks list --limit 20\",\"superdoc blocks list --offset 10 --limit 10\",\"superdoc blocks list --node-types-json \'[\\\"paragraph\\\",\\\"heading\\\"]\'\",\"superdoc blocks list --in-json \'{\\\"kind\\\":\\\"story\\\",\\\"storyType\\\":\\\"footnote\\\",\\\"noteId\\\":\\\"1\\\"}\' --include-text\"],\"errors\":[\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.blocks.delete\",\"command\":[\"blocks\",\"delete\"],\"description\":\"Delete an entire block node (paragraph, heading, list item, table, image, or sdt) deterministically.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc blocks delete --node-type paragraph --node-id abc123\",\"superdoc blocks delete --node-type paragraph --node-id abc123 --dry-run\"],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INTERNAL_ERROR\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.blocks.deleteRange\",\"command\":[\"blocks\",\"delete-range\"],\"description\":\"Delete a contiguous range of top-level blocks between two endpoints (inclusive). Both endpoints must be direct children of the document node. Supports dry-run preview.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc blocks delete-range --start-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"}\' --end-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"def456\\\"}\'\",\"superdoc blocks delete-range --start-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"}\' --end-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"def456\\\"}\' --dry-run\"],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.blocks.split\",\"command\":[\"blocks\",\"split\"],\"description\":\"Split a paragraph at a visible-text offset, producing two paragraphs. Preserves unambiguous simple run properties around the cut. Rejects when the paragraph contains fields, content controls, drawings, equations, or unsupported tracked-change wrappers. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_INPUT\"]},{\"id\":\"doc.blocks.merge\",\"command\":[\"blocks\",\"merge\"],\"description\":\"Merge two adjacent paragraphs in the same story. The first paragraph keeps its pPr; the second paragraph is removed. Rejects when either paragraph carries a w:sectPr or when their numbering definitions differ. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_INPUT\"]},{\"id\":\"doc.blocks.move\",\"command\":[\"blocks\",\"move\"],\"description\":\"Move a paragraph within the same story to a new anchor paragraph (before or after). Cross-story and relationship-bearing moves reject with named reasons. Tracked-mode authoring emits paired `<w:moveFrom>` / `<w:moveTo>` review state with explicit move range marker identity; safe content (no comment/bookmark/permission anchors and no pre-existing tracked wrappers) is required for tracked authoring. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_INPUT\"]},{\"id\":\"doc.format.apply\",\"command\":[\"format\",\"apply\"],\"description\":\"Apply inline run-property patch changes to the target range with explicit set/clear semantics.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc format apply --block-id abc123 --start 0 --end 10 --inline-json \'{\\\"bold\\\":true}\'\",\"superdoc format apply --block-id abc123 --start 7 --end 14 --inline-json \'{\\\"fontSize\\\":16,\\\"fontFamily\\\":\\\"Times New Roman\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.format.bold\",\"command\":[\"format\",\"bold\"],\"description\":\"Set or clear the `bold` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.italic\",\"command\":[\"format\",\"italic\"],\"description\":\"Set or clear the `italic` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.strike\",\"command\":[\"format\",\"strike\"],\"description\":\"Set or clear the `strike` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.underline\",\"command\":[\"format\",\"underline\"],\"description\":\"Set or clear the `underline` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.highlight\",\"command\":[\"format\",\"highlight\"],\"description\":\"Set or clear the `highlight` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.color\",\"command\":[\"format\",\"color\"],\"description\":\"Set or clear the `color` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.fontSize\",\"command\":[\"format\",\"font-size\"],\"description\":\"Set or clear the `fontSize` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.fontFamily\",\"command\":[\"format\",\"font-family\"],\"description\":\"Set or clear the `fontFamily` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.letterSpacing\",\"command\":[\"format\",\"letter-spacing\"],\"description\":\"Set or clear the `letterSpacing` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.vertAlign\",\"command\":[\"format\",\"vert-align\"],\"description\":\"Set or clear the `vertAlign` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.position\",\"command\":[\"format\",\"position\"],\"description\":\"Set or clear the `position` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.dstrike\",\"command\":[\"format\",\"dstrike\"],\"description\":\"Set or clear the `dstrike` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.smallCaps\",\"command\":[\"format\",\"small-caps\"],\"description\":\"Set or clear the `smallCaps` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.caps\",\"command\":[\"format\",\"caps\"],\"description\":\"Set or clear the `caps` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.shading\",\"command\":[\"format\",\"shading\"],\"description\":\"Set or clear the `shading` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.border\",\"command\":[\"format\",\"border\"],\"description\":\"Set or clear the `border` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.outline\",\"command\":[\"format\",\"outline\"],\"description\":\"Set or clear the `outline` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.shadow\",\"command\":[\"format\",\"shadow\"],\"description\":\"Set or clear the `shadow` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.emboss\",\"command\":[\"format\",\"emboss\"],\"description\":\"Set or clear the `emboss` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.imprint\",\"command\":[\"format\",\"imprint\"],\"description\":\"Set or clear the `imprint` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.charScale\",\"command\":[\"format\",\"char-scale\"],\"description\":\"Set or clear the `charScale` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.kerning\",\"command\":[\"format\",\"kerning\"],\"description\":\"Set or clear the `kerning` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.vanish\",\"command\":[\"format\",\"vanish\"],\"description\":\"Set or clear the `vanish` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.webHidden\",\"command\":[\"format\",\"web-hidden\"],\"description\":\"Set or clear the `webHidden` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.specVanish\",\"command\":[\"format\",\"spec-vanish\"],\"description\":\"Set or clear the `specVanish` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.rtl\",\"command\":[\"format\",\"rtl\"],\"description\":\"Set or clear the `rtl` inline run property on the target text range. This does not change paragraph direction; use `format.paragraph.setDirection` for paragraph-level RTL.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.cs\",\"command\":[\"format\",\"cs\"],\"description\":\"Set or clear the `cs` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.bCs\",\"command\":[\"format\",\"b-cs\"],\"description\":\"Set or clear the `bCs` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.iCs\",\"command\":[\"format\",\"i-cs\"],\"description\":\"Set or clear the `iCs` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.eastAsianLayout\",\"command\":[\"format\",\"east-asian-layout\"],\"description\":\"Set or clear the `eastAsianLayout` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.em\",\"command\":[\"format\",\"em\"],\"description\":\"Set or clear the `em` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.fitText\",\"command\":[\"format\",\"fit-text\"],\"description\":\"Set or clear the `fitText` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.snapToGrid\",\"command\":[\"format\",\"snap-to-grid\"],\"description\":\"Set or clear the `snapToGrid` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.lang\",\"command\":[\"format\",\"lang\"],\"description\":\"Set or clear the `lang` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.oMath\",\"command\":[\"format\",\"o-math\"],\"description\":\"Set or clear the `oMath` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.rStyle\",\"command\":[\"format\",\"r-style\"],\"description\":\"Set or clear the `rStyle` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.rFonts\",\"command\":[\"format\",\"r-fonts\"],\"description\":\"Set or clear the `rFonts` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.fontSizeCs\",\"command\":[\"format\",\"font-size-cs\"],\"description\":\"Set or clear the `fontSizeCs` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.ligatures\",\"command\":[\"format\",\"ligatures\"],\"description\":\"Set or clear the `ligatures` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.numForm\",\"command\":[\"format\",\"num-form\"],\"description\":\"Set or clear the `numForm` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.numSpacing\",\"command\":[\"format\",\"num-spacing\"],\"description\":\"Set or clear the `numSpacing` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.stylisticSets\",\"command\":[\"format\",\"stylistic-sets\"],\"description\":\"Set or clear the `stylisticSets` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.contextualAlternates\",\"command\":[\"format\",\"contextual-alternates\"],\"description\":\"Set or clear the `contextualAlternates` inline run property on the target text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.readSelection\",\"command\":[\"format\",\"read-selection\"],\"description\":\"Read inline formatting across a selection or caret, reporting each property as uniform, mixed, unset or unresolvable.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"REVISION_MISMATCH\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.styles.apply\",\"command\":[\"styles\",\"apply\"],\"description\":\"Apply style changes to the active Style Definitions part. Targets docDefaults run and paragraph channels, or the run properties of an existing named paragraph style (scope \\\"style\\\"), with set-style patch semantics. Redefining a named style updates every paragraph that references it; its linked character style receives the same patch, null removes a property so the style inherits it again, and an object value replaces that property whole.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.styles.create\",\"command\":[\"styles\",\"create\"],\"description\":\"Define or redefine a named paragraph or character style in the Style Definitions part. Replaces the definition rather than merging into it, and decides conflicts on both styleId and name, because Word keys its Styles gallery on the name. Linked style pairs and table/numbering styles are out of scope.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"DUPLICATE_ID\",\"STYLE_CONFLICT\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.styles.getCatalog\",\"command\":[\"styles\",\"get-catalog\"],\"description\":\"List the available styles as a normalized catalogue with stable IDs, display names, type, visibility, priority, provenance, and source diagnostics. Supports view (quickGallery/recommended/currentDocument/all/inUse), type filtering, hidden/latent inclusion, usage rollups, and UI-safe preview tokens. Distinct from DocumentInfo.styles, which is a usage summary.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.styles.getTheme\",\"command\":[\"styles\",\"get-theme\"],\"description\":\"Read the document theme: its 12 theme colors, major and minor fonts, and the color mapping from settings.xml. A missing or malformed theme part returns the default Office theme labeled source \'fallback\', with part status and diagnostics. Same theme as doc.get().theme, without the rest of the document.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.templates.apply\",\"command\":[\"templates\",\"apply\"],\"description\":\"Apply detected DOCX template/substrate (styles, numbering, settings, theme, font table, web settings, headers/footers, section defaults) from a source package onto the current document, preserving body content. Scopes are auto-detected from source package evidence.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"UNSUPPORTED_SOURCE\",\"INVALID_PACKAGE\",\"CAPABILITY_UNAVAILABLE\",\"UNSUPPORTED_TEMPLATE_CONTENT\"]},{\"id\":\"doc.create.paragraph\",\"command\":[\"create\",\"paragraph\"],\"description\":\"Create a standalone paragraph at the target position. To add a list item, use lists.insert instead.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc create paragraph --text \\\"A new paragraph.\\\"\",\"superdoc create paragraph --at document-end --text \\\"Last paragraph.\\\"\",\"superdoc create paragraph --at-json \'{\\\"kind\\\":\\\"after\\\",\\\"target\\\":{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"}}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.create.heading\",\"command\":[\"create\",\"heading\"],\"description\":\"Create a new heading at the target position.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc create heading --input-json \'{\\\"level\\\":2,\\\"text\\\":\\\"Section Title\\\"}\'\",\"superdoc create heading --input-json \'{\\\"level\\\":1,\\\"text\\\":\\\"Document Title\\\",\\\"at\\\":{\\\"kind\\\":\\\"documentStart\\\"}}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.create.sectionBreak\",\"command\":[\"create\",\"section-break\"],\"description\":\"Create a section break at the target location with optional initial section properties.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.list\",\"command\":[\"sections\",\"list\"],\"description\":\"List sections in deterministic order with section-target handles.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.get\",\"command\":[\"sections\",\"get\"],\"description\":\"Retrieve full section information by section address.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setBreakType\",\"command\":[\"sections\",\"set-break-type\"],\"description\":\"Set the section break type.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setPageMargins\",\"command\":[\"sections\",\"set-page-margins\"],\"description\":\"Set page-edge margins for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setHeaderFooterMargins\",\"command\":[\"sections\",\"set-header-footer-margins\"],\"description\":\"Set header/footer margin distances for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setPageSetup\",\"command\":[\"sections\",\"set-page-setup\"],\"description\":\"Set page size/orientation properties for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setColumns\",\"command\":[\"sections\",\"set-columns\"],\"description\":\"Set column configuration for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setLineNumbering\",\"command\":[\"sections\",\"set-line-numbering\"],\"description\":\"Enable or configure line numbering for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setPageNumbering\",\"command\":[\"sections\",\"set-page-numbering\"],\"description\":\"Set page numbering format/start and chapter numbering settings for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setTitlePage\",\"command\":[\"sections\",\"set-title-page\"],\"description\":\"Enable or disable title-page behavior for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setOddEvenHeadersFooters\",\"command\":[\"sections\",\"set-odd-even-headers-footers\"],\"description\":\"Enable or disable odd/even header-footer mode in document settings.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setVerticalAlign\",\"command\":[\"sections\",\"set-vertical-align\"],\"description\":\"Set vertical page alignment for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setSectionDirection\",\"command\":[\"sections\",\"set-section-direction\"],\"description\":\"Set section text flow direction (LTR/RTL).\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setHeaderFooterRef\",\"command\":[\"sections\",\"set-header-footer-ref\"],\"description\":\"Set or replace a section header/footer reference for a variant.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.clearHeaderFooterRef\",\"command\":[\"sections\",\"clear-header-footer-ref\"],\"description\":\"Clear a section header/footer reference for a specific variant.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setLinkToPrevious\",\"command\":[\"sections\",\"set-link-to-previous\"],\"description\":\"Set or clear link-to-previous behavior for a header/footer variant.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.setPageBorders\",\"command\":[\"sections\",\"set-page-borders\"],\"description\":\"Set page border configuration for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.sections.clearPageBorders\",\"command\":[\"sections\",\"clear-page-borders\"],\"description\":\"Clear page border configuration for a section.\",\"category\":\"sections\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.styles.paragraph.setStyle\",\"command\":[\"styles\",\"paragraph\",\"set-style\"],\"description\":\"Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_INPUT\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.styles.paragraph.setStyleRef\",\"command\":[\"styles\",\"paragraph\",\"set-style-ref\"],\"description\":\"Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_INPUT\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.styles.paragraph.clearStyle\",\"command\":[\"styles\",\"paragraph\",\"clear-style\"],\"description\":\"Remove the paragraph style reference from a paragraph-like block.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.resetDirectFormatting\",\"command\":[\"format\",\"paragraph\",\"reset-direct-formatting\"],\"description\":\"Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setAlignment\",\"command\":[\"format\",\"paragraph\",\"set-alignment\"],\"description\":\"Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearAlignment\",\"command\":[\"format\",\"paragraph\",\"clear-alignment\"],\"description\":\"Remove direct paragraph alignment, reverting to style-defined or default alignment.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setIndentation\",\"command\":[\"format\",\"paragraph\",\"set-indentation\"],\"description\":\"Set paragraph indentation properties (signed left/right, firstLine, hanging) in twips.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearIndentation\",\"command\":[\"format\",\"paragraph\",\"clear-indentation\"],\"description\":\"Remove all direct paragraph indentation.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setSpacing\",\"command\":[\"format\",\"paragraph\",\"set-spacing\"],\"description\":\"Set paragraph spacing properties (before, after, line, lineRule) in twips.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearSpacing\",\"command\":[\"format\",\"paragraph\",\"clear-spacing\"],\"description\":\"Remove all direct paragraph spacing.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setKeepOptions\",\"command\":[\"format\",\"paragraph\",\"set-keep-options\"],\"description\":\"Set keep-with-next, keep-lines-together, and widow/orphan control flags.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setOutlineLevel\",\"command\":[\"format\",\"paragraph\",\"set-outline-level\"],\"description\":\"Set the paragraph outline level (0\u{2013}9) or null to clear.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setFlowOptions\",\"command\":[\"format\",\"paragraph\",\"set-flow-options\"],\"description\":\"Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setTabStop\",\"command\":[\"format\",\"paragraph\",\"set-tab-stop\"],\"description\":\"Add or replace a tab stop at a given position.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearTabStop\",\"command\":[\"format\",\"paragraph\",\"clear-tab-stop\"],\"description\":\"Remove a tab stop at a given position.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearAllTabStops\",\"command\":[\"format\",\"paragraph\",\"clear-all-tab-stops\"],\"description\":\"Remove all tab stops from a paragraph.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setBorder\",\"command\":[\"format\",\"paragraph\",\"set-border\"],\"description\":\"Set border properties for a specific side of a paragraph.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearBorder\",\"command\":[\"format\",\"paragraph\",\"clear-border\"],\"description\":\"Remove border for a specific side or all sides of a paragraph.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setShading\",\"command\":[\"format\",\"paragraph\",\"set-shading\"],\"description\":\"Set paragraph shading (background fill, pattern color, pattern type).\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearShading\",\"command\":[\"format\",\"paragraph\",\"clear-shading\"],\"description\":\"Remove all paragraph shading.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setMarkRunProps\",\"command\":[\"format\",\"paragraph\",\"set-mark-run-props\"],\"description\":\"Set the paragraph mark\'s run properties (w:pPr/w:rPr), e.g. the font size or specVanish carried by the paragraph-end mark. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc format paragraph set-mark-run-props --block-id abc123 --mark-run-props-json \'{\\\"bold\\\":true,\\\"italic\\\":true,\\\"color\\\":{\\\"model\\\":\\\"rgb\\\",\\\"value\\\":\\\"FF0000\\\"}}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.format.paragraph.setDirection\",\"command\":[\"format\",\"paragraph\",\"set-direction\"],\"description\":\"Set paragraph base direction (LTR or RTL via w:bidi). Optionally align text to match.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.clearDirection\",\"command\":[\"format\",\"paragraph\",\"clear-direction\"],\"description\":\"Remove explicit paragraph direction, reverting to inherited or default (LTR).\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.format.paragraph.setNumbering\",\"command\":[\"format\",\"paragraph\",\"set-numbering\"],\"description\":\"Attach numbering (numId + level) to an existing paragraph or heading so it joins a numbered sequence. Numbering is a paragraph property; the node and its style are otherwise unchanged, though any direct paragraph indent is cleared so the numbering level controls indentation. Direct edits only; tracked mode is unsupported.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.lists.list\",\"command\":[\"lists\",\"list\"],\"description\":\"List all list nodes in the document, optionally filtered by scope.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc lists list\",\"superdoc lists list --kind ordered\"],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.get\",\"command\":[\"lists\",\"get\"],\"description\":\"Retrieve a specific list node by target.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc lists get --address-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"listItem\\\",\\\"nodeId\\\":\\\"li1\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.lists.insert\",\"command\":[\"lists\",\"insert\"],\"description\":\"Insert a new list item before or after an existing list item. The new item inherits the target list context. Optional inheritFrom selects a same-story list item for paragraph and run formatting without changing placement or numbering. When omitted, existing paragraph-creation formatting, including next-style handling, is preserved.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc lists insert --node-id abc123 --position after --text \\\"New list item\\\"\",\"superdoc lists insert --node-id abc123 --position before\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.lists.create\",\"command\":[\"lists\",\"create\"],\"description\":\"Create a new list from one or more paragraphs. Supports optional preset or style for new sequences. When sequence.mode is \\\"continuePrevious\\\", preset and style are not allowed: the new items inherit formatting from the previous sequence.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists create --input-json \'{\\\"mode\\\":\\\"empty\\\",\\\"at\\\":{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"paragraph\\\",\\\"nodeId\\\":\\\"abc123\\\"},\\\"kind\\\":\\\"ordered\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"INVALID_INPUT\",\"NO_COMPATIBLE_PREVIOUS\"]},{\"id\":\"doc.lists.attach\",\"command\":[\"lists\",\"attach\"],\"description\":\"Convert non-list paragraphs to list items under an existing list sequence.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc lists attach --input-json \'{\\\"target\\\":{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"listItem\\\",\\\"nodeId\\\":\\\"abc123\\\"},\\\"direction\\\":\\\"above\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.lists.detach\",\"command\":[\"lists\",\"detach\"],\"description\":\"Remove numbering properties from list items, converting them to plain paragraphs.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists detach --node-id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.lists.delete\",\"command\":[\"lists\",\"delete\"],\"description\":\"Delete the entire list that contains the targeted list item. Removes ALL items in the same numbered sequence (the contiguous run of list items sharing the target\'s numbering) AND their text content from the document. Pass any single list item from the list as `target`; the op walks adjacent siblings to find the full list. Use this for \\\"remove the list\\\" / \\\"delete this list\\\" intents and for the cleanup step of a list-to-table conversion.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.lists.indent\",\"command\":[\"lists\",\"indent\"],\"description\":\"Increase the indentation level of a list item.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc lists indent --node-id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.outdent\",\"command\":[\"lists\",\"outdent\"],\"description\":\"Decrease the indentation level of a list item.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc lists outdent --node-id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.join\",\"command\":[\"lists\",\"join\"],\"description\":\"Merge two adjacent list sequences into one.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists join --input-json \'{\\\"target\\\":{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"listItem\\\",\\\"nodeId\\\":\\\"abc123\\\"},\\\"direction\\\":\\\"above\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_ADJACENT_SEQUENCE\",\"INCOMPATIBLE_DEFINITIONS\",\"ALREADY_SAME_SEQUENCE\"]},{\"id\":\"doc.lists.canJoin\",\"command\":[\"lists\",\"can-join\"],\"description\":\"Check whether two adjacent list sequences can be joined.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.separate\",\"command\":[\"lists\",\"separate\"],\"description\":\"Split a list sequence at the target item, creating a new sequence from that point forward.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists separate --node-id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.lists.merge\",\"command\":[\"lists\",\"merge\"],\"description\":\"Compound: merge two adjacent list sequences into one. Reassigns numId on the absorbed sequence (no strict abstractNumId check: absorbed items adopt the absorbing definition) and deletes empty paragraphs between the two sequences. Use this instead of lists.join for the user-facing \\\"merge these lists\\\" intent.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_ADJACENT_SEQUENCE\",\"NO_OP\"]},{\"id\":\"doc.lists.split\",\"command\":[\"lists\",\"split\"],\"description\":\"Compound: split a list sequence at the target item into two independent sequences. Runs lists.separate then (by default) lists.setValue(1) so the new half starts numbering fresh at 1. Pass restartNumbering:false for raw separate semantics (new half continues the previous count).\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.lists.setLevel\",\"command\":[\"lists\",\"set-level\"],\"description\":\"Set the absolute nesting level (0..8) of a list item.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists set-level --node-id abc123 --level 2\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"NO_OP\"]},{\"id\":\"doc.lists.setValue\",\"command\":[\"lists\",\"set-value\"],\"description\":\"Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists set-value --node-id abc123 --value-json 5\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.lists.continuePrevious\",\"command\":[\"lists\",\"continue-previous\"],\"description\":\"Continue numbering from the nearest compatible previous list sequence.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_COMPATIBLE_PREVIOUS\",\"ALREADY_CONTINUOUS\"]},{\"id\":\"doc.lists.canContinuePrevious\",\"command\":[\"lists\",\"can-continue-previous\"],\"description\":\"Check whether the target sequence can continue numbering from a previous compatible sequence.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.setLevelRestart\",\"command\":[\"lists\",\"set-level-restart\"],\"description\":\"Set the restart behavior for a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.convertToText\",\"command\":[\"lists\",\"convert-to-text\"],\"description\":\"Convert list items to plain paragraphs, optionally prepending the rendered marker text.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists convert-to-text --node-id abc123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.lists.applyTemplate\",\"command\":[\"lists\",\"apply-template\"],\"description\":\"Advanced alias for lists.applyStyle. Apply a captured ListTemplate to the target list (abstract-scoped, no clone-on-write).\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.applyPreset\",\"command\":[\"lists\",\"apply-preset\"],\"description\":\"Apply a built-in list formatting preset to the target list.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.setType\",\"command\":[\"lists\",\"set-type\"],\"description\":\"Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists set-type --target-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"listItem\\\",\\\"nodeId\\\":\\\"abc123\\\"}\' --kind bullet\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.captureTemplate\",\"command\":[\"lists\",\"capture-template\"],\"description\":\"Advanced alias for lists.getStyle. Capture list formatting from the abstract definition only (does not merge lvlOverride formatting).\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.setLevelNumbering\",\"command\":[\"lists\",\"set-level-numbering\"],\"description\":\"Advanced alias for lists.setLevelNumberStyle/setLevelText/setLevelStart. Set format, pattern, start, and legal numbering in one call (abstract-scoped, no clone-on-write).\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelBullet\",\"command\":[\"lists\",\"set-level-bullet\"],\"description\":\"Set the bullet marker text for a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelPictureBullet\",\"command\":[\"lists\",\"set-level-picture-bullet\"],\"description\":\"Set a picture bullet for a specific list level by its OOXML lvlPicBulletId.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.lists.setLevelAlignment\",\"command\":[\"lists\",\"set-level-alignment\"],\"description\":\"Set the marker alignment (left, center, right) for a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelIndents\",\"command\":[\"lists\",\"set-level-indents\"],\"description\":\"Set the paragraph indentation values (left, hanging, firstLine) for a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.setLevelTrailingCharacter\",\"command\":[\"lists\",\"set-level-trailing-character\"],\"description\":\"Set the trailing character (tab, space, nothing) after the marker for a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelMarkerFont\",\"command\":[\"lists\",\"set-level-marker-font\"],\"description\":\"Set the font family used for the marker character at a specific list level.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.clearLevelOverrides\",\"command\":[\"lists\",\"clear-level-overrides\"],\"description\":\"Remove instance-level overrides for a specific list level, restoring abstract definition values.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.getStyle\",\"command\":[\"lists\",\"get-style\"],\"description\":\"Read the effective reusable style of a list, including instance-level overrides. Returns a ListStyle that can be applied to other lists via lists.applyStyle.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.applyStyle\",\"command\":[\"lists\",\"apply-style\"],\"description\":\"Apply a reusable list style to the target list. Sequence-local: if the abstract definition is shared with other lists, it is cloned first to avoid affecting them.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\"]},{\"id\":\"doc.lists.restartAt\",\"command\":[\"lists\",\"restart-at\"],\"description\":\"Restart numbering at the target list item with a specific value. If the item is mid-sequence, it is separated first.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.setLevelNumberStyle\",\"command\":[\"lists\",\"set-level-number-style\"],\"description\":\"Set the numbering style (e.g. decimal, lowerLetter, upperRoman) for a specific list level. Rejects \\\"bullet\\\": use setLevelBullet instead. Sequence-local: clones shared definitions.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelText\",\"command\":[\"lists\",\"set-level-text\"],\"description\":\"Set the level text pattern (e.g. \\\"%1.\\\", \\\"(%1)\\\") for a specific list level. Uses OOXML level-placeholder syntax. Sequence-local: clones shared definitions.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelStart\",\"command\":[\"lists\",\"set-level-start\"],\"description\":\"Set the start value for a specific list level. Rejects bullet levels and non-positive values. Sequence-local: clones shared definitions.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.setLevelLayout\",\"command\":[\"lists\",\"set-level-layout\"],\"description\":\"Set the layout properties (alignment, indentation, trailing character, tab stop) for a specific list level. Accepts partial updates: omitted fields are left unchanged. Sequence-local: clones shared definitions.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"LEVEL_OUT_OF_RANGE\",\"LEVEL_NOT_FOUND\"]},{\"id\":\"doc.lists.getState\",\"command\":[\"lists\",\"get-state\"],\"description\":\"Read the numbering-aware list state for a paragraph (numId, ilvl, abstract reference, level format). Returns null when the target is not a list item. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.lists.apply\",\"command\":[\"lists\",\"apply\"],\"description\":\"Apply a numbering definition to a paragraph. When `/word/numbering.xml` is absent it is materialized atomically together with the package content-type override and document relationship. Seeds bullet or ordered single-level definitions when no `reuseNumId` is provided. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.continue\",\"command\":[\"lists\",\"continue\"],\"description\":\"Continue from the previous compatible list item in the same story. Adopts the previous paragraph\'s numId+ilvl. Rejects with named reasons when no compatible previous item exists or when an intervening structural boundary blocks the continuation. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.lists.restart\",\"command\":[\"lists\",\"restart\"],\"description\":\"Restart numbering at a list item. Creates a new `<w:num>` that references the existing `<w:abstractNumId>` with a `<w:lvlOverride><w:startOverride/></w:lvlOverride>`. Distant paragraphs sharing the old numId are intentionally untouched. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_INPUT\"]},{\"id\":\"doc.lists.remove\",\"command\":[\"lists\",\"remove\"],\"description\":\"Strip the `<w:numPr>` from a list-item paragraph. The numbering definition in `/word/numbering.xml` is intentionally NOT modified; orphan cleanup is handled by the export-side stripper. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.comments.create\",\"command\":[\"comments\",\"create\"],\"description\":\"Create a new comment thread (or reply when parentCommentId is given). Accepts TextAddress / TextTarget anchors, or a TrackedChangeCommentTarget that names a logical tracked-change id. The tracked-change target accepts both the explicit kind form and the Labs-compatible trackedChangeId-only form; the adapter normalizes it to a Word-compatible content anchor on the requested revision side. Callers may supply a durable externalId, or use the v1-compatible caller-supplied commentId alias, plus author fields and arbitrary JSON metadata for integration correlation. The caller-owned id remains distinct from the generated Word-compatible commentId.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments create --block-id abc123 --start 0 --end 5 --text \\\"Review this section\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.comments.patch\",\"command\":[\"comments\",\"patch\"],\"description\":\"Patch exactly one field on an existing comment (`text`, `target`, `status`, or `isInternal`). The `target` branch accepts a plain TextAddress or a TrackedChangeCommentTarget, with or without `kind: \\\"trackedChange\\\"`, that names a logical tracked-change id. The legacy `isInternal` input sets or clears the `sdcom:internal` attribute for v1 backward compatibility. Multi-field patches and no-op edits are rejected with `INVALID_INPUT`; reply target / status patches are rejected with `INVALID_CONTEXT`.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments patch --id comment-123 --text \\\"Updated wording.\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.delete\",\"command\":[\"comments\",\"delete\"],\"description\":\"Remove the targeted comment or reply by ID. Deleting a root does not delete descendant replies.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments delete --id comment-123\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.get\",\"command\":[\"comments\",\"get\"],\"description\":\"Retrieve a single comment thread by ID.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments get --id comment-123\"],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.comments.list\",\"command\":[\"comments\",\"list\"],\"description\":\"List all comment threads in the document.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments list\"],\"errors\":[\"INVALID_INPUT\"]},{\"id\":\"doc.trackChanges.list\",\"command\":[\"track-changes\",\"list\"],\"description\":\"List tracked changes in the document. Body-only by default; pass `in: <StoryLocator>` or `in: \\\"all\\\"` to widen scope.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes list\"],\"errors\":[\"INVALID_INPUT\"]},{\"id\":\"doc.trackChanges.get\",\"command\":[\"track-changes\",\"get\"],\"description\":\"Retrieve a single tracked change by SuperDoc logical id.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes get --id tc-123\"],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.trackChanges.decide\",\"command\":[\"track-changes\",\"decide\"],\"description\":\"Accept or reject tracked changes by logical id, by several logical ids atomically, by selected text range, by logical anchor range ({ anchor, relativeStart, relativeEnd }), or every active change in the document. Range targets may include overlap / side selectors and may partially resolve a change, splitting surviving content into new fragments with stable ids. Legacy `{ id, range: { kind: \\\"partial\\\", ... } }` targets are promoted only when the active adapter supports `decide()`; legacy fallback adapters fail closed with `INVALID_INPUT`. `input.expectedRevision` is accepted as a compatibility alias for mutation options.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes decide --decision accept --target-json \'{\\\"id\\\":\\\"tc-123\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"PERMISSION_DENIED\",\"PRECONDITION_FAILED\",\"COMMENT_CASCADE_PARTIAL\",\"SPAN_FRAGMENTED\",\"STALE_REVISION\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.query.match\",\"command\":[\"query\",\"match\"],\"description\":\"Deterministic selector-based search returning mutation-grade addresses and text ranges. Use this to discover targets before any mutation.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc query match --select-json \'{\\\"type\\\":\\\"text\\\",\\\"pattern\\\":\\\"Introduction\\\"}\' --require exactlyOne\",\"superdoc query match --select-json \'{\\\"type\\\":\\\"node\\\",\\\"nodeType\\\":\\\"paragraph\\\"}\' --require any --limit 3\"],\"errors\":[\"MATCH_NOT_FOUND\",\"AMBIGUOUS_MATCH\",\"INVALID_INPUT\",\"INTERNAL_ERROR\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.ranges.resolve\",\"command\":[\"ranges\",\"resolve\"],\"description\":\"Resolve two explicit anchors into a contiguous document range. Returns a transparent SelectionTarget, handle metadata, and preview metadata. handle.ref is nullable and present only when the resolved range is mutation-ready; callers must check handle.ref !== null and/or coversFullTarget before using it for mutations. Stateless and deterministic.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"INVALID_CONTEXT\",\"REVISION_MISMATCH\",\"AMBIGUOUS_MATCH\",\"ADDRESS_STALE\",\"STORY_MISMATCH\"]},{\"id\":\"doc.selection.current\",\"command\":[\"selection\",\"current\"],\"description\":\"Read the editor\'s current selection as a portable SelectionInfo with text targets or V2 browser table/cell metadata. Primitive for building custom comments UIs, floating toolbars, and other selection-driven components without reaching into ProseMirror internals.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.selection.releaseSnapshot\",\"command\":[\"selection\",\"release-snapshot\"],\"description\":\"Release a retained exact-selection snapshot without changing document content or Undo history. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.selection.extractOoxml\",\"command\":[\"selection\",\"extract-ooxml\"],\"description\":\"Capture a nonempty current or addressed selection as portable OOXML with native dependencies. Optional retain:true keeps an exact same-session restoration handle for one complete standalone body paragraph; release it when unused. Unsupported retained contexts and collaboration reject.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"INVALID_CONTEXT\",\"AMBIGUOUS_MATCH\",\"PRECONDITION_FAILED\",\"RESOURCE_LIMIT\"]},{\"id\":\"doc.mutations.beginTemporary\",\"command\":[\"mutations\",\"begin-temporary\"],\"description\":\"Apply temporary text and review operations without changing undo history.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"REVISION_MISMATCH\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNSUPPORTED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.mutations.replaceTemporary\",\"command\":[\"mutations\",\"replace-temporary\"],\"description\":\"Replace an active temporary preview against its original document state.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"REVISION_MISMATCH\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNSUPPORTED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.mutations.rollbackTemporary\",\"command\":[\"mutations\",\"rollback-temporary\"],\"description\":\"Restore the original document and release a temporary preview.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"REVISION_MISMATCH\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNSUPPORTED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.mutations.commitTemporary\",\"command\":[\"mutations\",\"commit-temporary\"],\"description\":\"Commit the visible temporary preview as one undo entry, optionally applying final operations atomically.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"TARGET_NOT_FOUND\",\"REVISION_MISMATCH\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNSUPPORTED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.mutations.preview\",\"command\":[\"mutations\",\"preview\"],\"description\":\"Dry-run a mutation plan, returning resolved targets without applying changes.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc mutations preview --atomic true --change-mode direct --steps-json \'[{\\\"id\\\":\\\"s1\\\",\\\"op\\\":\\\"text.rewrite\\\",\\\"where\\\":{\\\"by\\\":\\\"select\\\",\\\"select\\\":{\\\"type\\\":\\\"text\\\",\\\"pattern\\\":\\\"old\\\"},\\\"require\\\":\\\"first\\\"},\\\"args\\\":{\\\"replacement\\\":{\\\"text\\\":\\\"new\\\"}}}]\'\"],\"errors\":[\"REVISION_MISMATCH\",\"MATCH_NOT_FOUND\",\"AMBIGUOUS_MATCH\",\"STYLE_CONFLICT\",\"PRECONDITION_FAILED\",\"INVALID_INPUT\",\"CROSS_BLOCK_MATCH\",\"SPAN_FRAGMENTED\",\"TARGET_MOVED\",\"PLAN_CONFLICT_OVERLAP\",\"INVALID_STEP_COMBINATION\",\"REVISION_CHANGED_SINCE_COMPILE\",\"INVALID_INSERTION_CONTEXT\",\"DOCUMENT_IDENTITY_CONFLICT\",\"CAPABILITY_UNAVAILABLE\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\"]},{\"id\":\"doc.mutations.apply\",\"command\":[\"mutations\",\"apply\"],\"description\":\"Execute a mutation plan atomically against the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc mutations apply --atomic true --change-mode direct --steps-json \'[{\\\"id\\\":\\\"s1\\\",\\\"op\\\":\\\"text.rewrite\\\",\\\"where\\\":{\\\"by\\\":\\\"select\\\",\\\"select\\\":{\\\"type\\\":\\\"text\\\",\\\"pattern\\\":\\\"old\\\"},\\\"require\\\":\\\"first\\\"},\\\"args\\\":{\\\"replacement\\\":{\\\"text\\\":\\\"new\\\"}}}]\'\",\"superdoc mutations apply --atomic true --change-mode direct --steps-json \'[{\\\"id\\\":\\\"s1\\\",\\\"op\\\":\\\"text.insert\\\",\\\"where\\\":{\\\"by\\\":\\\"target\\\",\\\"target\\\":{\\\"kind\\\":\\\"selection\\\",\\\"start\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":0},\\\"end\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":0}}},\\\"args\\\":{\\\"position\\\":\\\"before\\\",\\\"content\\\":{\\\"text\\\":\\\"ALPHA01 \\\"}}},{\\\"id\\\":\\\"s2\\\",\\\"op\\\":\\\"format.apply\\\",\\\"where\\\":{\\\"by\\\":\\\"target\\\",\\\"target\\\":{\\\"kind\\\":\\\"selection\\\",\\\"start\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":8},\\\"end\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":15}}},\\\"args\\\":{\\\"inline\\\":{\\\"fontSize\\\":16,\\\"fontFamily\\\":\\\"Times New Roman\\\"}}}]\'\"],\"errors\":[\"REVISION_MISMATCH\",\"MATCH_NOT_FOUND\",\"AMBIGUOUS_MATCH\",\"STYLE_CONFLICT\",\"PRECONDITION_FAILED\",\"INVALID_INPUT\",\"CROSS_BLOCK_MATCH\",\"SPAN_FRAGMENTED\",\"TARGET_MOVED\",\"PLAN_CONFLICT_OVERLAP\",\"INVALID_STEP_COMBINATION\",\"REVISION_CHANGED_SINCE_COMPILE\",\"INVALID_INSERTION_CONTEXT\",\"DOCUMENT_IDENTITY_CONFLICT\",\"CAPABILITY_UNAVAILABLE\",\"DUPLICATE_ID\",\"RAW_MODE_REQUIRED\",\"PRESERVE_ONLY_VIOLATION\",\"CAPABILITY_UNSUPPORTED\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.plan.execute\",\"command\":[\"plan\",\"execute\"],\"description\":\"Execute 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.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.capabilities.get\",\"command\":[\"capabilities\"],\"description\":\"Query runtime capabilities supported by the current document engine.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc capabilities\"],\"errors\":[]},{\"id\":\"doc.capabilities.check\",\"command\":[\"capabilities\",\"check\"],\"description\":\"Check an exact HTML or Markdown insert, replace, or detailed projection against the current document without mutating it.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.capabilities.resolve\",\"command\":[\"capabilities\",\"resolve\"],\"description\":\"Resolve availability, tracked-mode support, and dry-run support for one concrete operation request.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.create.table\",\"command\":[\"create\",\"table\"],\"description\":\"Create a new table at the target position.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.convertFromText\",\"command\":[\"tables\",\"convert-from-text\"],\"description\":\"Convert a text range into a table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.delete\",\"command\":[\"tables\",\"delete\"],\"description\":\"Delete the target table from the document.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.clearContents\",\"command\":[\"tables\",\"clear-contents\"],\"description\":\"Clear the contents of the target table or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.move\",\"command\":[\"tables\",\"move\"],\"description\":\"Move a table to a new position in the document.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.split\",\"command\":[\"tables\",\"split\"],\"description\":\"Split a table into two tables at the target row.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.convertToText\",\"command\":[\"tables\",\"convert-to-text\"],\"description\":\"Convert a table back to plain text.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setLayout\",\"command\":[\"tables\",\"set-layout\"],\"description\":\"Set the layout mode of the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.insertRow\",\"command\":[\"tables\",\"insert-row\"],\"description\":\"Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.deleteRow\",\"command\":[\"tables\",\"delete-row\"],\"description\":\"Delete a row from the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.moveRow\",\"command\":[\"tables\",\"move-row\"],\"description\":\"Move a row to a new position within the same table. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.tables.setRowHeight\",\"command\":[\"tables\",\"set-row-height\"],\"description\":\"Set the height of a table row.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.distributeRows\",\"command\":[\"tables\",\"distribute-rows\"],\"description\":\"Distribute row heights evenly across the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setRowOptions\",\"command\":[\"tables\",\"set-row-options\"],\"description\":\"Set options on a table row such as header repeat or page break.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.insertColumn\",\"command\":[\"tables\",\"insert-column\"],\"description\":\"Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.deleteColumn\",\"command\":[\"tables\",\"delete-column\"],\"description\":\"Delete a column from the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.moveColumn\",\"command\":[\"tables\",\"move-column\"],\"description\":\"Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.tables.setColumnWidth\",\"command\":[\"tables\",\"set-column-width\"],\"description\":\"Set the width of a table column.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.distributeColumns\",\"command\":[\"tables\",\"distribute-columns\"],\"description\":\"Distribute column widths evenly across the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.insertCell\",\"command\":[\"tables\",\"insert-cell\"],\"description\":\"Insert a new cell into a table row.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.deleteCell\",\"command\":[\"tables\",\"delete-cell\"],\"description\":\"Delete a cell from a table row.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.mergeCells\",\"command\":[\"tables\",\"merge-cells\"],\"description\":\"Merge a range of table cells into one.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.tables.unmergeCells\",\"command\":[\"tables\",\"unmerge-cells\"],\"description\":\"Unmerge a previously merged table cell.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.tables.splitCell\",\"command\":[\"tables\",\"split-cell\"],\"description\":\"Split a table cell into multiple cells.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_CONTEXT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.tables.setCellProperties\",\"command\":[\"tables\",\"set-cell-properties\"],\"description\":\"Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action \\\"set_cell_text\\\" instead.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setCellText\",\"command\":[\"tables\",\"set-cell-text\"],\"description\":\"Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.sort\",\"command\":[\"tables\",\"sort\"],\"description\":\"Sort table rows by a column value.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.setAltText\",\"command\":[\"tables\",\"set-alt-text\"],\"description\":\"Set the alternative text description for a table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setStyle\",\"command\":[\"tables\",\"set-style\"],\"description\":\"Apply a named table style to the target table, or clear the style when styleId is omitted.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.clearStyle\",\"command\":[\"tables\",\"clear-style\"],\"description\":\"Remove the applied table style, reverting to defaults.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setStyleOption\",\"command\":[\"tables\",\"set-style-option\"],\"description\":\"Toggle a conditional style option such as banded rows or first column.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setBorder\",\"command\":[\"tables\",\"set-border\"],\"description\":\"Set border properties on a table or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.clearBorder\",\"command\":[\"tables\",\"clear-border\"],\"description\":\"Remove border formatting from a table or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.applyBorderPreset\",\"command\":[\"tables\",\"apply-border-preset\"],\"description\":\"Apply a border preset (e.g. all borders, outside only) to a table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setShading\",\"command\":[\"tables\",\"set-shading\"],\"description\":\"Set the background shading color on a table or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.clearShading\",\"command\":[\"tables\",\"clear-shading\"],\"description\":\"Remove shading from a table or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setTablePadding\",\"command\":[\"tables\",\"set-table-padding\"],\"description\":\"Set default cell padding for the entire table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setCellPadding\",\"command\":[\"tables\",\"set-cell-padding\"],\"description\":\"Set padding on a specific table cell or cell range.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.setCellSpacing\",\"command\":[\"tables\",\"set-cell-spacing\"],\"description\":\"Set the cell spacing for the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.clearCellSpacing\",\"command\":[\"tables\",\"clear-cell-spacing\"],\"description\":\"Remove custom cell spacing from the target table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.tables.applyStyle\",\"command\":[\"tables\",\"apply-style\"],\"description\":\"Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass `styleOptions` with the flags you want to set or clear (omitted flags stay unchanged). For \\\"format the first row as a header\\\" use `styleOptions: { headerRow: true }`. Optional `styleId` applies a named table style. Leave it unset unless you have a styleId from `superdoc_get_content` (no need to invent one).\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.tables.setBorders\",\"command\":[\"tables\",\"set-borders\"],\"description\":\"Set borders on a table using a target set or per-edge patch.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.tables.setTableOptions\",\"command\":[\"tables\",\"set-table-options\"],\"description\":\"Set table-level default cell margins and/or cell spacing.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.tables.applyPreset\",\"command\":[\"tables\",\"apply-preset\"],\"description\":\"Apply a named visual preset to a table. Presets: \\\"grid\\\" (1pt black borders all around), \\\"minimal\\\" (no outer borders, hairline grey row separators + thicker bottom), \\\"striped\\\" (banded rows on, 0.5pt grey borders), \\\"accent\\\" (filled header row + thick accent top/bottom; defaults to dark blue, override with `accentColor`). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and `superdoc_mutations` (intentionally NOT exposed as a top-level action on `superdoc_table`. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\"]},{\"id\":\"doc.tables.get\",\"command\":[\"tables\",\"get\"],\"description\":\"Retrieve table structure and dimensions by locator.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.tables.getCells\",\"command\":[\"tables\",\"get-cells\"],\"description\":\"Retrieve cell information for a table, optionally filtered by row or column.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.tables.getProperties\",\"command\":[\"tables\",\"get-properties\"],\"description\":\"Retrieve layout and style properties of a table.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.tables.getStyles\",\"command\":[\"tables\",\"get-styles\"],\"description\":\"List all table styles and the document-level default table style setting.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.tables.setDefaultStyle\",\"command\":[\"tables\",\"set-default-style\"],\"description\":\"Set the document-level default table style (w:defaultTableStyle in settings.xml).\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_INPUT\"]},{\"id\":\"doc.tables.clearDefaultStyle\",\"command\":[\"tables\",\"clear-default-style\"],\"description\":\"Remove the document-level default table style setting.\",\"category\":\"tables\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.create.tableOfContents\",\"command\":[\"create\",\"table-of-contents\"],\"description\":\"Insert a new table of contents at the target position.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc create table-of-contents\",\"superdoc create table-of-contents --at-json \'{\\\"kind\\\":\\\"documentStart\\\"}\'\",\"superdoc create table-of-contents --instruction \'TOC \\\\h \\\\z \\\\u\' --at-json \'{\\\"kind\\\":\\\"documentStart\\\"}\'\"],\"errors\":[\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_INSERTION_CONTEXT\"]},{\"id\":\"doc.toc.list\",\"command\":[\"toc\",\"list\"],\"description\":\"List all tables of contents in the document.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.toc.get\",\"command\":[\"toc\",\"get\"],\"description\":\"Retrieve details of a specific table of contents.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.toc.configure\",\"command\":[\"toc\",\"configure\"],\"description\":\"Update the configuration switches of a table of contents.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.toc.update\",\"command\":[\"toc\",\"update\"],\"description\":\"Rebuild or refresh the materialized content of a table of contents.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"PAGE_NUMBERS_NOT_MATERIALIZED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.toc.remove\",\"command\":[\"toc\",\"remove\"],\"description\":\"Remove a table of contents from the document.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.toc.markEntry\",\"command\":[\"toc\",\"mark-entry\"],\"description\":\"Insert a TC (table of contents entry) field at the target paragraph.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"INVALID_INSERTION_CONTEXT\"]},{\"id\":\"doc.toc.unmarkEntry\",\"command\":[\"toc\",\"unmark-entry\"],\"description\":\"Remove a TC (table of contents entry) field from the document.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.toc.listEntries\",\"command\":[\"toc\",\"list-entries\"],\"description\":\"List all TC (table of contents entry) fields in the document body.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.toc.getEntry\",\"command\":[\"toc\",\"get-entry\"],\"description\":\"Retrieve details of a specific TC (table of contents entry) field.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.toc.editEntry\",\"command\":[\"toc\",\"edit-entry\"],\"description\":\"Update the properties of a TC (table of contents entry) field.\",\"category\":\"toc\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.history.get\",\"command\":[\"history\",\"get\"],\"description\":\"Query the current undo/redo history state of the document.\",\"category\":\"history\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc history get\"],\"errors\":[]},{\"id\":\"doc.history.undo\",\"command\":[\"history\",\"undo\"],\"description\":\"Undo the most recent history-safe mutation in the document.\",\"category\":\"history\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc history undo\"],\"errors\":[\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.history.redo\",\"command\":[\"history\",\"redo\"],\"description\":\"Redo the most recently undone action in the document.\",\"category\":\"history\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc history redo\"],\"errors\":[\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.create.image\",\"command\":[\"create\",\"image\"],\"description\":\"Insert a new image at the target position.\",\"category\":\"create\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc create image --src \\\"https://example.com/photo.png\\\" --alt \\\"Photo caption\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.images.list\",\"command\":[\"images\",\"list\"],\"description\":\"List all images in the document.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.images.get\",\"command\":[\"images\",\"get\"],\"description\":\"Get details for a specific image by its stable ID.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\"]},{\"id\":\"doc.images.delete\",\"command\":[\"images\",\"delete\"],\"description\":\"Delete an image from the document.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.move\",\"command\":[\"images\",\"move\"],\"description\":\"Move an image to a new location in the document. Tracked-mode authoring supports safe sole inline-image body paragraphs and emits paired `<w:moveFrom>` / `<w:moveTo>` wrappers with explicit move range marker identity.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.images.convertToInline\",\"command\":[\"images\",\"convert-to-inline\"],\"description\":\"Convert a floating image to inline placement.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.convertToFloating\",\"command\":[\"images\",\"convert-to-floating\"],\"description\":\"Convert an inline image to floating placement.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setSize\",\"command\":[\"images\",\"set-size\"],\"description\":\"Set explicit width/height for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setWrapType\",\"command\":[\"images\",\"set-wrap-type\"],\"description\":\"Set the text wrapping type for a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setWrapSide\",\"command\":[\"images\",\"set-wrap-side\"],\"description\":\"Set which side(s) text wraps around a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setWrapDistances\",\"command\":[\"images\",\"set-wrap-distances\"],\"description\":\"Set the text-wrap distance margins for a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setPosition\",\"command\":[\"images\",\"set-position\"],\"description\":\"Set the anchor position for a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setAnchorOptions\",\"command\":[\"images\",\"set-anchor-options\"],\"description\":\"Set anchor behavior options for a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.setZOrder\",\"command\":[\"images\",\"set-z-order\"],\"description\":\"Set the z-order (relativeHeight) for a floating image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.scale\",\"command\":[\"images\",\"scale\"],\"description\":\"Scale an image by a uniform factor applied to both dimensions.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setLockAspectRatio\",\"command\":[\"images\",\"set-lock-aspect-ratio\"],\"description\":\"Lock or unlock the aspect ratio for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.rotate\",\"command\":[\"images\",\"rotate\"],\"description\":\"Set the absolute rotation angle for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.flip\",\"command\":[\"images\",\"flip\"],\"description\":\"Set horizontal and/or vertical flip state for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.crop\",\"command\":[\"images\",\"crop\"],\"description\":\"Apply rectangular edge-percentage crop to an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.resetCrop\",\"command\":[\"images\",\"reset-crop\"],\"description\":\"Remove all cropping from an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.images.replaceSource\",\"command\":[\"images\",\"replace-source\"],\"description\":\"Replace the image source while preserving identity and placement.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setAltText\",\"command\":[\"images\",\"set-alt-text\"],\"description\":\"Set the accessibility description (alt text) for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setDecorative\",\"command\":[\"images\",\"set-decorative\"],\"description\":\"Mark or unmark an image as decorative.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setName\",\"command\":[\"images\",\"set-name\"],\"description\":\"Set the object name for an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.setHyperlink\",\"command\":[\"images\",\"set-hyperlink\"],\"description\":\"Set or remove the hyperlink attached to an image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.insertCaption\",\"command\":[\"images\",\"insert-caption\"],\"description\":\"Insert a caption paragraph below the image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.updateCaption\",\"command\":[\"images\",\"update-caption\"],\"description\":\"Update the text of an existing caption paragraph.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.images.removeCaption\",\"command\":[\"images\",\"remove-caption\"],\"description\":\"Remove the caption paragraph from below the image.\",\"category\":\"images\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"AMBIGUOUS_TARGET\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.hyperlinks.list\",\"command\":[\"hyperlinks\",\"list\"],\"description\":\"List all hyperlinks in the document, with optional filtering by href, anchor, or display text.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[]},{\"id\":\"doc.hyperlinks.get\",\"command\":[\"hyperlinks\",\"get\"],\"description\":\"Retrieve details of a specific hyperlink by its inline address.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\"]},{\"id\":\"doc.hyperlinks.wrap\",\"command\":[\"hyperlinks\",\"wrap\"],\"description\":\"Wrap an existing text range with a hyperlink. A range inside one pending tracked insertion is linked without authoring a revision: the insertion keeps its author and date and is split at the range boundaries. Ranges that cross a revision boundary or touch deleted, moved or several revisions are refused.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_CONTEXT\"]},{\"id\":\"doc.hyperlinks.insert\",\"command\":[\"hyperlinks\",\"insert\"],\"description\":\"Insert new linked text at a target position.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\",\"INVALID_TARGET\"]},{\"id\":\"doc.hyperlinks.patch\",\"command\":[\"hyperlinks\",\"patch\"],\"description\":\"Update hyperlink metadata (destination, tooltip, target, rel) without changing display text.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.hyperlinks.remove\",\"command\":[\"hyperlinks\",\"remove\"],\"description\":\"Remove a hyperlink. Mode \'unwrap\' preserves display text; \'deleteText\' removes the linked content entirely.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"NO_OP\"]},{\"id\":\"doc.headerFooters.list\",\"command\":[\"header-footers\",\"list\"],\"description\":\"List header/footer slot entries across sections.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\"]},{\"id\":\"doc.headerFooters.get\",\"command\":[\"header-footers\",\"get\"],\"description\":\"Get a single header/footer slot entry by address.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.headerFooters.resolve\",\"command\":[\"header-footers\",\"resolve\"],\"description\":\"Resolve the effective header/footer reference for a slot, walking the section inheritance chain.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.headerFooters.refs.set\",\"command\":[\"header-footers\",\"refs\",\"set\"],\"description\":\"Set an explicit header/footer reference on a section slot.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.headerFooters.refs.clear\",\"command\":[\"header-footers\",\"refs\",\"clear\"],\"description\":\"Clear an explicit header/footer reference from a section slot.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\"]},{\"id\":\"doc.headerFooters.refs.setLinkedToPrevious\",\"command\":[\"header-footers\",\"refs\",\"set-linked-to-previous\"],\"description\":\"Link or unlink a header/footer slot to/from the previous section.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"NO_OP\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.headerFooters.parts.list\",\"command\":[\"header-footers\",\"parts\",\"list\"],\"description\":\"List unique header/footer part records from document relationships.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.headerFooters.parts.create\",\"command\":[\"header-footers\",\"parts\",\"create\"],\"description\":\"Create a new independent header/footer part, optionally cloned from an existing part.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"INVALID_TARGET\"]},{\"id\":\"doc.headerFooters.parts.delete\",\"command\":[\"header-footers\",\"parts\",\"delete\"],\"description\":\"Delete a header/footer part and its associated relationship when no section slots reference it.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"INVALID_TARGET\"]},{\"id\":\"doc.headerFooters.pageNumbers.get\",\"command\":[\"header-footers\",\"page-numbers\",\"get\"],\"description\":\"Read where a section shows page numbers, their alignment, the first-page choice, and the section\'s number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.headerFooters.pageNumbers.insert\",\"command\":[\"header-footers\",\"page-numbers\",\"insert\"],\"description\":\"Atomically number a section\'s pages with a live PAGE field in its header or footer, with alignment, a first-page choice, and an optional number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.headerFooters.pageNumbers.set\",\"command\":[\"header-footers\",\"page-numbers\",\"set\"],\"description\":\"Atomically add a section\'s page numbers or change them: move them between header and footer, realign them, show or hide them on the first page, and set the number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.headerFooters.pageNumbers.remove\",\"command\":[\"header-footers\",\"page-numbers\",\"remove\"],\"description\":\"Atomically remove a section\'s PAGE fields from its header, footer, or both, keeping other header and footer content. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.watermarks.apply\",\"command\":[\"watermarks\",\"apply\"],\"description\":\"Atomically insert, replace, or remove selected watermarks in explicit scopes while preserving surrounding headers. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"PERMISSION_DENIED\",\"INTERNAL_ERROR\"]},{\"id\":\"doc.watermarks.list\",\"command\":[\"watermarks\",\"list\"],\"description\":\"List Word-compatible text and picture watermarks and their effective header scopes. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.watermarks.insert\",\"command\":[\"watermarks\",\"insert\"],\"description\":\"Insert a Word-compatible text or picture watermark into a header scope. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"INVALID_TARGET\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.watermarks.replace\",\"command\":[\"watermarks\",\"replace\"],\"description\":\"Replace an existing watermark while retaining its stable identity and owner scope. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.watermarks.remove\",\"command\":[\"watermarks\",\"remove\"],\"description\":\"Remove a watermark without removing unrelated header content. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"INTERNAL_ERROR\",\"TARGET_NOT_FOUND\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.create.contentControl\",\"command\":[\"create\",\"content-control\"],\"description\":\"Create a new content control (SDT) in the document, optionally seeded with plain text or structured block preset content.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"NO_OP\"]},{\"id\":\"doc.contentControls.list\",\"command\":[\"content-controls\",\"list\"],\"description\":\"List all content controls in the document with optional type/tag filtering.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.get\",\"command\":[\"content-controls\",\"get\"],\"description\":\"Retrieve a single content control by target.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.listInRange\",\"command\":[\"content-controls\",\"list-in-range\"],\"description\":\"List content controls within a block range.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.selectByTag\",\"command\":[\"content-controls\",\"select-by-tag\"],\"description\":\"Select content controls matching a specific tag value.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.selectByTitle\",\"command\":[\"content-controls\",\"select-by-title\"],\"description\":\"Select content controls matching a specific title (alias) value.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.listChildren\",\"command\":[\"content-controls\",\"list-children\"],\"description\":\"List direct child content controls nested inside the target.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.getParent\",\"command\":[\"content-controls\",\"get-parent\"],\"description\":\"Get the parent content control of the target, if any.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.wrap\",\"command\":[\"content-controls\",\"wrap\"],\"description\":\"Wrap existing content with a new content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.unwrap\",\"command\":[\"content-controls\",\"unwrap\"],\"description\":\"Remove the content control wrapper, preserving its content in place.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.delete\",\"command\":[\"content-controls\",\"delete\"],\"description\":\"Delete a content control and its content. Set overrideDeletionLock to remove a deletion-locked target without first unlocking it.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.copy\",\"command\":[\"content-controls\",\"copy\"],\"description\":\"Copy a content control to a destination position. Copied SDTs receive new IDs.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.move\",\"command\":[\"content-controls\",\"move\"],\"description\":\"Move a content control to a new position: before or after another SDT, to the document start or end, or to an arbitrary caret inside a paragraph (the inParagraph destination) for drag-and-drop. Direct moves preserve the original ID; tracked-mode authoring supports safe top-level block SDTs (SDT-to-SDT destinations only) and remaps the destination SDT ID to avoid duplicate live anchors.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.patch\",\"command\":[\"content-controls\",\"patch\"],\"description\":\"Patch metadata properties on a content control (tag, alias, appearance, color, etc.). V2 does not support placeholder or showingPlaceholder; defining either field rejects the entire patch without changing properties or content.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.setLockMode\",\"command\":[\"content-controls\",\"set-lock-mode\"],\"description\":\"Set the lock mode on a content control. In non-collaborative V2 sessions, addToHistory: false excludes this lock change while retaining the lock across Undo/Redo.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.setType\",\"command\":[\"content-controls\",\"set-type\"],\"description\":\"Transition a content control to a different semantic type. Metadata-only; no implicit content rewrite.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.getContent\",\"command\":[\"content-controls\",\"get-content\"],\"description\":\"Get the text content of a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.replaceContent\",\"command\":[\"content-controls\",\"replace-content\"],\"description\":\"Replace the entire content of a content control. For direct V2 edits, overrideContentLock replaces locked content in one history entry while preserving the target lock and identity.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.clearContent\",\"command\":[\"content-controls\",\"clear-content\"],\"description\":\"Clear all content inside a content control, leaving it empty.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.appendContent\",\"command\":[\"content-controls\",\"append-content\"],\"description\":\"Append content to the end of a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.prependContent\",\"command\":[\"content-controls\",\"prepend-content\"],\"description\":\"Prepend content to the beginning of a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.insertBefore\",\"command\":[\"content-controls\",\"insert-before\"],\"description\":\"Insert content immediately before a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.insertAfter\",\"command\":[\"content-controls\",\"insert-after\"],\"description\":\"Insert content immediately after a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.getBinding\",\"command\":[\"content-controls\",\"get-binding\"],\"description\":\"Get the data binding metadata (w:dataBinding) of a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.setBinding\",\"command\":[\"content-controls\",\"set-binding\"],\"description\":\"Set data binding metadata on a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.clearBinding\",\"command\":[\"content-controls\",\"clear-binding\"],\"description\":\"Remove data binding metadata from a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.getRawProperties\",\"command\":[\"content-controls\",\"get-raw-properties\"],\"description\":\"Get the raw sdtPr properties of a content control as a passthrough hash.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.patchRawProperties\",\"command\":[\"content-controls\",\"patch-raw-properties\"],\"description\":\"Apply raw XML-level patches to the sdtPr subtree of a content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.validateWordCompatibility\",\"command\":[\"content-controls\",\"validate-word-compatibility\"],\"description\":\"Validate a content control for Word compatibility issues.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.normalizeWordCompatibility\",\"command\":[\"content-controls\",\"normalize-word-compatibility\"],\"description\":\"Normalize a content control to resolve Word compatibility issues.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.normalizeTagPayload\",\"command\":[\"content-controls\",\"normalize-tag-payload\"],\"description\":\"Normalize a content control tag between plain-string and JSON-encoded formats.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.contentControls.text.setMultiline\",\"command\":[\"content-controls\",\"text\",\"set-multiline\"],\"description\":\"Set or clear the multiline attribute on a plain-text content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.text.setValue\",\"command\":[\"content-controls\",\"text\",\"set-value\"],\"description\":\"Set the text value of a plain-text content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.text.clearValue\",\"command\":[\"content-controls\",\"text\",\"clear-value\"],\"description\":\"Clear the text value of a plain-text content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.setValue\",\"command\":[\"content-controls\",\"date\",\"set-value\"],\"description\":\"Set the date value of a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.clearValue\",\"command\":[\"content-controls\",\"date\",\"clear-value\"],\"description\":\"Clear the date value of a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.setDisplayFormat\",\"command\":[\"content-controls\",\"date\",\"set-display-format\"],\"description\":\"Set the display format string for a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.setDisplayLocale\",\"command\":[\"content-controls\",\"date\",\"set-display-locale\"],\"description\":\"Set the display locale for a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.setStorageFormat\",\"command\":[\"content-controls\",\"date\",\"set-storage-format\"],\"description\":\"Set the XML storage format for a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.date.setCalendar\",\"command\":[\"content-controls\",\"date\",\"set-calendar\"],\"description\":\"Set the calendar type for a date content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.checkbox.getState\",\"command\":[\"content-controls\",\"checkbox\",\"get-state\"],\"description\":\"Get the checked state of a checkbox content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\"]},{\"id\":\"doc.contentControls.checkbox.setState\",\"command\":[\"content-controls\",\"checkbox\",\"set-state\"],\"description\":\"Set the checked state of a checkbox content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.checkbox.toggle\",\"command\":[\"content-controls\",\"checkbox\",\"toggle\"],\"description\":\"Toggle the checked state of a checkbox content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.checkbox.setSymbolPair\",\"command\":[\"content-controls\",\"checkbox\",\"set-symbol-pair\"],\"description\":\"Set the checked and unchecked symbol glyphs for a checkbox content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.choiceList.getItems\",\"command\":[\"content-controls\",\"choice-list\",\"get-items\"],\"description\":\"Get the list items and selected value of a comboBox or dropDownList content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\"]},{\"id\":\"doc.contentControls.choiceList.setItems\",\"command\":[\"content-controls\",\"choice-list\",\"set-items\"],\"description\":\"Replace the list items of a comboBox or dropDownList content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.choiceList.setSelected\",\"command\":[\"content-controls\",\"choice-list\",\"set-selected\"],\"description\":\"Set the selected value of a comboBox or dropDownList content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.repeatingSection.listItems\",\"command\":[\"content-controls\",\"repeating-section\",\"list-items\"],\"description\":\"List the repeating section items inside a repeating section content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\"]},{\"id\":\"doc.contentControls.repeatingSection.insertItemBefore\",\"command\":[\"content-controls\",\"repeating-section\",\"insert-item-before\"],\"description\":\"Insert a new item before a specific index in a repeating section.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.repeatingSection.insertItemAfter\",\"command\":[\"content-controls\",\"repeating-section\",\"insert-item-after\"],\"description\":\"Insert a new item after a specific index in a repeating section.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.repeatingSection.cloneItem\",\"command\":[\"content-controls\",\"repeating-section\",\"clone-item\"],\"description\":\"Clone a repeating section item at the given index. Cloned SDTs receive new IDs.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.repeatingSection.deleteItem\",\"command\":[\"content-controls\",\"repeating-section\",\"delete-item\"],\"description\":\"Delete a repeating section item at the given index.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.repeatingSection.setAllowInsertDelete\",\"command\":[\"content-controls\",\"repeating-section\",\"set-allow-insert-delete\"],\"description\":\"Set the allowInsertDelete flag on a repeating section.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.contentControls.group.wrap\",\"command\":[\"content-controls\",\"group\",\"wrap\"],\"description\":\"Wrap a content control inside a new group content control. Always nests; not idempotent.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.contentControls.group.ungroup\",\"command\":[\"content-controls\",\"group\",\"ungroup\"],\"description\":\"Remove the group designation from a group content control.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"AMBIGUOUS_TARGET\",\"INVALID_INPUT\",\"LOCK_VIOLATION\",\"REVISION_MISMATCH\",\"CAPABILITY_UNAVAILABLE\",\"TYPE_MISMATCH\",\"NO_OP\"]},{\"id\":\"doc.bookmarks.list\",\"command\":[\"bookmarks\",\"list\"],\"description\":\"List all bookmarks in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.bookmarks.get\",\"command\":[\"bookmarks\",\"get\"],\"description\":\"Get detailed information about a specific bookmark.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.bookmarks.insert\",\"command\":[\"bookmarks\",\"insert\"],\"description\":\"Insert a new named bookmark at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_PAYLOAD\"]},{\"id\":\"doc.bookmarks.rename\",\"command\":[\"bookmarks\",\"rename\"],\"description\":\"Rename an existing bookmark.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.bookmarks.remove\",\"command\":[\"bookmarks\",\"remove\"],\"description\":\"Remove a bookmark from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.footnotes.list\",\"command\":[\"footnotes\",\"list\"],\"description\":\"List all footnotes and endnotes in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.footnotes.get\",\"command\":[\"footnotes\",\"get\"],\"description\":\"Get detailed information about a specific footnote or endnote.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.footnotes.insert\",\"command\":[\"footnotes\",\"insert\"],\"description\":\"Insert a new footnote or endnote at a target location or the current selection. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc footnotes insert --type footnote --at-json \'{\\\"kind\\\":\\\"text\\\",\\\"segments\\\":[{\\\"blockId\\\":\\\"abc123\\\",\\\"range\\\":{\\\"start\\\":0,\\\"end\\\":0}}]}\' --content \\\"Example footnote content.\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_FRAGMENT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.footnotes.update\",\"command\":[\"footnotes\",\"update\"],\"description\":\"Update the content of an existing footnote or endnote. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_FRAGMENT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.footnotes.remove\",\"command\":[\"footnotes\",\"remove\"],\"description\":\"Remove a footnote or endnote from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.footnotes.configure\",\"command\":[\"footnotes\",\"configure\"],\"description\":\"Configure numbering and placement for footnotes or endnotes.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.clipboard.parse\",\"command\":[\"clipboard\",\"parse\"],\"description\":\"Parse and sanitize a ClipboardPayload into a deterministic v2 clipboard insert plan with diagnostics. Does not mutate the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"INVALID_PAYLOAD\",\"EMPTY_FRAGMENT\",\"CAPABILITY_UNSUPPORTED\",\"INVALID_FRAGMENT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.clipboard.insert\",\"command\":[\"clipboard\",\"insert\"],\"description\":\"Insert a parsed clipboard plan, v2 fragment, or raw ClipboardPayload through the v2 pasteFragment kernel operation.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_PAYLOAD\",\"EMPTY_FRAGMENT\",\"INVALID_FRAGMENT\",\"CAPABILITY_UNSUPPORTED\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"PRECONDITION_FAILED\"]},{\"id\":\"doc.clipboard.serializeSelection\",\"command\":[\"clipboard\",\"serialize-selection\"],\"description\":\"Serialize the current or supplied model selection into text/plain, text/html, and application/x-superdoc-v2-fragment clipboard payloads.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.crossRefs.list\",\"command\":[\"cross-refs\",\"list\"],\"description\":\"List all cross-reference fields in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.crossRefs.get\",\"command\":[\"cross-refs\",\"get\"],\"description\":\"Get detailed information about a specific cross-reference field.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.crossRefs.insert\",\"command\":[\"cross-refs\",\"insert\"],\"description\":\"Insert a new cross-reference field at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.crossRefs.rebuild\",\"command\":[\"cross-refs\",\"rebuild\"],\"description\":\"Rebuild (recalculate) a cross-reference field.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.crossRefs.remove\",\"command\":[\"cross-refs\",\"remove\"],\"description\":\"Remove a cross-reference field from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.list\",\"command\":[\"index\",\"list\"],\"description\":\"List all index blocks in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.index.get\",\"command\":[\"index\",\"get\"],\"description\":\"Get detailed information about a specific index block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.insert\",\"command\":[\"index\",\"insert\"],\"description\":\"Insert a new index block at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.configure\",\"command\":[\"index\",\"configure\"],\"description\":\"Update the configuration of an existing index block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.rebuild\",\"command\":[\"index\",\"rebuild\"],\"description\":\"Rebuild (regenerate) an index block from its entries.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.remove\",\"command\":[\"index\",\"remove\"],\"description\":\"Remove an index block from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.entries.list\",\"command\":[\"index\",\"entries\",\"list\"],\"description\":\"List all XE (index entry) fields in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.index.entries.get\",\"command\":[\"index\",\"entries\",\"get\"],\"description\":\"Get detailed information about a specific XE index entry.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.entries.insert\",\"command\":[\"index\",\"entries\",\"insert\"],\"description\":\"Insert a new XE index entry field at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.entries.update\",\"command\":[\"index\",\"entries\",\"update\"],\"description\":\"Update the properties of an existing XE index entry.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.index.entries.remove\",\"command\":[\"index\",\"entries\",\"remove\"],\"description\":\"Remove an XE index entry field from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.captions.list\",\"command\":[\"captions\",\"list\"],\"description\":\"List all caption paragraphs in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.captions.get\",\"command\":[\"captions\",\"get\"],\"description\":\"Get detailed information about a specific caption paragraph.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.captions.insert\",\"command\":[\"captions\",\"insert\"],\"description\":\"Insert a new caption paragraph adjacent to a target block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.captions.update\",\"command\":[\"captions\",\"update\"],\"description\":\"Append patch text to an existing caption paragraph.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.captions.remove\",\"command\":[\"captions\",\"remove\"],\"description\":\"Remove a caption paragraph from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.captions.configure\",\"command\":[\"captions\",\"configure\"],\"description\":\"Configure numbering format for a caption label.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.fields.list\",\"command\":[\"fields\",\"list\"],\"description\":\"List all fields in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.fields.get\",\"command\":[\"fields\",\"get\"],\"description\":\"Get detailed information about a specific field.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.fields.insert\",\"command\":[\"fields\",\"insert\"],\"description\":\"Insert a raw field code at a target location, optionally preserving cached result text. The current v1 runtime supports rebuild flows; `cachedResultText` / `updatePolicy: \\\"preserveCached\\\"` currently return `CAPABILITY_UNAVAILABLE`.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc fields insert --mode-json \'\\\"raw\\\"\' --instruction \'PAGE\' --update-policy rebuild --at-json \'{\\\"kind\\\":\\\"text\\\",\\\"segments\\\":[{\\\"blockId\\\":\\\"abc123\\\",\\\"range\\\":{\\\"start\\\":0,\\\"end\\\":0}}]}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.fields.rebuild\",\"command\":[\"fields\",\"rebuild\"],\"description\":\"Rebuild (recalculate) a field.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.fields.remove\",\"command\":[\"fields\",\"remove\"],\"description\":\"Remove a field from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.list\",\"command\":[\"citations\",\"list\"],\"description\":\"List all citation marks in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.citations.get\",\"command\":[\"citations\",\"get\"],\"description\":\"Get detailed information about a specific citation mark.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.insert\",\"command\":[\"citations\",\"insert\"],\"description\":\"Insert a new citation mark at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.update\",\"command\":[\"citations\",\"update\"],\"description\":\"Update an existing citation mark\'s source references.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.remove\",\"command\":[\"citations\",\"remove\"],\"description\":\"Remove a citation mark from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.sources.list\",\"command\":[\"citations\",\"sources\",\"list\"],\"description\":\"List all citation sources in the document store.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.citations.sources.get\",\"command\":[\"citations\",\"sources\",\"get\"],\"description\":\"Get detailed information about a specific citation source.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.sources.insert\",\"command\":[\"citations\",\"sources\",\"insert\"],\"description\":\"Register a new citation source in the document store.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.sources.update\",\"command\":[\"citations\",\"sources\",\"update\"],\"description\":\"Update the fields of an existing citation source.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.sources.remove\",\"command\":[\"citations\",\"sources\",\"remove\"],\"description\":\"Remove a citation source from the document store.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.bibliography.get\",\"command\":[\"citations\",\"bibliography\",\"get\"],\"description\":\"Get information about the bibliography block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.bibliography.insert\",\"command\":[\"citations\",\"bibliography\",\"insert\"],\"description\":\"Insert a bibliography block at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.bibliography.rebuild\",\"command\":[\"citations\",\"bibliography\",\"rebuild\"],\"description\":\"Rebuild the bibliography from current sources.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.bibliography.configure\",\"command\":[\"citations\",\"bibliography\",\"configure\"],\"description\":\"Configure the bibliography style.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.citations.bibliography.remove\",\"command\":[\"citations\",\"bibliography\",\"remove\"],\"description\":\"Remove the bibliography block from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.list\",\"command\":[\"authorities\",\"list\"],\"description\":\"List all table-of-authorities blocks in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.authorities.get\",\"command\":[\"authorities\",\"get\"],\"description\":\"Get detailed information about a specific table-of-authorities block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.insert\",\"command\":[\"authorities\",\"insert\"],\"description\":\"Insert a new table-of-authorities block at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.configure\",\"command\":[\"authorities\",\"configure\"],\"description\":\"Update the configuration of an existing table-of-authorities block.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.rebuild\",\"command\":[\"authorities\",\"rebuild\"],\"description\":\"Rebuild a table-of-authorities block from its entries.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.remove\",\"command\":[\"authorities\",\"remove\"],\"description\":\"Remove a table-of-authorities block from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.entries.list\",\"command\":[\"authorities\",\"entries\",\"list\"],\"description\":\"List all TA (authority entry) fields in the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.authorities.entries.get\",\"command\":[\"authorities\",\"entries\",\"get\"],\"description\":\"Get detailed information about a specific TA authority entry.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.entries.insert\",\"command\":[\"authorities\",\"entries\",\"insert\"],\"description\":\"Insert a new TA authority entry field at a target location.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.entries.update\",\"command\":[\"authorities\",\"entries\",\"update\"],\"description\":\"Update the properties of an existing TA authority entry.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.authorities.entries.remove\",\"command\":[\"authorities\",\"entries\",\"remove\"],\"description\":\"Remove a TA authority entry field from the document.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.diff.capture\",\"command\":[\"diff\",\"capture\"],\"description\":\"Capture the current document\'s diffable state as a versioned snapshot. v2 capture requires source-complete state and reports coverage for body, comments, styles, numbering, and header/footers, with extended family coverage carried in the opaque payload. Legacy body-only v2 artifacts remain accepted for compare/apply compatibility.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"PRECONDITION_FAILED\"]},{\"id\":\"doc.diff.compare\",\"command\":[\"diff\",\"compare\"],\"description\":\"Compare the current document (base) against a previously captured target snapshot. Returns a versioned diff payload whose summary reports which components changed: body, comments, styles, numbering, header/footers, and parts.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNSUPPORTED\"]},{\"id\":\"doc.diff.apply\",\"command\":[\"diff\",\"apply\"],\"description\":\"Apply a previously computed diff payload to the current document. The document fingerprint must match the diff base fingerprint. Omitted changeMode applies story content directly; explicit tracked mode governs all four story families (body, header/footer parts, footnotes, endnotes). Comments, styles, and numbering are always applied directly. Supported mixed full-diff payloads apply atomically across body, comments, styles, numbering, and header/footers. Unsupported/deferred families such as package-graph/media/hyperlink closure, settings/theme, and textboxes fail closed before mutation.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"trackedMode\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNSUPPORTED\",\"PRECONDITION_FAILED\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.export.toDocx\",\"command\":[\"export\",\"to-docx\"],\"description\":\"Serialize the current document to DOCX bytes under an explicit tracked-change export mode. `review-preserving` (default) keeps open tracked changes as Word revision markup, `final` resolves them as accepted, and `original` resolves them as rejected. Returns the exported bytes plus a structured degradation report of allowed warnings. An invalid mode fails closed with INVALID_INPUT before any work happens.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNSUPPORTED\"]},{\"id\":\"doc.protection.get\",\"command\":[\"protection\",\"get\"],\"description\":\"Read the current document protection state including editing restrictions, write protection, and read-only recommendation.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.protection.setEditingRestriction\",\"command\":[\"protection\",\"set-editing-restriction\"],\"description\":\"Author a Word readOnly, comments, trackedChanges, or forms restriction. Inspect runtimeEnforced in the returned state: V2 currently enforces readOnly; the other modes are saved for Word and are not enforced in SuperDoc.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.protection.clearEditingRestriction\",\"command\":[\"protection\",\"clear-editing-restriction\"],\"description\":\"Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.permissionRanges.list\",\"command\":[\"permission-ranges\",\"list\"],\"description\":\"List all permission ranges in the document. Returns only complete paired ranges (both start and end markers present).\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.permissionRanges.get\",\"command\":[\"permission-ranges\",\"get\"],\"description\":\"Get detailed information about a specific permission range by ID.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.permissionRanges.create\",\"command\":[\"permission-ranges\",\"create\"],\"description\":\"Create a permission range exception region in the document. Inserts matched permStart/permEnd markers at the target.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.permissionRanges.remove\",\"command\":[\"permission-ranges\",\"remove\"],\"description\":\"Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.permissionRanges.updatePrincipal\",\"command\":[\"permission-ranges\",\"update-principal\"],\"description\":\"Change which principal is allowed to edit a permission range. Updates the principal fields on the start marker.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.customXml.parts.list\",\"command\":[\"custom-xml\",\"parts\",\"list\"],\"description\":\"List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.customXml.parts.get\",\"command\":[\"custom-xml\",\"parts\",\"get\"],\"description\":\"Get a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.customXml.parts.create\",\"command\":[\"custom-xml\",\"parts\",\"create\"],\"description\":\"Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.customXml.parts.patch\",\"command\":[\"custom-xml\",\"parts\",\"patch\"],\"description\":\"Replace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"TARGET_NOT_FOUND\",\"INVALID_INPUT\"]},{\"id\":\"doc.customXml.parts.remove\",\"command\":[\"custom-xml\",\"parts\",\"remove\"],\"description\":\"Remove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.metadata.attach\",\"command\":[\"metadata\",\"attach\"],\"description\":\"Anchor a JSON metadata payload to a span of text. Wraps the target range in a hidden inline content control whose w:tag carries a stable id, and stores the payload in a namespaced Custom XML Data Storage Part. v1 supports text-range anchors only.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\"]},{\"id\":\"doc.metadata.list\",\"command\":[\"metadata\",\"list\"],\"description\":\"List anchored-metadata entries in the document, optionally filtered by consumer namespace and/or a `within` selection (returns only entries whose anchor overlaps `within`).\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\"]},{\"id\":\"doc.metadata.get\",\"command\":[\"metadata\",\"get\"],\"description\":\"Get a single anchored-metadata entry by id, including its JSON payload.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.metadata.update\",\"command\":[\"metadata\",\"update\"],\"description\":\"Replace the JSON payload of an existing anchored-metadata entry. Replace semantics; no merge. The anchor is left untouched.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"TARGET_NOT_FOUND\",\"INVALID_INPUT\"]},{\"id\":\"doc.metadata.remove\",\"command\":[\"metadata\",\"remove\"],\"description\":\"Remove an anchored-metadata entry. Strips the anchor content-control wrapper (its content stays in the document) and deletes the payload entry from the Storage Part. In v1 these writes are sequenced, not transactional: the adapter resolves the target up-front so missing-target failures land before any state change, but a crash strictly between the two writes can leave a dangling payload. When the backing part has no remaining entries, the part itself is removed.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"INVALID_TARGET\",\"CAPABILITY_UNAVAILABLE\",\"REVISION_MISMATCH\",\"TARGET_NOT_FOUND\"]},{\"id\":\"doc.metadata.resolve\",\"command\":[\"metadata\",\"resolve\"],\"description\":\"Find where an anchored-metadata entry is anchored in the document. Returns the SelectionTarget covering the anchor content.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.open\",\"command\":[\"open\"],\"description\":\"Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc open my-doc.docx\",\"superdoc open --content-override-file body.md --override-type markdown\",\"superdoc open --content-override-file - --override-type html\",\"superdoc open --content-override \\\"# Title\\\\n\\\\nBody text\\\" --override-type markdown\",\"superdoc open template.docx --content-override \'<p>ALPHA01</p><p>BRAVO02</p>\' --override-type html\",\"superdoc open my-doc.docx --collaboration-json \'{\\\"url\\\":\\\"wss://collab.example.com\\\"}\'\"],\"errors\":[]},{\"id\":\"doc.save\",\"command\":[\"save\"],\"description\":\"Save the current session to the original file or a new path. Supports explicit review-preserving, final, and original export modes.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc save\",\"superdoc save --out copy.docx\"],\"errors\":[]},{\"id\":\"doc.close\",\"command\":[\"close\"],\"description\":\"Close the active editing session and clean up resources.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc close\"],\"errors\":[]},{\"id\":\"doc.insertTab\",\"command\":[\"insert\",\"tab\"],\"description\":\"Insert a real Word tab node at a collapsed text insertion point. Accepts the same target/ref shortcuts as insert, but only for point inserts.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc insert tab --block-id abc123 --offset 5\",\"superdoc insert tab --target-json \'{\\\"kind\\\":\\\"selection\\\",\\\"start\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":5},\\\"end\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":5}}\'\"],\"errors\":[]},{\"id\":\"doc.insertLineBreak\",\"command\":[\"insert\",\"line-break\"],\"description\":\"Insert a real Word line-break node at a collapsed text insertion point. Accepts the same target/ref shortcuts as insert, but only for point inserts.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc insert line-break --block-id abc123 --offset 5\",\"superdoc insert line-break --target-json \'{\\\"kind\\\":\\\"selection\\\",\\\"start\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":5},\\\"end\\\":{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"abc123\\\",\\\"offset\\\":5}}\'\"],\"errors\":[]},{\"id\":\"doc.executeCode\",\"command\":[\"execute\",\"code\"],\"description\":\"Run model-authored JavaScript IN-HOST against the live, SYNCHRONOUS Document API for the open session. Two globals are injected: `doc` (the synchronous Document API; do NOT await doc.* calls) and `console`. `return` a short summary; logs and the return value come back structured as { ok, result, logs, error }. Use for complex/multi-step workflows (loops, per-item branching, extract-then-generate) in ONE call instead of chaining many narrow tools. Large code can be passed on stdin.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc execute code --session my-session --code \'return doc.info({}).revision\'\",\"superdoc execute code --session my-session < script.js\"],\"errors\":[]},{\"id\":\"doc.status\",\"command\":[\"status\"],\"description\":\"Show the current session status and document metadata.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc status\"],\"errors\":[]},{\"id\":\"doc.discover\",\"command\":[\"discover\"],\"description\":\"Find CLI operations from a natural-language intent. Returns an adaptive relevant set capped at ten results and expands the leading operation input shape.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc discover \\\"create a footnote\\\"\",\"superdoc discover \\\"add an sdt\\\" --limit 10\",\"superdoc discover \\\"change table cell padding\\\" --pretty\"],\"errors\":[]},{\"id\":\"doc.describe\",\"command\":[\"describe\"],\"description\":\"List all available CLI operations and contract metadata.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc describe\",\"superdoc describe command doc.save\"],\"errors\":[]},{\"id\":\"doc.describeCommand\",\"command\":[\"describe\",\"command\"],\"description\":\"Show detailed metadata for a single CLI operation.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc describe command find\"],\"errors\":[]},{\"id\":\"doc.session.list\",\"command\":[\"session\",\"list\"],\"description\":\"List all active editing sessions.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc session list\"],\"errors\":[]},{\"id\":\"doc.session.save\",\"command\":[\"session\",\"save\"],\"description\":\"Persist the current session state.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc session save my-session\",\"superdoc session save --session my-session --out copy.docx\"],\"errors\":[]},{\"id\":\"doc.session.close\",\"command\":[\"session\",\"close\"],\"description\":\"Close a specific editing session by ID.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc session close my-session\",\"superdoc session close --session my-session --discard\"],\"errors\":[]},{\"id\":\"doc.session.setDefault\",\"command\":[\"session\",\"set-default\"],\"description\":\"Set the default session for subsequent commands.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[\"session use\"],\"examples\":[\"superdoc session set-default my-session\",\"superdoc session set-default --session my-session\"],\"errors\":[]},{\"id\":\"doc.preset.list\",\"command\":[\"preset\",\"list\"],\"description\":\"List the LLM-tools preset ids registered in the Node SDK preset registry, plus the default preset id.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset list\"],\"errors\":[]},{\"id\":\"doc.preset.getCatalog\",\"command\":[\"preset\",\"get-catalog\"],\"description\":\"Return the full tool catalog for an LLM-tools preset (defaults to the registered default preset).\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset get-catalog\",\"superdoc preset get-catalog --preset core\"],\"errors\":[]},{\"id\":\"doc.preset.getTools\",\"command\":[\"preset\",\"get-tools\"],\"description\":\"Return the provider-shaped tool array (openai|anthropic|vercel|generic) for an LLM-tools preset, plus the active cache strategy.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset get-tools --provider openai\",\"superdoc preset get-tools --provider anthropic --preset core --cache\"],\"errors\":[]},{\"id\":\"doc.preset.getSystemPrompt\",\"command\":[\"preset\",\"get-system-prompt\"],\"description\":\"Return the SDK-style system prompt for an LLM-tools preset.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset get-system-prompt\",\"superdoc preset get-system-prompt --preset core\"],\"errors\":[]},{\"id\":\"doc.preset.getMcpPrompt\",\"command\":[\"preset\",\"get-mcp-prompt\"],\"description\":\"Return the MCP-flavored system prompt for an LLM-tools preset.\",\"category\":\"session\",\"stability\":\"stable\",\"mutates\":false,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset get-mcp-prompt\",\"superdoc preset get-mcp-prompt --preset core\"],\"errors\":[]},{\"id\":\"doc.preset.dispatch\",\"command\":[\"preset\",\"dispatch\"],\"description\":\"Dispatch an LLM tool call through the named preset\'s dispatcher against the active session\'s live document. Used by cross-language SDKs (e.g. Python) to proxy preset behavior over the CLI.\",\"category\":\"core\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":false,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc preset dispatch --session my-session --tool-name superdoc_inspect --args-json \'{\\\"countsOnly\\\":true}\' --preset core\",\"superdoc preset dispatch --session my-session --tool-name superdoc_perform_action --args-json \'{\\\"action\\\":\\\"insert_paragraphs\\\",\\\"text\\\":\\\"Hello\\\"}\' --preset core\"],\"errors\":[]},{\"id\":\"doc.lists.detach\",\"command\":[\"lists\",\"exit\"],\"description\":\"Alias for lists detach.\",\"category\":\"lists\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\"],\"aliases\":[],\"examples\":[\"superdoc lists exit --target-json \'{\\\"kind\\\":\\\"block\\\",\\\"nodeType\\\":\\\"listItem\\\",\\\"nodeId\\\":\\\"p1\\\"}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_TARGET\"]},{\"id\":\"doc.format.strike\",\"command\":[\"format\",\"strikethrough\"],\"description\":\"Apply strikethrough formatting to a text range.\",\"category\":\"format\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[\"dryRun\",\"trackedMode\"],\"aliases\":[],\"examples\":[\"superdoc format strikethrough --block-id p1 --start 0 --end 5\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"STORY_NOT_FOUND\",\"STORY_MISMATCH\",\"STORY_NOT_SUPPORTED\",\"CROSS_STORY_PLAN\",\"MATERIALIZATION_FAILED\",\"INVALID_TARGET\"]},{\"id\":\"doc.trackChanges.decide\",\"command\":[\"track-changes\",\"accept\"],\"description\":\"Accept a tracked change by ID.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes accept --id tc-1\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"PERMISSION_DENIED\",\"PRECONDITION_FAILED\",\"COMMENT_CASCADE_PARTIAL\",\"SPAN_FRAGMENTED\",\"STALE_REVISION\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.trackChanges.decide\",\"command\":[\"track-changes\",\"reject\"],\"description\":\"Reject a tracked change by ID.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes reject --id tc-1\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"PERMISSION_DENIED\",\"PRECONDITION_FAILED\",\"COMMENT_CASCADE_PARTIAL\",\"SPAN_FRAGMENTED\",\"STALE_REVISION\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.trackChanges.decide\",\"command\":[\"track-changes\",\"accept-all\"],\"description\":\"Accept all tracked changes.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes accept-all\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"PERMISSION_DENIED\",\"PRECONDITION_FAILED\",\"COMMENT_CASCADE_PARTIAL\",\"SPAN_FRAGMENTED\",\"STALE_REVISION\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.trackChanges.decide\",\"command\":[\"track-changes\",\"reject-all\"],\"description\":\"Reject all tracked changes.\",\"category\":\"trackChanges\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc track-changes reject-all\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"NO_OP\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"PERMISSION_DENIED\",\"PRECONDITION_FAILED\",\"COMMENT_CASCADE_PARTIAL\",\"SPAN_FRAGMENTED\",\"STALE_REVISION\",\"REVISION_MISMATCH\"]},{\"id\":\"doc.comments.create\",\"command\":[\"comments\",\"add\"],\"description\":\"Add a new comment thread anchored to a text range.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments add --block-id p1 --start 0 --end 5 --text \\\"Review this\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.comments.create\",\"command\":[\"comments\",\"reply\"],\"description\":\"Reply to an existing comment thread.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments reply --parent-id c1 --text \\\"Looks good\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\"]},{\"id\":\"doc.comments.patch\",\"command\":[\"comments\",\"edit\"],\"description\":\"Edit the content of an existing comment.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments edit --id c1 --text \\\"Updated text\\\"\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.patch\",\"command\":[\"comments\",\"move\"],\"description\":\"Move a comment thread to a new anchor range.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments move --id c1 --target-json \'{\\\"kind\\\":\\\"text\\\",\\\"blockId\\\":\\\"p2\\\",\\\"range\\\":{\\\"start\\\":0,\\\"end\\\":5}}\'\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.patch\",\"command\":[\"comments\",\"resolve\"],\"description\":\"Resolve a comment thread.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments resolve --id c1\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.delete\",\"command\":[\"comments\",\"remove\"],\"description\":\"Remove a comment by ID.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments remove --id c1\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]},{\"id\":\"doc.comments.patch\",\"command\":[\"comments\",\"set-internal\"],\"description\":\"Toggle the internal (private) flag on a comment thread.\",\"category\":\"comments\",\"stability\":\"stable\",\"mutates\":true,\"requiresDocumentContext\":true,\"capabilities\":[],\"aliases\":[],\"examples\":[\"superdoc comments set-internal --id c1 --is-internal true\"],\"errors\":[\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"INVALID_TARGET\",\"INVALID_INPUT\",\"INVALID_INPUT\",\"INVALID_TARGET\",\"INVALID_CONTEXT\",\"TARGET_NOT_FOUND\",\"CAPABILITY_UNAVAILABLE\",\"NO_OP\"]}]},\"lookup\":{\"doc.get\":0,\"doc.find\":1,\"doc.getnode\":2,\"doc.getnodebyid\":3,\"doc.gettext\":4,\"doc.getmarkdown\":5,\"doc.gethtml\":6,\"doc.projectmarkdown\":7,\"doc.projecthtml\":8,\"doc.markdowntofragment\":9,\"doc.htmltofragment\":10,\"doc.info\":11,\"doc.extract\":12,\"doc.clearcontent\":13,\"doc.insert\":14,\"doc.replace\":15,\"doc.delete\":16,\"doc.formatrange\":17,\"doc.blocks.findtext\":18,\"doc.blocks.list\":19,\"doc.blocks.delete\":20,\"doc.blocks.deleterange\":21,\"doc.blocks.split\":22,\"doc.blocks.merge\":23,\"doc.blocks.move\":24,\"doc.format.apply\":25,\"doc.format.bold\":26,\"doc.format.italic\":27,\"doc.format.strike\":28,\"doc.format.underline\":29,\"doc.format.highlight\":30,\"doc.format.color\":31,\"doc.format.fontsize\":32,\"doc.format.fontfamily\":33,\"doc.format.letterspacing\":34,\"doc.format.vertalign\":35,\"doc.format.position\":36,\"doc.format.dstrike\":37,\"doc.format.smallcaps\":38,\"doc.format.caps\":39,\"doc.format.shading\":40,\"doc.format.border\":41,\"doc.format.outline\":42,\"doc.format.shadow\":43,\"doc.format.emboss\":44,\"doc.format.imprint\":45,\"doc.format.charscale\":46,\"doc.format.kerning\":47,\"doc.format.vanish\":48,\"doc.format.webhidden\":49,\"doc.format.specvanish\":50,\"doc.format.rtl\":51,\"doc.format.cs\":52,\"doc.format.bcs\":53,\"doc.format.ics\":54,\"doc.format.eastasianlayout\":55,\"doc.format.em\":56,\"doc.format.fittext\":57,\"doc.format.snaptogrid\":58,\"doc.format.lang\":59,\"doc.format.omath\":60,\"doc.format.rstyle\":61,\"doc.format.rfonts\":62,\"doc.format.fontsizecs\":63,\"doc.format.ligatures\":64,\"doc.format.numform\":65,\"doc.format.numspacing\":66,\"doc.format.stylisticsets\":67,\"doc.format.contextualalternates\":68,\"doc.format.readselection\":69,\"doc.styles.apply\":70,\"doc.styles.create\":71,\"doc.styles.getcatalog\":72,\"doc.styles.gettheme\":73,\"doc.templates.apply\":74,\"doc.create.paragraph\":75,\"doc.create.heading\":76,\"doc.create.sectionbreak\":77,\"doc.sections.list\":78,\"doc.sections.get\":79,\"doc.sections.setbreaktype\":80,\"doc.sections.setpagemargins\":81,\"doc.sections.setheaderfootermargins\":82,\"doc.sections.setpagesetup\":83,\"doc.sections.setcolumns\":84,\"doc.sections.setlinenumbering\":85,\"doc.sections.setpagenumbering\":86,\"doc.sections.settitlepage\":87,\"doc.sections.setoddevenheadersfooters\":88,\"doc.sections.setverticalalign\":89,\"doc.sections.setsectiondirection\":90,\"doc.sections.setheaderfooterref\":91,\"doc.sections.clearheaderfooterref\":92,\"doc.sections.setlinktoprevious\":93,\"doc.sections.setpageborders\":94,\"doc.sections.clearpageborders\":95,\"doc.styles.paragraph.setstyle\":96,\"doc.styles.paragraph.setstyleref\":97,\"doc.styles.paragraph.clearstyle\":98,\"doc.format.paragraph.resetdirectformatting\":99,\"doc.format.paragraph.setalignment\":100,\"doc.format.paragraph.clearalignment\":101,\"doc.format.paragraph.setindentation\":102,\"doc.format.paragraph.clearindentation\":103,\"doc.format.paragraph.setspacing\":104,\"doc.format.paragraph.clearspacing\":105,\"doc.format.paragraph.setkeepoptions\":106,\"doc.format.paragraph.setoutlinelevel\":107,\"doc.format.paragraph.setflowoptions\":108,\"doc.format.paragraph.settabstop\":109,\"doc.format.paragraph.cleartabstop\":110,\"doc.format.paragraph.clearalltabstops\":111,\"doc.format.paragraph.setborder\":112,\"doc.format.paragraph.clearborder\":113,\"doc.format.paragraph.setshading\":114,\"doc.format.paragraph.clearshading\":115,\"doc.format.paragraph.setmarkrunprops\":116,\"doc.format.paragraph.setdirection\":117,\"doc.format.paragraph.cleardirection\":118,\"doc.format.paragraph.setnumbering\":119,\"doc.lists.list\":120,\"doc.lists.get\":121,\"doc.lists.insert\":122,\"doc.lists.create\":123,\"doc.lists.attach\":124,\"doc.lists.detach\":125,\"doc.lists.delete\":126,\"doc.lists.indent\":127,\"doc.lists.outdent\":128,\"doc.lists.join\":129,\"doc.lists.canjoin\":130,\"doc.lists.separate\":131,\"doc.lists.merge\":132,\"doc.lists.split\":133,\"doc.lists.setlevel\":134,\"doc.lists.setvalue\":135,\"doc.lists.continueprevious\":136,\"doc.lists.cancontinueprevious\":137,\"doc.lists.setlevelrestart\":138,\"doc.lists.converttotext\":139,\"doc.lists.applytemplate\":140,\"doc.lists.applypreset\":141,\"doc.lists.settype\":142,\"doc.lists.capturetemplate\":143,\"doc.lists.setlevelnumbering\":144,\"doc.lists.setlevelbullet\":145,\"doc.lists.setlevelpicturebullet\":146,\"doc.lists.setlevelalignment\":147,\"doc.lists.setlevelindents\":148,\"doc.lists.setleveltrailingcharacter\":149,\"doc.lists.setlevelmarkerfont\":150,\"doc.lists.clearleveloverrides\":151,\"doc.lists.getstyle\":152,\"doc.lists.applystyle\":153,\"doc.lists.restartat\":154,\"doc.lists.setlevelnumberstyle\":155,\"doc.lists.setleveltext\":156,\"doc.lists.setlevelstart\":157,\"doc.lists.setlevellayout\":158,\"doc.lists.getstate\":159,\"doc.lists.apply\":160,\"doc.lists.continue\":161,\"doc.lists.restart\":162,\"doc.lists.remove\":163,\"doc.comments.create\":164,\"doc.comments.patch\":165,\"doc.comments.delete\":166,\"doc.comments.get\":167,\"doc.comments.list\":168,\"doc.trackchanges.list\":169,\"doc.trackchanges.get\":170,\"doc.trackchanges.decide\":171,\"doc.query.match\":172,\"doc.ranges.resolve\":173,\"doc.selection.current\":174,\"doc.selection.releasesnapshot\":175,\"doc.selection.extractooxml\":176,\"doc.mutations.begintemporary\":177,\"doc.mutations.replacetemporary\":178,\"doc.mutations.rollbacktemporary\":179,\"doc.mutations.committemporary\":180,\"doc.mutations.preview\":181,\"doc.mutations.apply\":182,\"doc.plan.execute\":183,\"doc.capabilities.get\":184,\"doc.capabilities.check\":185,\"doc.capabilities.resolve\":186,\"doc.create.table\":187,\"doc.tables.convertfromtext\":188,\"doc.tables.delete\":189,\"doc.tables.clearcontents\":190,\"doc.tables.move\":191,\"doc.tables.split\":192,\"doc.tables.converttotext\":193,\"doc.tables.setlayout\":194,\"doc.tables.insertrow\":195,\"doc.tables.deleterow\":196,\"doc.tables.moverow\":197,\"doc.tables.setrowheight\":198,\"doc.tables.distributerows\":199,\"doc.tables.setrowoptions\":200,\"doc.tables.insertcolumn\":201,\"doc.tables.deletecolumn\":202,\"doc.tables.movecolumn\":203,\"doc.tables.setcolumnwidth\":204,\"doc.tables.distributecolumns\":205,\"doc.tables.insertcell\":206,\"doc.tables.deletecell\":207,\"doc.tables.mergecells\":208,\"doc.tables.unmergecells\":209,\"doc.tables.splitcell\":210,\"doc.tables.setcellproperties\":211,\"doc.tables.setcelltext\":212,\"doc.tables.sort\":213,\"doc.tables.setalttext\":214,\"doc.tables.setstyle\":215,\"doc.tables.clearstyle\":216,\"doc.tables.setstyleoption\":217,\"doc.tables.setborder\":218,\"doc.tables.clearborder\":219,\"doc.tables.applyborderpreset\":220,\"doc.tables.setshading\":221,\"doc.tables.clearshading\":222,\"doc.tables.settablepadding\":223,\"doc.tables.setcellpadding\":224,\"doc.tables.setcellspacing\":225,\"doc.tables.clearcellspacing\":226,\"doc.tables.applystyle\":227,\"doc.tables.setborders\":228,\"doc.tables.settableoptions\":229,\"doc.tables.applypreset\":230,\"doc.tables.get\":231,\"doc.tables.getcells\":232,\"doc.tables.getproperties\":233,\"doc.tables.getstyles\":234,\"doc.tables.setdefaultstyle\":235,\"doc.tables.cleardefaultstyle\":236,\"doc.create.tableofcontents\":237,\"doc.toc.list\":238,\"doc.toc.get\":239,\"doc.toc.configure\":240,\"doc.toc.update\":241,\"doc.toc.remove\":242,\"doc.toc.markentry\":243,\"doc.toc.unmarkentry\":244,\"doc.toc.listentries\":245,\"doc.toc.getentry\":246,\"doc.toc.editentry\":247,\"doc.history.get\":248,\"doc.history.undo\":249,\"doc.history.redo\":250,\"doc.create.image\":251,\"doc.images.list\":252,\"doc.images.get\":253,\"doc.images.delete\":254,\"doc.images.move\":255,\"doc.images.converttoinline\":256,\"doc.images.converttofloating\":257,\"doc.images.setsize\":258,\"doc.images.setwraptype\":259,\"doc.images.setwrapside\":260,\"doc.images.setwrapdistances\":261,\"doc.images.setposition\":262,\"doc.images.setanchoroptions\":263,\"doc.images.setzorder\":264,\"doc.images.scale\":265,\"doc.images.setlockaspectratio\":266,\"doc.images.rotate\":267,\"doc.images.flip\":268,\"doc.images.crop\":269,\"doc.images.resetcrop\":270,\"doc.images.replacesource\":271,\"doc.images.setalttext\":272,\"doc.images.setdecorative\":273,\"doc.images.setname\":274,\"doc.images.sethyperlink\":275,\"doc.images.insertcaption\":276,\"doc.images.updatecaption\":277,\"doc.images.removecaption\":278,\"doc.hyperlinks.list\":279,\"doc.hyperlinks.get\":280,\"doc.hyperlinks.wrap\":281,\"doc.hyperlinks.insert\":282,\"doc.hyperlinks.patch\":283,\"doc.hyperlinks.remove\":284,\"doc.headerfooters.list\":285,\"doc.headerfooters.get\":286,\"doc.headerfooters.resolve\":287,\"doc.headerfooters.refs.set\":288,\"doc.headerfooters.refs.clear\":289,\"doc.headerfooters.refs.setlinkedtoprevious\":290,\"doc.headerfooters.parts.list\":291,\"doc.headerfooters.parts.create\":292,\"doc.headerfooters.parts.delete\":293,\"doc.headerfooters.pagenumbers.get\":294,\"doc.headerfooters.pagenumbers.insert\":295,\"doc.headerfooters.pagenumbers.set\":296,\"doc.headerfooters.pagenumbers.remove\":297,\"doc.watermarks.apply\":298,\"doc.watermarks.list\":299,\"doc.watermarks.insert\":300,\"doc.watermarks.replace\":301,\"doc.watermarks.remove\":302,\"doc.create.contentcontrol\":303,\"doc.contentcontrols.list\":304,\"doc.contentcontrols.get\":305,\"doc.contentcontrols.listinrange\":306,\"doc.contentcontrols.selectbytag\":307,\"doc.contentcontrols.selectbytitle\":308,\"doc.contentcontrols.listchildren\":309,\"doc.contentcontrols.getparent\":310,\"doc.contentcontrols.wrap\":311,\"doc.contentcontrols.unwrap\":312,\"doc.contentcontrols.delete\":313,\"doc.contentcontrols.copy\":314,\"doc.contentcontrols.move\":315,\"doc.contentcontrols.patch\":316,\"doc.contentcontrols.setlockmode\":317,\"doc.contentcontrols.settype\":318,\"doc.contentcontrols.getcontent\":319,\"doc.contentcontrols.replacecontent\":320,\"doc.contentcontrols.clearcontent\":321,\"doc.contentcontrols.appendcontent\":322,\"doc.contentcontrols.prependcontent\":323,\"doc.contentcontrols.insertbefore\":324,\"doc.contentcontrols.insertafter\":325,\"doc.contentcontrols.getbinding\":326,\"doc.contentcontrols.setbinding\":327,\"doc.contentcontrols.clearbinding\":328,\"doc.contentcontrols.getrawproperties\":329,\"doc.contentcontrols.patchrawproperties\":330,\"doc.contentcontrols.validatewordcompatibility\":331,\"doc.contentcontrols.normalizewordcompatibility\":332,\"doc.contentcontrols.normalizetagpayload\":333,\"doc.contentcontrols.text.setmultiline\":334,\"doc.contentcontrols.text.setvalue\":335,\"doc.contentcontrols.text.clearvalue\":336,\"doc.contentcontrols.date.setvalue\":337,\"doc.contentcontrols.date.clearvalue\":338,\"doc.contentcontrols.date.setdisplayformat\":339,\"doc.contentcontrols.date.setdisplaylocale\":340,\"doc.contentcontrols.date.setstorageformat\":341,\"doc.contentcontrols.date.setcalendar\":342,\"doc.contentcontrols.checkbox.getstate\":343,\"doc.contentcontrols.checkbox.setstate\":344,\"doc.contentcontrols.checkbox.toggle\":345,\"doc.contentcontrols.checkbox.setsymbolpair\":346,\"doc.contentcontrols.choicelist.getitems\":347,\"doc.contentcontrols.choicelist.setitems\":348,\"doc.contentcontrols.choicelist.setselected\":349,\"doc.contentcontrols.repeatingsection.listitems\":350,\"doc.contentcontrols.repeatingsection.insertitembefore\":351,\"doc.contentcontrols.repeatingsection.insertitemafter\":352,\"doc.contentcontrols.repeatingsection.cloneitem\":353,\"doc.contentcontrols.repeatingsection.deleteitem\":354,\"doc.contentcontrols.repeatingsection.setallowinsertdelete\":355,\"doc.contentcontrols.group.wrap\":356,\"doc.contentcontrols.group.ungroup\":357,\"doc.bookmarks.list\":358,\"doc.bookmarks.get\":359,\"doc.bookmarks.insert\":360,\"doc.bookmarks.rename\":361,\"doc.bookmarks.remove\":362,\"doc.footnotes.list\":363,\"doc.footnotes.get\":364,\"doc.footnotes.insert\":365,\"doc.footnotes.update\":366,\"doc.footnotes.remove\":367,\"doc.footnotes.configure\":368,\"doc.clipboard.parse\":369,\"doc.clipboard.insert\":370,\"doc.clipboard.serializeselection\":371,\"doc.crossrefs.list\":372,\"doc.crossrefs.get\":373,\"doc.crossrefs.insert\":374,\"doc.crossrefs.rebuild\":375,\"doc.crossrefs.remove\":376,\"doc.index.list\":377,\"doc.index.get\":378,\"doc.index.insert\":379,\"doc.index.configure\":380,\"doc.index.rebuild\":381,\"doc.index.remove\":382,\"doc.index.entries.list\":383,\"doc.index.entries.get\":384,\"doc.index.entries.insert\":385,\"doc.index.entries.update\":386,\"doc.index.entries.remove\":387,\"doc.captions.list\":388,\"doc.captions.get\":389,\"doc.captions.insert\":390,\"doc.captions.update\":391,\"doc.captions.remove\":392,\"doc.captions.configure\":393,\"doc.fields.list\":394,\"doc.fields.get\":395,\"doc.fields.insert\":396,\"doc.fields.rebuild\":397,\"doc.fields.remove\":398,\"doc.citations.list\":399,\"doc.citations.get\":400,\"doc.citations.insert\":401,\"doc.citations.update\":402,\"doc.citations.remove\":403,\"doc.citations.sources.list\":404,\"doc.citations.sources.get\":405,\"doc.citations.sources.insert\":406,\"doc.citations.sources.update\":407,\"doc.citations.sources.remove\":408,\"doc.citations.bibliography.get\":409,\"doc.citations.bibliography.insert\":410,\"doc.citations.bibliography.rebuild\":411,\"doc.citations.bibliography.configure\":412,\"doc.citations.bibliography.remove\":413,\"doc.authorities.list\":414,\"doc.authorities.get\":415,\"doc.authorities.insert\":416,\"doc.authorities.configure\":417,\"doc.authorities.rebuild\":418,\"doc.authorities.remove\":419,\"doc.authorities.entries.list\":420,\"doc.authorities.entries.get\":421,\"doc.authorities.entries.insert\":422,\"doc.authorities.entries.update\":423,\"doc.authorities.entries.remove\":424,\"doc.diff.capture\":425,\"doc.diff.compare\":426,\"doc.diff.apply\":427,\"doc.export.todocx\":428,\"doc.protection.get\":429,\"doc.protection.seteditingrestriction\":430,\"doc.protection.cleareditingrestriction\":431,\"doc.permissionranges.list\":432,\"doc.permissionranges.get\":433,\"doc.permissionranges.create\":434,\"doc.permissionranges.remove\":435,\"doc.permissionranges.updateprincipal\":436,\"doc.customxml.parts.list\":437,\"doc.customxml.parts.get\":438,\"doc.customxml.parts.create\":439,\"doc.customxml.parts.patch\":440,\"doc.customxml.parts.remove\":441,\"doc.metadata.attach\":442,\"doc.metadata.list\":443,\"doc.metadata.get\":444,\"doc.metadata.update\":445,\"doc.metadata.remove\":446,\"doc.metadata.resolve\":447,\"doc.open\":448,\"doc.save\":449,\"doc.close\":450,\"doc.inserttab\":451,\"doc.insertlinebreak\":452,\"doc.executecode\":453,\"doc.status\":454,\"doc.discover\":455,\"doc.describe\":456,\"doc.describecommand\":457,\"doc.session.list\":458,\"doc.session.save\":459,\"doc.session.close\":460,\"doc.session.setdefault\":461,\"doc.preset.list\":462,\"doc.preset.getcatalog\":463,\"doc.preset.gettools\":464,\"doc.preset.getsystemprompt\":465,\"doc.preset.getmcpprompt\":466,\"doc.preset.dispatch\":467,\"get\":0,\"find\":1,\"get-node\":2,\"get-node-by-id\":3,\"get-text\":4,\"get-markdown\":5,\"get-html\":6,\"project-markdown\":7,\"project-html\":8,\"markdown-to-fragment\":9,\"html-to-fragment\":10,\"info\":11,\"extract\":12,\"clear-content\":13,\"insert\":14,\"replace\":15,\"delete\":16,\"format-range\":17,\"blocks find-text\":18,\"blocks list\":19,\"blocks delete\":20,\"blocks delete-range\":21,\"blocks split\":22,\"blocks merge\":23,\"blocks move\":24,\"format apply\":25,\"format bold\":26,\"format italic\":27,\"format strike\":28,\"format underline\":29,\"format highlight\":30,\"format color\":31,\"format font-size\":32,\"format font-family\":33,\"format letter-spacing\":34,\"format vert-align\":35,\"format position\":36,\"format dstrike\":37,\"format small-caps\":38,\"format caps\":39,\"format shading\":40,\"format border\":41,\"format outline\":42,\"format shadow\":43,\"format emboss\":44,\"format imprint\":45,\"format char-scale\":46,\"format kerning\":47,\"format vanish\":48,\"format web-hidden\":49,\"format spec-vanish\":50,\"format rtl\":51,\"format cs\":52,\"format b-cs\":53,\"format i-cs\":54,\"format east-asian-layout\":55,\"format em\":56,\"format fit-text\":57,\"format snap-to-grid\":58,\"format lang\":59,\"format o-math\":60,\"format r-style\":61,\"format r-fonts\":62,\"format font-size-cs\":63,\"format ligatures\":64,\"format num-form\":65,\"format num-spacing\":66,\"format stylistic-sets\":67,\"format contextual-alternates\":68,\"format read-selection\":69,\"styles apply\":70,\"styles create\":71,\"styles get-catalog\":72,\"styles get-theme\":73,\"templates apply\":74,\"create paragraph\":75,\"create heading\":76,\"create section-break\":77,\"sections list\":78,\"sections get\":79,\"sections set-break-type\":80,\"sections set-page-margins\":81,\"sections set-header-footer-margins\":82,\"sections set-page-setup\":83,\"sections set-columns\":84,\"sections set-line-numbering\":85,\"sections set-page-numbering\":86,\"sections set-title-page\":87,\"sections set-odd-even-headers-footers\":88,\"sections set-vertical-align\":89,\"sections set-section-direction\":90,\"sections set-header-footer-ref\":91,\"sections clear-header-footer-ref\":92,\"sections set-link-to-previous\":93,\"sections set-page-borders\":94,\"sections clear-page-borders\":95,\"styles paragraph set-style\":96,\"styles paragraph set-style-ref\":97,\"styles paragraph clear-style\":98,\"format paragraph reset-direct-formatting\":99,\"format paragraph set-alignment\":100,\"format paragraph clear-alignment\":101,\"format paragraph set-indentation\":102,\"format paragraph clear-indentation\":103,\"format paragraph set-spacing\":104,\"format paragraph clear-spacing\":105,\"format paragraph set-keep-options\":106,\"format paragraph set-outline-level\":107,\"format paragraph set-flow-options\":108,\"format paragraph set-tab-stop\":109,\"format paragraph clear-tab-stop\":110,\"format paragraph clear-all-tab-stops\":111,\"format paragraph set-border\":112,\"format paragraph clear-border\":113,\"format paragraph set-shading\":114,\"format paragraph clear-shading\":115,\"format paragraph set-mark-run-props\":116,\"format paragraph set-direction\":117,\"format paragraph clear-direction\":118,\"format paragraph set-numbering\":119,\"lists list\":120,\"lists get\":121,\"lists insert\":122,\"lists create\":123,\"lists attach\":124,\"lists detach\":125,\"lists delete\":126,\"lists indent\":127,\"lists outdent\":128,\"lists join\":129,\"lists can-join\":130,\"lists separate\":131,\"lists merge\":132,\"lists split\":133,\"lists set-level\":134,\"lists set-value\":135,\"lists continue-previous\":136,\"lists can-continue-previous\":137,\"lists set-level-restart\":138,\"lists convert-to-text\":139,\"lists apply-template\":140,\"lists apply-preset\":141,\"lists set-type\":142,\"lists capture-template\":143,\"lists set-level-numbering\":144,\"lists set-level-bullet\":145,\"lists set-level-picture-bullet\":146,\"lists set-level-alignment\":147,\"lists set-level-indents\":148,\"lists set-level-trailing-character\":149,\"lists set-level-marker-font\":150,\"lists clear-level-overrides\":151,\"lists get-style\":152,\"lists apply-style\":153,\"lists restart-at\":154,\"lists set-level-number-style\":155,\"lists set-level-text\":156,\"lists set-level-start\":157,\"lists set-level-layout\":158,\"lists get-state\":159,\"lists apply\":160,\"lists continue\":161,\"lists restart\":162,\"lists remove\":163,\"comments create\":164,\"comments patch\":165,\"comments delete\":166,\"comments get\":167,\"comments list\":168,\"track-changes list\":169,\"track-changes get\":170,\"track-changes decide\":171,\"query match\":172,\"ranges resolve\":173,\"selection current\":174,\"selection release-snapshot\":175,\"selection extract-ooxml\":176,\"mutations begin-temporary\":177,\"mutations replace-temporary\":178,\"mutations rollback-temporary\":179,\"mutations commit-temporary\":180,\"mutations preview\":181,\"mutations apply\":182,\"plan execute\":183,\"capabilities\":184,\"capabilities check\":185,\"capabilities resolve\":186,\"create table\":187,\"tables convert-from-text\":188,\"tables delete\":189,\"tables clear-contents\":190,\"tables move\":191,\"tables split\":192,\"tables convert-to-text\":193,\"tables set-layout\":194,\"tables insert-row\":195,\"tables delete-row\":196,\"tables move-row\":197,\"tables set-row-height\":198,\"tables distribute-rows\":199,\"tables set-row-options\":200,\"tables insert-column\":201,\"tables delete-column\":202,\"tables move-column\":203,\"tables set-column-width\":204,\"tables distribute-columns\":205,\"tables insert-cell\":206,\"tables delete-cell\":207,\"tables merge-cells\":208,\"tables unmerge-cells\":209,\"tables split-cell\":210,\"tables set-cell-properties\":211,\"tables set-cell-text\":212,\"tables sort\":213,\"tables set-alt-text\":214,\"tables set-style\":215,\"tables clear-style\":216,\"tables set-style-option\":217,\"tables set-border\":218,\"tables clear-border\":219,\"tables apply-border-preset\":220,\"tables set-shading\":221,\"tables clear-shading\":222,\"tables set-table-padding\":223,\"tables set-cell-padding\":224,\"tables set-cell-spacing\":225,\"tables clear-cell-spacing\":226,\"tables apply-style\":227,\"tables set-borders\":228,\"tables set-table-options\":229,\"tables apply-preset\":230,\"tables get\":231,\"tables get-cells\":232,\"tables get-properties\":233,\"tables get-styles\":234,\"tables set-default-style\":235,\"tables clear-default-style\":236,\"create table-of-contents\":237,\"toc list\":238,\"toc get\":239,\"toc configure\":240,\"toc update\":241,\"toc remove\":242,\"toc mark-entry\":243,\"toc unmark-entry\":244,\"toc list-entries\":245,\"toc get-entry\":246,\"toc edit-entry\":247,\"history get\":248,\"history undo\":249,\"history redo\":250,\"create image\":251,\"images list\":252,\"images get\":253,\"images delete\":254,\"images move\":255,\"images convert-to-inline\":256,\"images convert-to-floating\":257,\"images set-size\":258,\"images set-wrap-type\":259,\"images set-wrap-side\":260,\"images set-wrap-distances\":261,\"images set-position\":262,\"images set-anchor-options\":263,\"images set-z-order\":264,\"images scale\":265,\"images set-lock-aspect-ratio\":266,\"images rotate\":267,\"images flip\":268,\"images crop\":269,\"images reset-crop\":270,\"images replace-source\":271,\"images set-alt-text\":272,\"images set-decorative\":273,\"images set-name\":274,\"images set-hyperlink\":275,\"images insert-caption\":276,\"images update-caption\":277,\"images remove-caption\":278,\"hyperlinks list\":279,\"hyperlinks get\":280,\"hyperlinks wrap\":281,\"hyperlinks insert\":282,\"hyperlinks patch\":283,\"hyperlinks remove\":284,\"header-footers list\":285,\"header-footers get\":286,\"header-footers resolve\":287,\"header-footers refs set\":288,\"header-footers refs clear\":289,\"header-footers refs set-linked-to-previous\":290,\"header-footers parts list\":291,\"header-footers parts create\":292,\"header-footers parts delete\":293,\"header-footers page-numbers get\":294,\"header-footers page-numbers insert\":295,\"header-footers page-numbers set\":296,\"header-footers page-numbers remove\":297,\"watermarks apply\":298,\"watermarks list\":299,\"watermarks insert\":300,\"watermarks replace\":301,\"watermarks remove\":302,\"create content-control\":303,\"content-controls list\":304,\"content-controls get\":305,\"content-controls list-in-range\":306,\"content-controls select-by-tag\":307,\"content-controls select-by-title\":308,\"content-controls list-children\":309,\"content-controls get-parent\":310,\"content-controls wrap\":311,\"content-controls unwrap\":312,\"content-controls delete\":313,\"content-controls copy\":314,\"content-controls move\":315,\"content-controls patch\":316,\"content-controls set-lock-mode\":317,\"content-controls set-type\":318,\"content-controls get-content\":319,\"content-controls replace-content\":320,\"content-controls clear-content\":321,\"content-controls append-content\":322,\"content-controls prepend-content\":323,\"content-controls insert-before\":324,\"content-controls insert-after\":325,\"content-controls get-binding\":326,\"content-controls set-binding\":327,\"content-controls clear-binding\":328,\"content-controls get-raw-properties\":329,\"content-controls patch-raw-properties\":330,\"content-controls validate-word-compatibility\":331,\"content-controls normalize-word-compatibility\":332,\"content-controls normalize-tag-payload\":333,\"content-controls text set-multiline\":334,\"content-controls text set-value\":335,\"content-controls text clear-value\":336,\"content-controls date set-value\":337,\"content-controls date clear-value\":338,\"content-controls date set-display-format\":339,\"content-controls date set-display-locale\":340,\"content-controls date set-storage-format\":341,\"content-controls date set-calendar\":342,\"content-controls checkbox get-state\":343,\"content-controls checkbox set-state\":344,\"content-controls checkbox toggle\":345,\"content-controls checkbox set-symbol-pair\":346,\"content-controls choice-list get-items\":347,\"content-controls choice-list set-items\":348,\"content-controls choice-list set-selected\":349,\"content-controls repeating-section list-items\":350,\"content-controls repeating-section insert-item-before\":351,\"content-controls repeating-section insert-item-after\":352,\"content-controls repeating-section clone-item\":353,\"content-controls repeating-section delete-item\":354,\"content-controls repeating-section set-allow-insert-delete\":355,\"content-controls group wrap\":356,\"content-controls group ungroup\":357,\"bookmarks list\":358,\"bookmarks get\":359,\"bookmarks insert\":360,\"bookmarks rename\":361,\"bookmarks remove\":362,\"footnotes list\":363,\"footnotes get\":364,\"footnotes insert\":365,\"footnotes update\":366,\"footnotes remove\":367,\"footnotes configure\":368,\"clipboard parse\":369,\"clipboard insert\":370,\"clipboard serialize-selection\":371,\"cross-refs list\":372,\"cross-refs get\":373,\"cross-refs insert\":374,\"cross-refs rebuild\":375,\"cross-refs remove\":376,\"index list\":377,\"index get\":378,\"index insert\":379,\"index configure\":380,\"index rebuild\":381,\"index remove\":382,\"index entries list\":383,\"index entries get\":384,\"index entries insert\":385,\"index entries update\":386,\"index entries remove\":387,\"captions list\":388,\"captions get\":389,\"captions insert\":390,\"captions update\":391,\"captions remove\":392,\"captions configure\":393,\"fields list\":394,\"fields get\":395,\"fields insert\":396,\"fields rebuild\":397,\"fields remove\":398,\"citations list\":399,\"citations get\":400,\"citations insert\":401,\"citations update\":402,\"citations remove\":403,\"citations sources list\":404,\"citations sources get\":405,\"citations sources insert\":406,\"citations sources update\":407,\"citations sources remove\":408,\"citations bibliography get\":409,\"citations bibliography insert\":410,\"citations bibliography rebuild\":411,\"citations bibliography configure\":412,\"citations bibliography remove\":413,\"authorities list\":414,\"authorities get\":415,\"authorities insert\":416,\"authorities configure\":417,\"authorities rebuild\":418,\"authorities remove\":419,\"authorities entries list\":420,\"authorities entries get\":421,\"authorities entries insert\":422,\"authorities entries update\":423,\"authorities entries remove\":424,\"diff capture\":425,\"diff compare\":426,\"diff apply\":427,\"export to-docx\":428,\"protection get\":429,\"protection set-editing-restriction\":430,\"protection clear-editing-restriction\":431,\"permission-ranges list\":432,\"permission-ranges get\":433,\"permission-ranges create\":434,\"permission-ranges remove\":435,\"permission-ranges update-principal\":436,\"custom-xml parts list\":437,\"custom-xml parts get\":438,\"custom-xml parts create\":439,\"custom-xml parts patch\":440,\"custom-xml parts remove\":441,\"metadata attach\":442,\"metadata list\":443,\"metadata get\":444,\"metadata update\":445,\"metadata remove\":446,\"metadata resolve\":447,\"open\":448,\"save\":449,\"close\":450,\"insert tab\":451,\"insert line-break\":452,\"execute code\":453,\"status\":454,\"discover\":455,\"describe\":456,\"describe command\":457,\"session list\":458,\"session save\":459,\"session close\":460,\"session set-default\":461,\"preset list\":462,\"preset get-catalog\":463,\"preset get-tools\":464,\"preset get-system-prompt\":465,\"preset get-mcp-prompt\":466,\"preset dispatch\":467,\"lists exit\":468,\"format strikethrough\":469,\"track-changes accept\":470,\"track-changes reject\":471,\"track-changes accept-all\":472,\"track-changes reject-all\":473,\"comments add\":474,\"comments reply\":475,\"comments edit\":476,\"comments move\":477,\"comments resolve\":478,\"comments remove\":479,\"comments set-internal\":480,\"session use\":461,\"getnode\":2,\"getnodebyid\":3,\"gettext\":4,\"getmarkdown\":5,\"gethtml\":6,\"projectmarkdown\":7,\"projecthtml\":8,\"markdowntofragment\":9,\"htmltofragment\":10,\"clearcontent\":13,\"formatrange\":17,\"blocks.findtext\":18,\"blocks.list\":19,\"blocks.delete\":20,\"blocks.deleterange\":21,\"blocks.split\":22,\"blocks.merge\":23,\"blocks.move\":24,\"format.apply\":25,\"format.bold\":26,\"format.italic\":27,\"format.strike\":28,\"format.underline\":29,\"format.highlight\":30,\"format.color\":31,\"format.fontsize\":32,\"format.fontfamily\":33,\"format.letterspacing\":34,\"format.vertalign\":35,\"format.position\":36,\"format.dstrike\":37,\"format.smallcaps\":38,\"format.caps\":39,\"format.shading\":40,\"format.border\":41,\"format.outline\":42,\"format.shadow\":43,\"format.emboss\":44,\"format.imprint\":45,\"format.charscale\":46,\"format.kerning\":47,\"format.vanish\":48,\"format.webhidden\":49,\"format.specvanish\":50,\"format.rtl\":51,\"format.cs\":52,\"format.bcs\":53,\"format.ics\":54,\"format.eastasianlayout\":55,\"format.em\":56,\"format.fittext\":57,\"format.snaptogrid\":58,\"format.lang\":59,\"format.omath\":60,\"format.rstyle\":61,\"format.rfonts\":62,\"format.fontsizecs\":63,\"format.ligatures\":64,\"format.numform\":65,\"format.numspacing\":66,\"format.stylisticsets\":67,\"format.contextualalternates\":68,\"format.readselection\":69,\"styles.apply\":70,\"styles.create\":71,\"styles.getcatalog\":72,\"styles.gettheme\":73,\"templates.apply\":74,\"create.paragraph\":75,\"create.heading\":76,\"create.sectionbreak\":77,\"sections.list\":78,\"sections.get\":79,\"sections.setbreaktype\":80,\"sections.setpagemargins\":81,\"sections.setheaderfootermargins\":82,\"sections.setpagesetup\":83,\"sections.setcolumns\":84,\"sections.setlinenumbering\":85,\"sections.setpagenumbering\":86,\"sections.settitlepage\":87,\"sections.setoddevenheadersfooters\":88,\"sections.setverticalalign\":89,\"sections.setsectiondirection\":90,\"sections.setheaderfooterref\":91,\"sections.clearheaderfooterref\":92,\"sections.setlinktoprevious\":93,\"sections.setpageborders\":94,\"sections.clearpageborders\":95,\"styles.paragraph.setstyle\":96,\"styles.paragraph.setstyleref\":97,\"styles.paragraph.clearstyle\":98,\"format.paragraph.resetdirectformatting\":99,\"format.paragraph.setalignment\":100,\"format.paragraph.clearalignment\":101,\"format.paragraph.setindentation\":102,\"format.paragraph.clearindentation\":103,\"format.paragraph.setspacing\":104,\"format.paragraph.clearspacing\":105,\"format.paragraph.setkeepoptions\":106,\"format.paragraph.setoutlinelevel\":107,\"format.paragraph.setflowoptions\":108,\"format.paragraph.settabstop\":109,\"format.paragraph.cleartabstop\":110,\"format.paragraph.clearalltabstops\":111,\"format.paragraph.setborder\":112,\"format.paragraph.clearborder\":113,\"format.paragraph.setshading\":114,\"format.paragraph.clearshading\":115,\"format.paragraph.setmarkrunprops\":116,\"format.paragraph.setdirection\":117,\"format.paragraph.cleardirection\":118,\"format.paragraph.setnumbering\":119,\"lists.list\":120,\"lists.get\":121,\"lists.insert\":122,\"lists.create\":123,\"lists.attach\":124,\"lists.detach\":125,\"lists.delete\":126,\"lists.indent\":127,\"lists.outdent\":128,\"lists.join\":129,\"lists.canjoin\":130,\"lists.separate\":131,\"lists.merge\":132,\"lists.split\":133,\"lists.setlevel\":134,\"lists.setvalue\":135,\"lists.continueprevious\":136,\"lists.cancontinueprevious\":137,\"lists.setlevelrestart\":138,\"lists.converttotext\":139,\"lists.applytemplate\":140,\"lists.applypreset\":141,\"lists.settype\":142,\"lists.capturetemplate\":143,\"lists.setlevelnumbering\":144,\"lists.setlevelbullet\":145,\"lists.setlevelpicturebullet\":146,\"lists.setlevelalignment\":147,\"lists.setlevelindents\":148,\"lists.setleveltrailingcharacter\":149,\"lists.setlevelmarkerfont\":150,\"lists.clearleveloverrides\":151,\"lists.getstyle\":152,\"lists.applystyle\":153,\"lists.restartat\":154,\"lists.setlevelnumberstyle\":155,\"lists.setleveltext\":156,\"lists.setlevelstart\":157,\"lists.setlevellayout\":158,\"lists.getstate\":159,\"lists.apply\":160,\"lists.continue\":161,\"lists.restart\":162,\"lists.remove\":163,\"comments.create\":164,\"comments.patch\":165,\"comments.delete\":166,\"comments.get\":167,\"comments.list\":168,\"trackchanges.list\":169,\"trackchanges.get\":170,\"trackchanges.decide\":171,\"query.match\":172,\"ranges.resolve\":173,\"selection.current\":174,\"selection.releasesnapshot\":175,\"selection.extractooxml\":176,\"mutations.begintemporary\":177,\"mutations.replacetemporary\":178,\"mutations.rollbacktemporary\":179,\"mutations.committemporary\":180,\"mutations.preview\":181,\"mutations.apply\":182,\"plan.execute\":183,\"capabilities.get\":184,\"capabilities.check\":185,\"capabilities.resolve\":186,\"create.table\":187,\"tables.convertfromtext\":188,\"tables.delete\":189,\"tables.clearcontents\":190,\"tables.move\":191,\"tables.split\":192,\"tables.converttotext\":193,\"tables.setlayout\":194,\"tables.insertrow\":195,\"tables.deleterow\":196,\"tables.moverow\":197,\"tables.setrowheight\":198,\"tables.distributerows\":199,\"tables.setrowoptions\":200,\"tables.insertcolumn\":201,\"tables.deletecolumn\":202,\"tables.movecolumn\":203,\"tables.setcolumnwidth\":204,\"tables.distributecolumns\":205,\"tables.insertcell\":206,\"tables.deletecell\":207,\"tables.mergecells\":208,\"tables.unmergecells\":209,\"tables.splitcell\":210,\"tables.setcellproperties\":211,\"tables.setcelltext\":212,\"tables.sort\":213,\"tables.setalttext\":214,\"tables.setstyle\":215,\"tables.clearstyle\":216,\"tables.setstyleoption\":217,\"tables.setborder\":218,\"tables.clearborder\":219,\"tables.applyborderpreset\":220,\"tables.setshading\":221,\"tables.clearshading\":222,\"tables.settablepadding\":223,\"tables.setcellpadding\":224,\"tables.setcellspacing\":225,\"tables.clearcellspacing\":226,\"tables.applystyle\":227,\"tables.setborders\":228,\"tables.settableoptions\":229,\"tables.applypreset\":230,\"tables.get\":231,\"tables.getcells\":232,\"tables.getproperties\":233,\"tables.getstyles\":234,\"tables.setdefaultstyle\":235,\"tables.cleardefaultstyle\":236,\"create.tableofcontents\":237,\"toc.list\":238,\"toc.get\":239,\"toc.configure\":240,\"toc.update\":241,\"toc.remove\":242,\"toc.markentry\":243,\"toc.unmarkentry\":244,\"toc.listentries\":245,\"toc.getentry\":246,\"toc.editentry\":247,\"history.get\":248,\"history.undo\":249,\"history.redo\":250,\"create.image\":251,\"images.list\":252,\"images.get\":253,\"images.delete\":254,\"images.move\":255,\"images.converttoinline\":256,\"images.converttofloating\":257,\"images.setsize\":258,\"images.setwraptype\":259,\"images.setwrapside\":260,\"images.setwrapdistances\":261,\"images.setposition\":262,\"images.setanchoroptions\":263,\"images.setzorder\":264,\"images.scale\":265,\"images.setlockaspectratio\":266,\"images.rotate\":267,\"images.flip\":268,\"images.crop\":269,\"images.resetcrop\":270,\"images.replacesource\":271,\"images.setalttext\":272,\"images.setdecorative\":273,\"images.setname\":274,\"images.sethyperlink\":275,\"images.insertcaption\":276,\"images.updatecaption\":277,\"images.removecaption\":278,\"hyperlinks.list\":279,\"hyperlinks.get\":280,\"hyperlinks.wrap\":281,\"hyperlinks.insert\":282,\"hyperlinks.patch\":283,\"hyperlinks.remove\":284,\"headerfooters.list\":285,\"headerfooters.get\":286,\"headerfooters.resolve\":287,\"headerfooters.refs.set\":288,\"headerfooters.refs.clear\":289,\"headerfooters.refs.setlinkedtoprevious\":290,\"headerfooters.parts.list\":291,\"headerfooters.parts.create\":292,\"headerfooters.parts.delete\":293,\"headerfooters.pagenumbers.get\":294,\"headerfooters.pagenumbers.insert\":295,\"headerfooters.pagenumbers.set\":296,\"headerfooters.pagenumbers.remove\":297,\"watermarks.apply\":298,\"watermarks.list\":299,\"watermarks.insert\":300,\"watermarks.replace\":301,\"watermarks.remove\":302,\"create.contentcontrol\":303,\"contentcontrols.list\":304,\"contentcontrols.get\":305,\"contentcontrols.listinrange\":306,\"contentcontrols.selectbytag\":307,\"contentcontrols.selectbytitle\":308,\"contentcontrols.listchildren\":309,\"contentcontrols.getparent\":310,\"contentcontrols.wrap\":311,\"contentcontrols.unwrap\":312,\"contentcontrols.delete\":313,\"contentcontrols.copy\":314,\"contentcontrols.move\":315,\"contentcontrols.patch\":316,\"contentcontrols.setlockmode\":317,\"contentcontrols.settype\":318,\"contentcontrols.getcontent\":319,\"contentcontrols.replacecontent\":320,\"contentcontrols.clearcontent\":321,\"contentcontrols.appendcontent\":322,\"contentcontrols.prependcontent\":323,\"contentcontrols.insertbefore\":324,\"contentcontrols.insertafter\":325,\"contentcontrols.getbinding\":326,\"contentcontrols.setbinding\":327,\"contentcontrols.clearbinding\":328,\"contentcontrols.getrawproperties\":329,\"contentcontrols.patchrawproperties\":330,\"contentcontrols.validatewordcompatibility\":331,\"contentcontrols.normalizewordcompatibility\":332,\"contentcontrols.normalizetagpayload\":333,\"contentcontrols.text.setmultiline\":334,\"contentcontrols.text.setvalue\":335,\"contentcontrols.text.clearvalue\":336,\"contentcontrols.date.setvalue\":337,\"contentcontrols.date.clearvalue\":338,\"contentcontrols.date.setdisplayformat\":339,\"contentcontrols.date.setdisplaylocale\":340,\"contentcontrols.date.setstorageformat\":341,\"contentcontrols.date.setcalendar\":342,\"contentcontrols.checkbox.getstate\":343,\"contentcontrols.checkbox.setstate\":344,\"contentcontrols.checkbox.toggle\":345,\"contentcontrols.checkbox.setsymbolpair\":346,\"contentcontrols.choicelist.getitems\":347,\"contentcontrols.choicelist.setitems\":348,\"contentcontrols.choicelist.setselected\":349,\"contentcontrols.repeatingsection.listitems\":350,\"contentcontrols.repeatingsection.insertitembefore\":351,\"contentcontrols.repeatingsection.insertitemafter\":352,\"contentcontrols.repeatingsection.cloneitem\":353,\"contentcontrols.repeatingsection.deleteitem\":354,\"contentcontrols.repeatingsection.setallowinsertdelete\":355,\"contentcontrols.group.wrap\":356,\"contentcontrols.group.ungroup\":357,\"bookmarks.list\":358,\"bookmarks.get\":359,\"bookmarks.insert\":360,\"bookmarks.rename\":361,\"bookmarks.remove\":362,\"footnotes.list\":363,\"footnotes.get\":364,\"footnotes.insert\":365,\"footnotes.update\":366,\"footnotes.remove\":367,\"footnotes.configure\":368,\"clipboard.parse\":369,\"clipboard.insert\":370,\"clipboard.serializeselection\":371,\"crossrefs.list\":372,\"crossrefs.get\":373,\"crossrefs.insert\":374,\"crossrefs.rebuild\":375,\"crossrefs.remove\":376,\"index.list\":377,\"index.get\":378,\"index.insert\":379,\"index.configure\":380,\"index.rebuild\":381,\"index.remove\":382,\"index.entries.list\":383,\"index.entries.get\":384,\"index.entries.insert\":385,\"index.entries.update\":386,\"index.entries.remove\":387,\"captions.list\":388,\"captions.get\":389,\"captions.insert\":390,\"captions.update\":391,\"captions.remove\":392,\"captions.configure\":393,\"fields.list\":394,\"fields.get\":395,\"fields.insert\":396,\"fields.rebuild\":397,\"fields.remove\":398,\"citations.list\":399,\"citations.get\":400,\"citations.insert\":401,\"citations.update\":402,\"citations.remove\":403,\"citations.sources.list\":404,\"citations.sources.get\":405,\"citations.sources.insert\":406,\"citations.sources.update\":407,\"citations.sources.remove\":408,\"citations.bibliography.get\":409,\"citations.bibliography.insert\":410,\"citations.bibliography.rebuild\":411,\"citations.bibliography.configure\":412,\"citations.bibliography.remove\":413,\"authorities.list\":414,\"authorities.get\":415,\"authorities.insert\":416,\"authorities.configure\":417,\"authorities.rebuild\":418,\"authorities.remove\":419,\"authorities.entries.list\":420,\"authorities.entries.get\":421,\"authorities.entries.insert\":422,\"authorities.entries.update\":423,\"authorities.entries.remove\":424,\"diff.capture\":425,\"diff.compare\":426,\"diff.apply\":427,\"export.todocx\":428,\"protection.get\":429,\"protection.seteditingrestriction\":430,\"protection.cleareditingrestriction\":431,\"permissionranges.list\":432,\"permissionranges.get\":433,\"permissionranges.create\":434,\"permissionranges.remove\":435,\"permissionranges.updateprincipal\":436,\"customxml.parts.list\":437,\"customxml.parts.get\":438,\"customxml.parts.create\":439,\"customxml.parts.patch\":440,\"customxml.parts.remove\":441,\"metadata.attach\":442,\"metadata.list\":443,\"metadata.get\":444,\"metadata.update\":445,\"metadata.remove\":446,\"metadata.resolve\":447,\"inserttab\":451,\"insertlinebreak\":452,\"executecode\":453,\"describecommand\":457,\"session.list\":458,\"session.save\":459,\"session.close\":460,\"session.setdefault\":461,\"preset.list\":462,\"preset.getcatalog\":463,\"preset.gettools\":464,\"preset.getsystemprompt\":465,\"preset.getmcpprompt\":466,\"preset.dispatch\":467}},\"intentGroupMeta\":{\"search\":{\"toolName\":\"superdoc_search\",\"description\":\"Find text patterns or nodes in the document and get ref handles for targeting edits and formatting. Refs expire after any mutation that changes the document. Re-search before the next edit when using individual tools (superdoc_edit, superdoc_format). Within a superdoc_mutations batch, selectors in \\\"where\\\" clauses resolve automatically at compile time; no manual re-searching needed between steps. Text search returns handle.ref covering only the matched substring. Node search finds blocks by type (paragraph, heading, table, listItem, etc.). The \\\"require\\\" parameter controls match cardinality: \\\"first\\\" returns one match, \\\"last\\\" returns the final match (without limit/offset), \\\"all\\\" returns every match, \\\"exactlyOne\\\" fails if not exactly one match. Supports scoping via \\\"within\\\" to search inside a single block. Patterns are plain text by default; pass select.mode: \\\"regex\\\" for regular-expression search (g/gi semantics, 1024-char cap, no wholeWord, capture groups returned on matches). Invalid or unsafe patterns fail with INVALID_INPUT. Do NOT use markdown formatting markers (#, **, etc.) in search patterns. Do NOT use this tool when you already have a ref from superdoc_get_content blocks or superdoc_create; use that ref directly.\",\"inputExamples\":[{\"select\":{\"type\":\"text\",\"pattern\":\"Introduction\"},\"require\":\"first\"},{\"select\":{\"type\":\"text\",\"pattern\":\"total amount\"},\"require\":\"all\"},{\"select\":{\"type\":\"node\",\"nodeType\":\"heading\"},\"require\":\"all\"},{\"select\":{\"type\":\"text\",\"pattern\":\"contract\"},\"within\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"abc123\"},\"require\":\"first\"}]},\"get_content\":{\"toolName\":\"superdoc_get_content\",\"description\":\"Read document content in various formats. Call this first in any workflow to understand document structure before making edits. Action \\\"blocks\\\" returns structured block data with nodeId, nodeType, textPreview, optional full text when includeText:true, formatting properties (fontFamily, fontSize, color, bold, underline, alignment), and ref handles for immediate use with superdoc_edit or superdoc_format. Paragraph-class blocks include tabCount, the number of U+0009 tabs in the complete text even if the 80-character preview trims or truncates them. If tabCount is positive, read includeText:true before editing; do not treat a preview space as proof that there is no tab. Its optional reviewMode selects final, original, or redline numbering metadata without filtering blocks. When you need to evaluate or rewrite existing paragraphs or clauses, prefer action \\\"blocks\\\" with includeText:true so you can identify the correct block and then target it by nodeId. Actions \\\"text\\\", \\\"markdown\\\", and \\\"html\\\" return compact strings. Actions \\\"markdown_projection\\\" and \\\"html_projection\\\" return detailed async projections with review modes, scopes, diagnostics, annotations, block maps, and optional source maps. Projection source targets use tracked coordinates and are valid only at evaluatedRevision; after any mutation, reproject before using them. Treat omitted or partially emitted annotations according to their status instead of guessing an anchor from rendered text. Action \\\"info\\\" returns document metadata: word count, paragraph count, page count, outline, available styles, and capability flags. The \\\"blocks\\\" action supports pagination via \\\"offset\\\" and \\\"limit\\\", filtering via \\\"nodeTypes\\\", and numbering projection via \\\"reviewMode\\\". Other actions ignore pagination and filtering parameters. This tool never modifies the document. Do NOT call superdoc_edit or superdoc_format without first reading blocks to get valid refs and formatting reference values.\",\"inputExamples\":[{\"action\":\"blocks\"},{\"action\":\"blocks\",\"includeText\":true,\"offset\":0,\"limit\":20,\"reviewMode\":\"final\"},{\"action\":\"blocks\",\"offset\":0,\"limit\":20,\"nodeTypes\":[\"heading\",\"paragraph\"]},{\"action\":\"text\"},{\"action\":\"info\"},{\"action\":\"html_projection\",\"reviewMode\":\"redline\",\"includeSourceMap\":true},{\"action\":\"markdown_projection\",\"reviewMode\":\"original\",\"scope\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"paragraph-id\"},\"includeSourceMap\":true}]},\"edit\":{\"toolName\":\"superdoc_edit\",\"description\":\"The primary tool for inserting content into documents. ALWAYS use action \\\"insert\\\" with type \\\"markdown\\\" to create headings, paragraphs, or any block content: this is faster and creates proper document structure in one call. Do NOT use superdoc_create for headings or paragraphs. The markdown parser creates headings from # markers (# = Heading1, ## = Heading2), bold from **text**, italic from *text*, and numbered/bullet lists. Position markdown inserts with \\\"target\\\" (a BlockNodeAddress like {kind:\\\"block\\\", nodeType, nodeId}) and \\\"placement\\\" (before, after, insideStart, insideEnd). Without a target, content appends at the end of the document. IMPORTANT: After a markdown insert, analyze the document context (what kind of document, how titles and body text are styled) and follow up with ONE superdoc_mutations call to format inserted blocks so they look like they belong. Each format.apply step accepts \\\"inline\\\" (fontFamily, fontSize, bold, underline, color), \\\"alignment\\\", and \\\"scope\\\" in the same step. Use scope: \\\"block\\\" so formatting covers the entire paragraph. Copy the exact property values from the existing get_content blocks (fontFamily, fontSize, color, alignment, bold, underline). Do NOT invent values: use what the blocks show. Also supports replace, delete, and undo/redo. For ordinary replace and delete, pass a \\\"ref\\\" from superdoc_search or superdoc_get_content blocks. Action \\\"delete\\\" removes a text range and leaves the block container in place. To remove a whole paragraph, heading, list item, or table, use action \\\"delete_block\\\" with target:{kind:\\\"block\\\", nodeType, nodeId} from superdoc_get_content action \\\"blocks\\\", or action \\\"delete_block_range\\\" with \\\"start\\\" and \\\"end\\\" block addresses to remove a contiguous span of top-level blocks (inclusive). A search ref covers only the matched substring; a block ref covers the entire block text, so use block refs when rewriting or shortening whole paragraphs. To replace every block in the main body, use action \\\"replace\\\" with target:{kind:\\\"story\\\",storyType:\\\"body\\\"}, one text/value/content payload, and changeMode:\\\"direct\\\". This replaces body content, not the DOCX package, and does not require a search first. Tracked whole-body replacement is unsupported. For multi-step redlines or whole-clause rewrites, prefer superdoc_mutations with where:{by:\\\"block\\\", nodeType, nodeId} from superdoc_get_content action \\\"blocks\\\" includeText:true rather than relying on text selectors. Refs expire after any mutation; always re-search before the next edit. For 2+ edits that must succeed or fail atomically, use superdoc_mutations instead. Before an exact HTML or Markdown insert/replace that must be fidelity-checked, use action \\\"check_support\\\", review its outcome and diagnostics, then pass its guard back as \\\"supportCheck\\\" on the unchanged write. Supports \\\"dryRun\\\" to preview changes and \\\"changeMode: tracked\\\" to record edits as tracked changes. Do NOT build \\\"target\\\" objects manually when a ref is available; prefer \\\"ref\\\" for simpler, more reliable targeting.\",\"inputExamples\":[{\"action\":\"insert\",\"type\":\"markdown\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"placement\":\"before\",\"value\":\"# Executive Summary\\n\\nThis agreement sets forth the principal terms...\",\"changeMode\":\"direct\"},{\"action\":\"insert\",\"type\":\"html\",\"value\":\"<h2>Review heading</h2><p>Tracked rich content.</p>\",\"changeMode\":\"tracked\"},{\"action\":\"insert\",\"type\":\"markdown\",\"value\":\"# Section Title\\n\\nParagraph content here.\\n\\n# Another Section\\n\\nMore content with **bold** and *italic*.\"},{\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"text\":\"new text here\"},{\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"value\":\"**Direct rich replacement**\",\"type\":\"markdown\",\"changeMode\":\"direct\"},{\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"value\":\"<strong>Tracked rich replacement</strong>\",\"type\":\"html\",\"changeMode\":\"tracked\"},{\"action\":\"check_support\",\"operation\":\"insert\",\"input\":{\"type\":\"markdown\",\"value\":\"# Checked section\"},\"options\":{\"changeMode\":\"direct\"}},{\"action\":\"replace\",\"target\":{\"kind\":\"story\",\"storyType\":\"body\"},\"value\":\"# Replacement\\n\\nComplete new body.\",\"type\":\"markdown\",\"changeMode\":\"direct\"},{\"action\":\"delete\",\"ref\":\"<handle.ref>\"},{\"action\":\"delete_block\",\"target\":{\"kind\":\"block\",\"nodeType\":\"heading\",\"nodeId\":\"<nodeId>\"}},{\"action\":\"undo\"}]},\"create\":{\"toolName\":\"superdoc_create\",\"description\":\"IMPORTANT: For headings and paragraphs, use superdoc_edit with type \\\"markdown\\\" instead: it is faster, creates proper styles, and handles positioning via target + placement. Only use superdoc_create for tables or when markdown cannot express the content. Creates a single paragraph, heading, or table. Returns nodeId, an opaque handle.ref for the created block, and evaluatedRevision. handle.ref works directly with superdoc_format (pass expectedRevision as evaluatedRevision to avoid REVISION_MISMATCH) and already carries its story, including for a header/footer block \u{2014} no need to pass story separately. It is valid for ONE immediate follow-up call only; for anything after that, re-fetch blocks with superdoc_get_content to get a fresh ref. If \\\"text\\\" is empty, handle.ref spans no characters and cannot be used with superdoc_format action \\\"inline\\\" (it needs at least one character); use a block target with nodeId for paragraph-level actions like set_style or set_alignment instead. When the user asks for a \\\"heading\\\", use action \\\"heading\\\" with a level (default 1). Use action \\\"paragraph\\\" for regular body text. Position with \\\"at\\\": {kind:\\\"documentEnd\\\"} (default), {kind:\\\"documentStart\\\"}, or {kind:\\\"after\\\"/\\\"before\\\", target:{kind:\\\"block\\\", nodeType, nodeId}} for relative placement. When creating multiple items in sequence, use the previous response nodeId as the next \\\"at\\\" target to maintain correct ordering. Do NOT use newlines in \\\"text\\\" to create multiple paragraphs; call this tool separately for each one.\",\"inputExamples\":[{\"action\":\"paragraph\",\"text\":\"New paragraph content.\",\"at\":{\"kind\":\"documentEnd\"}},{\"action\":\"heading\",\"text\":\"Section Title\",\"level\":2,\"at\":{\"kind\":\"after\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"}}},{\"action\":\"paragraph\",\"text\":\"Chained item.\",\"at\":{\"kind\":\"after\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<previousNodeId>\"}}},{\"action\":\"table\",\"rows\":3,\"columns\":4,\"at\":{\"kind\":\"documentEnd\"}}]},\"format\":{\"toolName\":\"superdoc_format\",\"description\":\"Change text and paragraph formatting. To format multiple items at once, use superdoc_mutations with format.apply steps instead of calling this tool repeatedly. Use require \\\"all\\\" with a node selector to format every heading or paragraph in one batch. Use this tool for single-item formatting when you have a valid ref or nodeId. Action \\\"inline\\\" applies character formatting (bold, italic, underline, color, fontSize, fontFamily, highlight, strike, vertAlign) to a text range via \\\"ref\\\". Action \\\"set_style\\\" applies a named paragraph style by styleId (get available styles from superdoc_get_content info). Actions \\\"set_alignment\\\", \\\"set_indentation\\\", \\\"set_spacing\\\", \\\"set_direction\\\", and \\\"set_flow_options\\\" change paragraph-level properties and require a block target: {kind:\\\"block\\\", nodeType:\\\"paragraph\\\", nodeId:\\\"<nodeId>\\\"}, NOT a ref. Use \\\"set_flow_options\\\" with pageBreakBefore:true to start a paragraph on a new page. Supports \\\"dryRun\\\" and \\\"changeMode: tracked\\\" for inline formatting. Paragraph-level actions do NOT support tracked changes. Do NOT use a search ref for paragraph-level actions; they require a block target with nodeId. Do NOT use {kind:\\\"block\\\", start:{kind:\\\"nodeEdge\\\",...}} or selection-like structures for paragraph actions. ONLY {kind:\\\"block\\\", nodeType, nodeId} is accepted. Do NOT issue multiple superdoc_format calls in parallel; each call invalidates refs for subsequent calls.\",\"inputExamples\":[{\"action\":\"inline\",\"ref\":\"<handle.ref>\",\"inline\":{\"bold\":true}},{\"action\":\"inline\",\"ref\":\"<create.handle.ref>\",\"inline\":{\"fontFamily\":\"Calibri\",\"fontSize\":11,\"color\":\"#000000\",\"bold\":false}},{\"action\":\"set_alignment\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"alignment\":\"center\"},{\"action\":\"set_flow_options\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"pageBreakBefore\":true},{\"action\":\"set_spacing\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"lineSpacing\":{\"rule\":\"auto\",\"value\":1.5}}]},\"table\":{\"toolName\":\"superdoc_table\",\"description\":\"Create and modify table structure, content, and styling. Find table/row/cell nodeIds via superdoc_get_content({action:\\\"blocks\\\"}) or superdoc_search.\\n\\nACTIONS:\\n\u{2022} Structure: delete, insert_row, delete_row, insert_column, delete_column, merge_cells, unmerge_cells.\\n\u{2022} Cell content: set_cell_text (text). set_cell (vAlign / wrap / fit / preferred width).\\n\u{2022} Row / column: set_row (height + rule), set_row_options (repeat-header, allow-break), set_column (widthPt).\\n\u{2022} Table styling: set_borders, set_shading, set_style_options (headerRow / bandedRows / firstColumn / lastColumn / lastRow / bandedColumns), set_layout (autofit / alignment / direction / preferredWidth), set_options (default cell margins + cell spacing).\\n\\nLOCATORS (the shapes ops accept):\\n\u{2022} insert_row append shorthand: { nodeId: \\\"<tableId>\\\" } with no rowIndex/position appends at the end. Three other forms: target a row + position, table + rowIndex + position, or any of the above with count:N for multiple.\\n\u{2022} insert_column shorthand: position:\\\"first\\\"|\\\"last\\\" with no columnIndex. Otherwise columnIndex + position:\\\"left\\\"|\\\"right\\\".\\n\u{2022} merge_cells: table target + start:{rowIndex, columnIndex} + end:{rowIndex, columnIndex}.\\n\u{2022} set_cell_text: table target + rowIndex + columnIndex (preferred) OR cell target.\\n\u{2022} set_cell: cell target only. Does NOT accept table+rowIndex+columnIndex.\\n\u{2022} set_borders / set_shading: table OR cell target. NOT a row target.\\n\\nCOLOR FORMAT:\\nHex strings accept #RRGGBB, RRGGBB, #RGB, or 3-digit RGB; also \\\"auto\\\"; also null to clear (where supported). Stored canonically as uppercase RRGGBB. Always pass a concrete color when one is implied. Never call set_borders with `auto` for a \\\"make it look [X]\\\" ask.\\n\\nSTYLING (TWO MODES):\\n\\nA. STRUCTURAL CHANGE \u{2192} re-apply the existing styling.\\n Triggers: insert_row / insert_column / delete_row / delete_column / merge_cells / unmerge_cells. (NOT set_cell_text or set_cell: those don\'t disturb borders/shading.)\\n Recipe: read the current borders/shading/cnf flags via superdoc_get_content({action:\\\"blocks\\\"}) before the change, then re-apply the SAME values after with set_borders + set_shading + set_style_options. The goal is consistency, not a redesign.\\n Skip on a freshly created table. A new table starts un-styled.\\n\\nB. STYLE-CHANGE REQUEST (\\\"make it look [X]\\\" / \\\"style the whole table\\\") \u{2192} apply the FULL set with concrete colors.\\n Touch every axis: borders, shading, text alignment, font color/weight, cnf flags, spacing. A single set_borders call without shading and font tweaks always looks half-finished. That\'s the #1 cause of \\\"no visual change\\\" complaints.\\n Color palette: discover the document\'s palette by reading superdoc_get_content({action:\\\"blocks\\\"}) and reusing the colors on existing tables/headings. When no palette is obvious, default to corporate blue \\\"1F3864\\\" or dark grey \\\"444444\\\" for accents and \\\"F2F2F2\\\" / \\\"E7E6E6\\\" for banding.\\n Recipe (call ALL of these):\\n 1. set_borders applyTo:\\\"all\\\" with an explicit color and weight.\\n 2. set_shading on the header row cells with the accent color. Add banding on alternate body rows if appropriate.\\n 3. set_style_options { headerRow: true, bandedRows?: true } so cnf regions are recognized.\\n 4. Cell-text alignment via superdoc_format action:\\\"set_alignment\\\". Center the header, left-align body, right-align numeric columns. Paragraph-level: target the paragraph inside each cell.\\n 5. Font color + weight via superdoc_format action:\\\"inline\\\". Header gets a contrasting color (white on dark fill, accent on light fill) plus bold:true.\\n 6. set_options if the user asks for tighter or looser spacing.\\n Steps 4\u{2013}5 cross to superdoc_format. Use superdoc_mutations to batch many format.apply steps in one call.\\n\\nAFTER set_cell_text, match the new cell to its siblings:\\nset_cell_text writes plain text with the document\'s default font/size/color and no weight. Always follow up with one superdoc_format inline call copying fontFamily/fontSize/color/bold from a sibling cell (or any non-empty body paragraph if the table is fresh and has no sibling content). If sibling cells show a bold-prefix pattern like \\\"Label: value\\\", replicate it on the new cell via superdoc_search + superdoc_format inline (or one superdoc_mutations batch with format.apply steps).\\n\\nLIST-TO-TABLE:\\n(1) superdoc_create action:\\\"table\\\" with the desired rows/columns. (2) Populate cells with set_cell_text using rowIndex/columnIndex (one call per cell). (3) DELETE THE WHOLE LIST in one call: superdoc_list({action:\\\"delete\\\", target:{kind:\\\"block\\\", nodeType:\\\"listItem\\\", nodeId:\\\"<any-item-id>\\\"}}). The op walks the contiguous list and removes all items.\\nWrong paths for list deletion (all leave bullets/empty paragraphs behind): text.delete, superdoc_edit action:\\\"delete\\\" on text refs, lists.detach, lists.convertToText.\",\"inputExamples\":[{\"action\":\"insert_row\",\"nodeId\":\"<tableNodeId>\"},{\"action\":\"insert_column\",\"nodeId\":\"<tableNodeId>\",\"position\":\"last\"},{\"action\":\"merge_cells\",\"nodeId\":\"<tableNodeId>\",\"start\":{\"rowIndex\":0,\"columnIndex\":0},\"end\":{\"rowIndex\":1,\"columnIndex\":1}},{\"action\":\"set_cell_text\",\"nodeId\":\"<tableNodeId>\",\"rowIndex\":0,\"columnIndex\":0,\"text\":\"Q1 Revenue\"},{\"action\":\"set_row\",\"nodeId\":\"<tableNodeId>\",\"rowIndex\":0,\"heightPt\":24,\"rule\":\"atLeast\"},{\"action\":\"set_borders\",\"nodeId\":\"<tableNodeId>\",\"mode\":\"applyTo\",\"applyTo\":\"all\",\"border\":{\"lineStyle\":\"single\",\"lineWeightPt\":1,\"color\":\"#000000\"}},{\"action\":\"set_shading\",\"target\":{\"kind\":\"block\",\"nodeType\":\"tableCell\",\"nodeId\":\"<cellNodeId>\"},\"color\":\"#E3F2FD\"},{\"action\":\"set_style_options\",\"nodeId\":\"<tableNodeId>\",\"styleOptions\":{\"headerRow\":true,\"bandedRows\":true}}]},\"list\":{\"toolName\":\"superdoc_list\",\"description\":\"Create and manipulate bullet and numbered lists. Most actions require a list-item target: {kind:\\\"block\\\", nodeType:\\\"listItem\\\", nodeId:\\\"<id>\\\"}. Exceptions: \\\"create\\\" and \\\"attach\\\" operate on paragraph targets (they turn paragraphs into list items). Find nodeIds via superdoc_get_content({action:\\\"blocks\\\"}): pick listItem blocks for most actions, paragraph blocks for create/attach.\\n\\nCREATE & CONVERT:\\n\u{2022} \\\"create\\\": make a NEW list from paragraphs. Two modes: mode:\\\"empty\\\" with at:{kind:\\\"block\\\", nodeType:\\\"paragraph\\\", nodeId} converts a single paragraph; mode:\\\"fromParagraphs\\\" with target:{from:{...paragraph block address}, to:{...paragraph block address}} converts a range: ALL paragraphs between from and to become items, so make sure no other content sits between them. Pass a preset (\\\"disc\\\"|\\\"circle\\\"|\\\"square\\\"|\\\"dash\\\" for bullets; \\\"decimal\\\"|\\\"decimalParenthesis\\\"|\\\"lowerLetter\\\"|\\\"lowerLetterParenthesis\\\"|\\\"upperLetter\\\"|\\\"upperLetterParenthesis\\\"|\\\"lowerRoman\\\"|\\\"upperRoman\\\" for ordered) or a custom style. Use \\\"create\\\" to start a fresh list: NOT to extend an existing one (use \\\"attach\\\" for that).\\n\u{2022} \\\"attach\\\": add paragraphs to an EXISTING list, inheriting its numbering definition. Pass target:{paragraph block address} (or {from, to} range of paragraphs) + attachTo:{kind:\\\"block\\\", nodeType:\\\"listItem\\\", nodeId:\\\"<any item in destination list>\\\"} + optional level:0..8. Use this to extend a list or as the second half of a merge workflow (see \\\"join\\\" below).\\n\u{2022} \\\"set_type\\\": convert an existing list between ordered and bullet. Pass target:{listItem} + kind:\\\"ordered\\\" or \\\"bullet\\\". Adjacent compatible sequences are merged automatically to preserve continuous numbering.\\n\u{2022} \\\"detach\\\": convert a list item back to a plain paragraph. Pass target:{listItem}.\\n\\nITEMS & NESTING:\\n\u{2022} \\\"insert\\\": add a new list item adjacent to an existing item in the same list. Pass target:{listItem} + position:\\\"before\\\"|\\\"after\\\" + optional text. Use this (NOT superdoc_create) to add items to an existing list.\\n\u{2022} \\\"indent\\\" / \\\"outdent\\\": bump the target item\'s nesting level by one (0-8 range). Pass target:{listItem}.\\n\u{2022} \\\"set_level\\\": jump the target item to an explicit level. Pass target:{listItem} + level:0..8.\\n\\nNUMBERING (ordered lists):\\n\u{2022} \\\"set_value\\\": restart numbering at the target. Pass target:{listItem} + value:<number> (e.g. value:1 to start over) or value:null to clear a previous override. Mid-sequence targets are atomically split off into their own sequence.\\n\u{2022} \\\"continue_previous\\\": make the target\'s sequence continue numbering from the nearest compatible previous sequence (same abstract definition). Pass target:{listItem of the sequence you want to renumber}. Fails with NO_COMPATIBLE_PREVIOUS or INCOMPATIBLE_DEFINITIONS if no matching prior sequence exists.\\n\\nSEQUENCE SHAPE (merge / split):\\n\u{2022} \\\"merge\\\": merge the target\'s sequence with an adjacent one into one continuous list. Pass target:{listItem} + direction:\\\"withPrevious\\\" or \\\"withNext\\\". Absorbed items adopt the absorbing sequence\'s numbering definition, and empty paragraphs between the two sequences are removed so numbering flows continuously.\\n\u{2022} \\\"split\\\": split the target\'s sequence at the target item into two independent lists. The target and everything after become a new sequence that restarts numbering at 1. Pass target:{listItem}; add restartNumbering:false to keep the count continuing instead of restarting.\",\"inputExamples\":[{\"action\":\"create\",\"mode\":\"fromParagraphs\",\"preset\":\"disc\",\"target\":{\"from\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<firstId>\"},\"to\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<lastId>\"}}},{\"action\":\"set_type\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"},\"kind\":\"ordered\"},{\"action\":\"insert\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"},\"position\":\"after\",\"text\":\"New list item\"},{\"action\":\"indent\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"}},{\"action\":\"merge\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"},\"direction\":\"withPrevious\"},{\"action\":\"split\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"}},{\"action\":\"set_value\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"},\"value\":1},{\"action\":\"continue_previous\",\"target\":{\"kind\":\"block\",\"nodeType\":\"listItem\",\"nodeId\":\"<itemId>\"}}]},\"comment\":{\"toolName\":\"superdoc_comment\",\"description\":\"Manage document comment threads: create, read, update, and delete. To create a comment, first use superdoc_search to find the target text, then pass action \\\"create\\\" with the comment text and a target built from items[0].blocks. For a single-block match use {kind:\\\"text\\\", blockId: items[0].blocks[0].blockId, range: items[0].blocks[0].range}. For a cross-block match use {kind:\\\"text\\\", segments: items[0].blocks.map(b => ({blockId: b.blockId, range: b.range}))}. Do NOT use items[0].highlightRange (snippet-relative, not block-relative) or items[0].target (a SelectionTarget, not accepted by comments.create). For threaded replies, pass \\\"parentId\\\" with the parent comment ID. Action \\\"list\\\" returns all comments with optional pagination (limit, offset) and filtering (includeResolved:true to include resolved). Action \\\"get\\\" retrieves a single comment by ID. Action \\\"update\\\" changes comment text, re-anchors the thread, changes status to \\\"resolved\\\", or toggles the legacy `sdcom:internal` flag for v1 compatibility. Action \\\"delete\\\" removes a comment or reply by ID. Do NOT pass \\\"ref\\\", \\\"id\\\", or \\\"parentId\\\" when creating a new top-level comment; \\\"action\\\", \\\"text\\\", and \\\"target\\\" are required, while commentId (the v1 compatibility alias for externalId), externalId, author fields, and metadata are optional correlation fields.\",\"inputExamples\":[{\"action\":\"create\",\"text\":\"Please review this section.\",\"target\":{\"kind\":\"text\",\"blockId\":\"<blockId>\",\"range\":{\"start\":5,\"end\":25}}},{\"action\":\"list\",\"limit\":20,\"offset\":0},{\"action\":\"update\",\"id\":\"<commentId>\",\"status\":\"resolved\"},{\"action\":\"delete\",\"id\":\"<commentId>\"}]},\"track_changes\":{\"toolName\":\"superdoc_track_changes\",\"description\":\"Review and resolve tracked changes (insertions, deletions, replacements, format changes) in the document. Action \\\"list\\\" returns all tracked changes with optional filtering by type (insert, delete, replacement, format) and pagination (limit, offset). Each change includes an ID, type, author, timestamp, and content preview. Action \\\"decide\\\" accepts or rejects changes. Pass decision:\\\"accept\\\" to apply the change permanently, or decision:\\\"reject\\\" to discard it. Target a single change with {id:\\\"<changeId>\\\"}, several whole changes atomically with {kind:\\\"ids\\\", ids:[...]}, a partial selection with {kind:\\\"range\\\", range:{...}}, or all changes at once with {scope:\\\"all\\\"} (optionally plus story). Do NOT use this tool unless the document has tracked changes. Use superdoc_get_content info to check the tracked change count first.\",\"inputExamples\":[{\"action\":\"list\"},{\"action\":\"list\",\"type\":\"insertion\",\"limit\":10},{\"action\":\"list\",\"type\":\"replacement\",\"limit\":10},{\"action\":\"decide\",\"decision\":\"accept\",\"target\":{\"id\":\"<changeId>\"}},{\"action\":\"decide\",\"decision\":\"accept\",\"target\":{\"kind\":\"ids\",\"ids\":[\"<changeId1>\",\"<changeId2>\"]}},{\"action\":\"decide\",\"decision\":\"reject\",\"target\":{\"kind\":\"range\",\"range\":{\"kind\":\"text\",\"segments\":[{\"blockId\":\"<blockId>\",\"range\":{\"start\":0,\"end\":5}}]}}},{\"action\":\"decide\",\"decision\":\"reject\",\"target\":{\"scope\":\"all\"}}]},\"link\":{\"toolName\":\"superdoc_link\",\"description\":\"Manage hyperlinks\"},\"image\":{\"toolName\":\"superdoc_image\",\"description\":\"Image placement and properties\"},\"section\":{\"toolName\":\"superdoc_section\",\"description\":\"Page layout, margins, columns\"},\"mutations\":{\"toolName\":\"superdoc_mutations\",\"description\":\"All steps succeed or all fail; no partial application. Execute multiple operations atomically in one batch. Use this for any workflow needing 2+ changes. Supported step types: text (text.rewrite, text.insert, text.delete), format (format.apply), create (create.heading, create.paragraph, create.table), assert. Each step has an id, an op, a \\\"where\\\" clause for targeting ({by:\\\"select\\\", select:{...}, require:\\\"first\\\"|\\\"exactlyOne\\\"|\\\"all\\\"} or {by:\\\"ref\\\", ref:\\\"...\\\"} or {by:\\\"block\\\", nodeType:\\\"paragraph\\\", nodeId:\\\"...\\\"}), and \\\"args\\\" with operation-specific parameters. Use {by:\\\"block\\\", nodeType, nodeId} when you want to rewrite, delete, format, or anchor against a whole known block from superdoc_get_content action \\\"blocks\\\" without relying on text matching. For full-paragraph or full-clause rewrites, first call superdoc_get_content with action:\\\"blocks\\\" and includeText:true, then rewrite the matching block by nodeId. For a placeholder or name within a tab-separated paragraph, use a text.rewrite where.by:\\\"select\\\" targeting only the exact placeholder; a whole-block plain-text rewrite omitting tabs deletes those controls. Use {by:\\\"select\\\"} only for substring edits, discovery, or insertion relative to a sentence fragment; do NOT use a shortened text selector to replace an entire known block. For create steps, \\\"where\\\" targets an existing anchor block and args.position (\\\"before\\\" or \\\"after\\\") controls placement. Sequential creates targeting the same anchor maintain correct order via internal position mapping. For format.apply with require \\\"all\\\", use a node selector to format every heading or paragraph at once: {by:\\\"select\\\", select:{type:\\\"node\\\", nodeType:\\\"heading\\\"}, require:\\\"all\\\"}. Selectors resolve at compile time (before execution). This means format.apply steps CANNOT target content created by earlier create steps in the same batch. Split creates and formatting into separate batches: first a mutations call with creates, then a mutations call with format.apply. Action \\\"preview\\\" dry-runs the plan. Action \\\"apply\\\" executes it. If a selector matches nothing, the failure reports the step id plus selector details so you can retry with a shorter or more distinctive anchor. Do NOT create two steps that target overlapping text in the same block; combine them into a single text.rewrite step.\",\"inputExamples\":[{\"action\":\"apply\",\"atomic\":true,\"changeMode\":\"direct\",\"steps\":[{\"id\":\"s1\",\"op\":\"text.rewrite\",\"where\":{\"by\":\"select\",\"select\":{\"type\":\"text\",\"pattern\":\"old term\"},\"require\":\"all\"},\"args\":{\"replacement\":{\"text\":\"new term\"}}},{\"id\":\"s2\",\"op\":\"text.delete\",\"where\":{\"by\":\"select\",\"select\":{\"type\":\"text\",\"pattern\":\" (deprecated)\"},\"require\":\"all\"},\"args\":{}}]},{\"action\":\"apply\",\"steps\":[{\"id\":\"r1\",\"op\":\"text.rewrite\",\"where\":{\"by\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"args\":{\"replacement\":{\"text\":\"Updated clause text.\"}}},{\"id\":\"f1\",\"op\":\"format.apply\",\"where\":{\"by\":\"select\",\"select\":{\"type\":\"node\",\"nodeType\":\"heading\"},\"require\":\"all\"},\"args\":{\"inline\":{\"color\":\"#FF0000\"}}},{\"id\":\"f2\",\"op\":\"format.apply\",\"where\":{\"by\":\"select\",\"select\":{\"type\":\"text\",\"pattern\":\"Confidential Information\"},\"require\":\"all\"},\"args\":{\"inline\":{\"bold\":true}}}]}]}},\"operations\":{\"doc.get\":{\"operationId\":\"doc.get\",\"sdkSurface\":\"document\",\"command\":\"get\",\"commandTokens\":[\"get\"],\"category\":\"core\",\"description\":\"Read the full document as an SDDocument structure.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"options\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"options\",\"flag\":\"options-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"includeResolved\":{\"type\":\"boolean\"},\"includeProvenance\":{\"type\":\"boolean\"},\"includeContext\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.find\":{\"operationId\":\"doc.find\",\"sdkSurface\":\"document\",\"command\":\"find\",\"commandTokens\":[\"find\"],\"category\":\"core\",\"description\":\"Search the document for text or node matches using SDM/1 selectors. Returns discovery-grade results: for mutation targeting, use query.match instead.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"select\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"select\",\"flag\":\"select-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\"},\"pattern\":{\"type\":\"string\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}]},\"caseSensitive\":{\"type\":\"boolean\"}},\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\"},\"nodeType\":{\"type\":\"string\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]}},\"required\":[\"type\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}]}},\"required\":[\"type\"]}]}},{\"name\":\"within\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"within\",\"flag\":\"within-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"options\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"options\",\"flag\":\"options-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"includeResolved\":{\"type\":\"boolean\"},\"includeProvenance\":{\"type\":\"boolean\"},\"includeContext\":{\"type\":\"boolean\"}},\"additionalProperties\":false}},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Selector type: \'text\' for text search or \'node\' for node type search.\",\"agentVisible\":false},{\"name\":\"nodeType\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-type\",\"description\":\"Node type to match (paragraph, heading, table, listItem, etc.).\",\"agentVisible\":false},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Filter: \'block\' or \'inline\'.\",\"agentVisible\":false},{\"name\":\"pattern\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Text or regex pattern to match.\",\"agentVisible\":false},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Match mode: \'contains\' (substring) or \'regex\'.\",\"agentVisible\":false},{\"name\":\"caseSensitive\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"case-sensitive\",\"description\":\"Case-sensitive matching. Default: false.\",\"agentVisible\":false},{\"name\":\"query\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"query-json\",\"description\":\"Query filter as JSON object.\"}],\"constraints\":{\"requiresOneOf\":[[\"type\",\"query\"]],\"mutuallyExclusive\":[[\"type\",\"query\"]]},\"documentApiOperationId\":\"find\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.getNode\":{\"operationId\":\"doc.getNode\",\"sdkSurface\":\"document\",\"command\":\"get-node\",\"commandTokens\":[\"get-node\"],\"category\":\"core\",\"description\":\"Retrieve a single node by target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"node\",\"documentApiResultKey\":\"node\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]}},{\"name\":\"nodeType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeType\",\"flag\":\"node-type\",\"required\":false,\"schema\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},{\"oneOf\":[{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"sdt\"},{\"const\":\"image\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}]}]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"story\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"story\",\"flag\":\"story-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"anchor\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"anchor\",\"flag\":\"anchor-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},{\"name\":\"address\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"address-json\",\"description\":\"Node address to retrieve (block or inline address object).\"}],\"constraints\":null,\"documentApiOperationId\":\"getNode\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.getNodeById\":{\"operationId\":\"doc.getNodeById\",\"sdkSurface\":\"document\",\"command\":\"get-node-by-id\",\"commandTokens\":[\"get-node-by-id\"],\"category\":\"core\",\"description\":\"Retrieve a single node by its unique ID.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"node\",\"documentApiResultKey\":\"node\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"id\",\"required\":true},{\"name\":\"nodeType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeType\",\"flag\":\"node-type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"getNodeById\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"inputAliases\":{\"id\":\"nodeId\"},\"hasFailureResult\":false},\"doc.getText\":{\"operationId\":\"doc.getText\",\"sdkSurface\":\"document\",\"command\":\"get-text\",\"commandTokens\":[\"get-text\"],\"category\":\"core\",\"description\":\"Extract the plain-text content of the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"text\",\"documentApiResultKey\":\"text\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}],\"constraints\":null,\"documentApiOperationId\":\"getText\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"text\",\"hasFailureResult\":false},\"doc.getMarkdown\":{\"operationId\":\"doc.getMarkdown\",\"sdkSurface\":\"document\",\"command\":\"get-markdown\",\"commandTokens\":[\"get-markdown\"],\"category\":\"core\",\"description\":\"Extract the document content as a Markdown string.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"markdown\",\"documentApiResultKey\":\"markdown\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"reviewMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reviewMode\",\"flag\":\"review-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]},\"agentVisible\":false},{\"name\":\"scope\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"scope\",\"flag\":\"scope-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]},\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"getMarkdown\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"markdown\",\"hasFailureResult\":false},\"doc.getHtml\":{\"operationId\":\"doc.getHtml\",\"sdkSurface\":\"document\",\"command\":\"get-html\",\"commandTokens\":[\"get-html\"],\"category\":\"core\",\"description\":\"Extract the document content as an HTML string.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"html\",\"documentApiResultKey\":\"html\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"reviewMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reviewMode\",\"flag\":\"review-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]},\"agentVisible\":false},{\"name\":\"scope\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"scope\",\"flag\":\"scope-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]},\"agentVisible\":false},{\"name\":\"unflattenLists\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"unflattenLists\",\"flag\":\"unflatten-lists\",\"required\":false,\"description\":\"Deprecated and ignored by V2. V2 always emits canonical nested semantic lists.\"}],\"constraints\":null,\"documentApiOperationId\":\"getHtml\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"html\",\"hasFailureResult\":false},\"doc.projectMarkdown\":{\"operationId\":\"doc.projectMarkdown\",\"sdkSurface\":\"document\",\"command\":\"project-markdown\",\"commandTokens\":[\"project-markdown\"],\"category\":\"core\",\"description\":\"Project document content as Markdown with review, scope, diagnostics, and provenance metadata.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"reviewMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reviewMode\",\"flag\":\"review-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]}},{\"name\":\"scope\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"scope\",\"flag\":\"scope-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]}},{\"name\":\"includeSourceMap\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeSourceMap\",\"flag\":\"include-source-map\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"projectMarkdown\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"markdown_projection\",\"hasFailureResult\":false},\"doc.projectHtml\":{\"operationId\":\"doc.projectHtml\",\"sdkSurface\":\"document\",\"command\":\"project-html\",\"commandTokens\":[\"project-html\"],\"category\":\"core\",\"description\":\"Project document content as HTML with review, scope, diagnostics, and provenance metadata.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"reviewMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reviewMode\",\"flag\":\"review-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]}},{\"name\":\"scope\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"scope\",\"flag\":\"scope-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]}},{\"name\":\"includeSourceMap\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeSourceMap\",\"flag\":\"include-source-map\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"projectHtml\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"html_projection\",\"hasFailureResult\":false},\"doc.markdownToFragment\":{\"operationId\":\"doc.markdownToFragment\",\"sdkSurface\":\"document\",\"command\":\"markdown-to-fragment\",\"commandTokens\":[\"markdown-to-fragment\"],\"category\":\"core\",\"description\":\"Convert a Markdown string into an SDM/1 structural fragment.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"markdown\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"markdown\",\"flag\":\"markdown\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"markdownToFragment\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.htmlToFragment\":{\"operationId\":\"doc.htmlToFragment\",\"sdkSurface\":\"document\",\"command\":\"html-to-fragment\",\"commandTokens\":[\"html-to-fragment\"],\"category\":\"core\",\"description\":\"Convert an HTML string into an SDM/1 structural fragment.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"html\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"html\",\"flag\":\"html\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"htmlToFragment\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.info\":{\"operationId\":\"doc.info\",\"sdkSurface\":\"document\",\"command\":\"info\",\"commandTokens\":[\"info\"],\"category\":\"core\",\"description\":\"Return document summary info including word, character, paragraph, heading, table, image, comment, tracked-change, SDT-field, list, and page counts, plus outline and capabilities.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"info\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"info\",\"hasFailureResult\":false},\"doc.extract\":{\"operationId\":\"doc.extract\",\"sdkSurface\":\"document\",\"command\":\"extract\",\"commandTokens\":[\"extract\"],\"category\":\"core\",\"description\":\"Extract all document content with stable IDs for RAG pipelines. Returns blocks with full text, comments, and tracked changes: each with an ID compatible with scrollToElement().\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"extract\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"extract\",\"hasFailureResult\":false},\"doc.clearContent\":{\"operationId\":\"doc.clearContent\",\"sdkSurface\":\"document\",\"command\":\"clear-content\",\"commandTokens\":[\"clear-content\"],\"category\":\"core\",\"description\":\"Clear all document body content, leaving a single empty paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"}],\"constraints\":null,\"documentApiOperationId\":\"clearContent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.insert\":{\"operationId\":\"doc.insert\",\"sdkSurface\":\"document\",\"command\":\"insert\",\"commandTokens\":[\"insert\"],\"category\":\"core\",\"description\":\"Insert content into the document. Text, rich, structural, and native OOXML input shapes: text-based (value + type) inserts inline content at a SelectionTarget or ref position within an existing block; structural SDFragment (content) inserts one or more blocks as siblings relative to a BlockNodeAddress target. When target/ref is omitted, content appends at the end of the document. Text mode supports text (default), markdown, and html. Native type:ooxml accepts namespaces and dependency manifests, or capture accepts a portable selection.extractOoxml result. Native copies remap package and review identities and require direct mode. Rich markdown/html and structural modes use `placement` (before/after/insideStart/insideEnd) to position relative to a block target.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"supportCheck\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"support-check-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"const\":\"sd-html-markdown-check/1\"},\"operation\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"}]},\"evaluatedRevision\":{\"type\":\"string\"},\"requestSha256\":{\"type\":\"string\"},\"analysisSha256\":{\"type\":\"string\"}},\"required\":[\"version\",\"operation\",\"evaluatedRevision\",\"requestSha256\",\"analysisSha256\"],\"additionalProperties\":false},\"description\":\"Guard returned by capabilities check for this exact HTML or Markdown write.\"},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"string\",\"description\":\"Text content to insert.\"},{\"type\":\"string\",\"description\":\"HTML or Markdown content to convert and insert.\"}]}},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ooxml\"},{\"const\":\"text\",\"description\":\"Plain-text content format. Omit for the same \'text\' default.\"},{\"oneOf\":[{\"const\":\"markdown\"},{\"const\":\"html\"}]}]}},{\"name\":\"namespaces\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"namespaces\",\"flag\":\"namespaces-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":{\"type\":\"string\"}}},{\"name\":\"sourcePartUri\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"sourcePartUri\",\"flag\":\"source-part-uri\",\"required\":false},{\"name\":\"dependencies\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"dependencies\",\"flag\":\"dependencies-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sourcePartUri\":{\"type\":\"string\"},\"relationshipId\":{\"type\":\"string\"},\"relationshipType\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"targetMode\":{\"oneOf\":[{\"const\":\"Internal\"},{\"const\":\"External\"}]},\"contentType\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"dataBase64\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"sourcePartUri\",\"relationshipId\",\"relationshipType\",\"target\",\"targetMode\",\"contentType\"]}}},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"placement\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"placement\",\"flag\":\"placement\",\"required\":false,\"schema\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"},{\"const\":\"insideStart\"},{\"const\":\"insideEnd\"}]},{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"},{\"const\":\"insideStart\"},{\"const\":\"insideEnd\"}],\"description\":\"Where to place content relative to target: \'before\', \'after\', \'insideStart\', or \'insideEnd\'.\"}]}},{\"name\":\"capture\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"capture\",\"flag\":\"capture-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"formatVersion\":{\"const\":1},\"snapshotId\":{\"type\":\"string\"},\"at\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"tableCells\"},\"selectionMode\":{\"const\":\"cells\"},\"isRectangular\":{\"const\":true},\"tableId\":{\"type\":\"string\"},\"start\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"end\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"tableId\",\"start\",\"end\"]}]},\"evaluatedRevision\":{\"type\":\"string\"},\"fragment\":{\"type\":\"object\",\"properties\":{\"placement\":{\"oneOf\":[{\"const\":\"inline\"},{\"const\":\"blocks\"},{\"const\":\"table\"}]},\"xml\":{\"type\":\"string\"},\"namespaces\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":{\"type\":\"string\"}},\"table\":{\"type\":\"object\",\"properties\":{\"tableId\":{\"type\":\"string\"},\"gridColumnCount\":{\"type\":\"number\"},\"cells\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"},\"gridSpan\":{\"type\":\"number\"},\"vMerge\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"restart\"},{\"const\":\"continue\"}]}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\",\"gridSpan\",\"vMerge\"]}}},\"additionalProperties\":false,\"required\":[\"tableId\",\"gridColumnCount\",\"cells\"]}},\"additionalProperties\":false,\"required\":[\"placement\",\"xml\",\"namespaces\"]},\"source\":{\"type\":\"object\",\"properties\":{\"story\":{\"oneOf\":[{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"type\":\"json\"}]},\"partUri\":{\"type\":\"string\"},\"paragraphStyleId\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"packageRevision\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"story\",\"partUri\",\"paragraphStyleId\"]},\"context\":{\"type\":\"object\",\"properties\":{\"xml\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"tableMerges\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"selectedRowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"},\"restartRowIndex\":{\"type\":\"number\"},\"restartCellPropertiesXml\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"selectedRowIndex\",\"columnIndex\",\"restartRowIndex\",\"restartCellPropertiesXml\"]}}},\"additionalProperties\":false,\"required\":[\"xml\"]},\"dependencies\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sourcePartUri\":{\"type\":\"string\"},\"relationshipId\":{\"type\":\"string\"},\"relationshipType\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"targetMode\":{\"oneOf\":[{\"const\":\"Internal\"},{\"const\":\"External\"}]},\"contentType\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"dataBase64\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"sourcePartUri\",\"relationshipId\",\"relationshipType\",\"target\",\"targetMode\",\"contentType\"]}},\"diagnostics\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"code\",\"message\"]}}},\"additionalProperties\":false,\"required\":[\"formatVersion\",\"at\",\"evaluatedRevision\",\"fragment\",\"source\",\"context\",\"dependencies\",\"diagnostics\"]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\",\"description\":\"Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object.\"},{\"type\":\"string\"}]}},{\"name\":\"content\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"content\",\"flag\":\"content-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}],\"description\":\"Document fragment to insert (structured content).\"},\"description\":\"Document fragment to insert (structured content).\"},{\"name\":\"nestingPolicy\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"nestingPolicy\",\"flag\":\"nesting-policy-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"},\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"valueFile\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"value-file\",\"description\":\"Read content from a UTF-8 file, or \'-\' for stdin. Use instead of --value with --type text, html, or markdown.\",\"agentVisible\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Character offset for insertion (alias for --start/--end with same value).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":true,\"intentGroup\":\"edit\",\"intentAction\":\"insert\",\"hasFailureResult\":true},\"doc.replace\":{\"operationId\":\"doc.replace\",\"sdkSurface\":\"document\",\"command\":\"replace\",\"commandTokens\":[\"replace\"],\"category\":\"core\",\"description\":\"Optional replaceMode:contents retains one paragraph, heading, or listItem container while applying text, HTML, Markdown, SDFragment, or native OOXML inlines. A retained snapshotId source restores exact same-session original markup with an expectedSnapshotId local precondition. These writes require direct mode; existing selection and structural behavior is unchanged. Replace content at a contiguous document selection. Text path accepts a SelectionTarget or ref plus replacement text. For explicit single-paragraph text selections, expectedText rejects mismatches with PRECONDITION_FAILED before mutation. Tracked text replacements accept replacementGranularity: word (default), phrase (join neighboring edits separated only by spaces), or range (replace the complete selection). This requires an explicit single-paragraph text selection. Rich string path accepts HTML or Markdown plus a BlockNodeAddress, SelectionTarget, or ref. Structural path accepts the same locator forms plus SDFragment content. A single-paragraph rich replacement may overlap pending insertions: tracked mode drops the covered part of your own insertion, nests a deletion inside another author\'s insertion, and adds the content as a new insertion; direct mode removes the covered part and leaves the rest pending. A tracked rich replacement spanning paragraphs that crosses a pending insertion, or a range that mixes pending insertions with comment, bookmark, field, or content-control markup, rejects without changes; capabilities.check reports the same result. An explicit {kind:\'story\', storyType:\'body\'} target replaces the complete main body in direct mode while preserving the destination DOCX package.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"supportCheck\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"support-check-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"const\":\"sd-html-markdown-check/1\"},\"operation\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"}]},\"evaluatedRevision\":{\"type\":\"string\"},\"requestSha256\":{\"type\":\"string\"},\"analysisSha256\":{\"type\":\"string\"}},\"required\":[\"version\",\"operation\",\"evaluatedRevision\",\"requestSha256\",\"analysisSha256\"],\"additionalProperties\":false},\"description\":\"Guard returned by capabilities check for this exact HTML or Markdown write.\"},{\"name\":\"replaceMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"replace-mode\",\"schema\":{\"type\":\"string\",\"enum\":[\"contents\"]},\"description\":\"Replace supported paragraph contents while preserving its container. Requires direct mode.\"},{\"name\":\"expectedSnapshotId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-snapshot-id\",\"description\":\"Same-session snapshot of the unchanged paragraph required before contents replacement or restoration.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]}]}},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"string\",\"description\":\"Replacement text content.\"},{\"type\":\"string\",\"description\":\"Complete replacement text for the main body.\"}]}},{\"name\":\"snapshotId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"snapshotId\",\"flag\":\"snapshot-id\",\"required\":false},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"string\",\"description\":\"HTML or Markdown replacement content.\"},{\"type\":\"string\",\"description\":\"HTML or Markdown that replaces the complete main body.\"}]}},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ooxml\"},{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]}]}},{\"name\":\"namespaces\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"namespaces\",\"flag\":\"namespaces-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":{\"type\":\"string\"}}},{\"name\":\"sourcePartUri\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"sourcePartUri\",\"flag\":\"source-part-uri\",\"required\":false},{\"name\":\"dependencies\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"dependencies\",\"flag\":\"dependencies-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sourcePartUri\":{\"type\":\"string\"},\"relationshipId\":{\"type\":\"string\"},\"relationshipType\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"targetMode\":{\"oneOf\":[{\"const\":\"Internal\"},{\"const\":\"External\"}]},\"contentType\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"dataBase64\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"sourcePartUri\",\"relationshipId\",\"relationshipType\",\"target\",\"targetMode\",\"contentType\"]}}},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"nestingPolicy\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"nestingPolicy\",\"flag\":\"nesting-policy-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"},\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"},{\"name\":\"capture\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"capture\",\"flag\":\"capture-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"formatVersion\":{\"const\":1},\"snapshotId\":{\"type\":\"string\"},\"at\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"tableCells\"},\"selectionMode\":{\"const\":\"cells\"},\"isRectangular\":{\"const\":true},\"tableId\":{\"type\":\"string\"},\"start\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"end\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"tableId\",\"start\",\"end\"]}]},\"evaluatedRevision\":{\"type\":\"string\"},\"fragment\":{\"type\":\"object\",\"properties\":{\"placement\":{\"oneOf\":[{\"const\":\"inline\"},{\"const\":\"blocks\"},{\"const\":\"table\"}]},\"xml\":{\"type\":\"string\"},\"namespaces\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":{\"type\":\"string\"}},\"table\":{\"type\":\"object\",\"properties\":{\"tableId\":{\"type\":\"string\"},\"gridColumnCount\":{\"type\":\"number\"},\"cells\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"},\"gridSpan\":{\"type\":\"number\"},\"vMerge\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"restart\"},{\"const\":\"continue\"}]}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\",\"gridSpan\",\"vMerge\"]}}},\"additionalProperties\":false,\"required\":[\"tableId\",\"gridColumnCount\",\"cells\"]}},\"additionalProperties\":false,\"required\":[\"placement\",\"xml\",\"namespaces\"]},\"source\":{\"type\":\"object\",\"properties\":{\"story\":{\"oneOf\":[{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"type\":\"json\"}]},\"partUri\":{\"type\":\"string\"},\"paragraphStyleId\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"packageRevision\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"story\",\"partUri\",\"paragraphStyleId\"]},\"context\":{\"type\":\"object\",\"properties\":{\"xml\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"tableMerges\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"selectedRowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"},\"restartRowIndex\":{\"type\":\"number\"},\"restartCellPropertiesXml\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"selectedRowIndex\",\"columnIndex\",\"restartRowIndex\",\"restartCellPropertiesXml\"]}}},\"additionalProperties\":false,\"required\":[\"xml\"]},\"dependencies\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sourcePartUri\":{\"type\":\"string\"},\"relationshipId\":{\"type\":\"string\"},\"relationshipType\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"targetMode\":{\"oneOf\":[{\"const\":\"Internal\"},{\"const\":\"External\"}]},\"contentType\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"dataBase64\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"sourcePartUri\",\"relationshipId\",\"relationshipType\",\"target\",\"targetMode\",\"contentType\"]}},\"diagnostics\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"code\",\"message\"]}}},\"additionalProperties\":false,\"required\":[\"formatVersion\",\"at\",\"evaluatedRevision\",\"fragment\",\"source\",\"context\",\"dependencies\",\"diagnostics\"]}},{\"name\":\"expectedText\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedText\",\"flag\":\"expected-text\",\"required\":false,\"description\":\"Require exact selected text before mutation. Only explicit single-paragraph text selections support this guard.\"},{\"name\":\"replacementGranularity\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"replacementGranularity\",\"flag\":\"replacement-granularity\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"word\"},{\"const\":\"phrase\"},{\"const\":\"range\"}],\"description\":\"Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked.\"},\"description\":\"Tracked revision boundaries for an explicit single-paragraph text selection. word (default) preserves matching tokens; phrase joins edits separated only by spaces; range replaces the complete selection. Requires changeMode: tracked.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\",\"description\":\"Search result handle.\"},{\"type\":\"string\",\"description\":\"Reference handle from a previous search result.\"},{\"type\":\"string\"}]}},{\"name\":\"content\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"content\",\"flag\":\"content-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"replace\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":true,\"intentGroup\":\"edit\",\"intentAction\":\"replace\",\"hasFailureResult\":true},\"doc.delete\":{\"operationId\":\"doc.delete\",\"sdkSurface\":\"document\",\"command\":\"delete\",\"commandTokens\":[\"delete\"],\"category\":\"core\",\"description\":\"Delete content at a contiguous document selection. Accepts a SelectionTarget or mutation-ready ref. Supports cross-block deletion and optional block-edge expansion via behavior mode.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"behavior\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"behavior\",\"flag\":\"behavior\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"selection\"},{\"const\":\"exact\"}]},\"description\":\"Delete behavior: \'selection\' (default) or \'exact\'.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"edit\",\"intentAction\":\"delete\",\"hasFailureResult\":true},\"doc.formatRange\":{\"operationId\":\"doc.formatRange\",\"sdkSurface\":\"document\",\"command\":\"format-range\",\"commandTokens\":[\"format-range\"],\"category\":\"format\",\"description\":\"Legacy root-level alias for inline range formatting. Routes to `format.apply` for compatibility with older callers.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"changeMode\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"dryRun\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"properties\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"properties\",\"flag\":\"properties-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"italic\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"strike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"underline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"},{\"type\":\"object\",\"properties\":{\"style\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"themeColor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false}]},\"highlight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fontSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"fontFamily\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"letterSpacing\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vertAlign\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]},\"position\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"dstrike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"smallCaps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"caps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shading\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"border\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"sz\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"space\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"outline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shadow\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"emboss\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"imprint\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"charScale\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"kerning\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"webHidden\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"specVanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rtl\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"bCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"iCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"eastAsianLayout\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"combine\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"combineBrackets\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"vert\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vertCompress\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"em\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fitText\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"snapToGrid\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"lang\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"bidi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"oMath\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rStyle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"rFonts\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"ascii\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"asciiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsiaTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"csTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hint\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"fontSizeCs\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"ligatures\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numForm\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numSpacing\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"stylisticSets\":{\"oneOf\":[{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"val\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"id\"]},\"minItems\":1},{\"type\":\"json\"}]},\"contextualAlternates\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false,\"description\":\"Inline formatting properties to apply. Set a property to apply it, use null to clear it. Example: {bold: true, italic: true} or {bold: null} to remove bold.\"},\"description\":\"Inline formatting properties to apply. Set a property to apply it, use null to clear it. Example: {bold: true, italic: true} or {bold: null} to remove bold.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"}],\"constraints\":null,\"documentApiOperationId\":\"formatRange\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.blocks.findText\":{\"operationId\":\"doc.blocks.findText\",\"sdkSurface\":\"document\",\"command\":\"blocks find-text\",\"commandTokens\":[\"blocks\",\"find-text\"],\"category\":\"core\",\"description\":\"Find top-level body blocks containing a literal case-insensitive substring. Matches flattened block text, coalescing repeated hits and nested table paragraphs into one block. Scans at most 20,000 blocks inside the document host and returns compact previews without transferring full-text pages.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true,\"description\":\"Literal case-insensitive substring. Whitespace is preserved.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false,\"description\":\"Maximum matches. Default: 8; zero returns counts only.\"}],\"constraints\":null,\"documentApiOperationId\":\"blocks.findText\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.blocks.list\":{\"operationId\":\"doc.blocks.list\",\"sdkSurface\":\"document\",\"command\":\"blocks list\",\"commandTokens\":[\"blocks\",\"list\"],\"category\":\"core\",\"description\":\"List top-level blocks in document order with IDs, types, text previews, and optional full text when includeText:true. Supports pagination via offset/limit after optional nodeTypes, nodeIds, and literal textSearch filtering, single-story scoping via `in: <StoryLocator>`, and final/original/redline projection of numbering metadata without changing block membership.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"nodeIds\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"nodeIds\",\"flag\":\"node-ids\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Top-level block identities to match before pagination.\"},\"description\":\"Top-level block identities to match before pagination.\"},{\"name\":\"textSearch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"textSearch\",\"flag\":\"text-search-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"terms\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1},\"match\":{\"oneOf\":[{\"const\":\"all\"},{\"const\":\"any\"}]},\"caseSensitive\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"terms\"]}},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false,\"description\":\"Number of blocks to skip. Default: 0.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false,\"description\":\"Maximum blocks to return. Omit for all blocks.\"},{\"name\":\"nodeTypes\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"nodeTypes\",\"flag\":\"node-types-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"description\":\"Filter by block types (e.g. [\'paragraph\', \'heading\']). Omit for all types.\"},\"description\":\"Filter by block types (e.g. [\'paragraph\', \'heading\']). Omit for all types.\"},{\"name\":\"includeText\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeText\",\"flag\":\"include-text\",\"required\":false,\"description\":\"When true, includes the full flattened block text in each block entry.\"},{\"name\":\"reviewMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reviewMode\",\"flag\":\"review-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"blocks.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"get_content\",\"intentAction\":\"blocks\",\"hasFailureResult\":false},\"doc.blocks.delete\":{\"operationId\":\"doc.blocks.delete\",\"sdkSurface\":\"document\",\"command\":\"blocks delete\",\"commandTokens\":[\"blocks\",\"delete\"],\"category\":\"core\",\"description\":\"Delete an entire block node (paragraph, heading, list item, table, image, or sdt) deterministically.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeType\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-type\",\"description\":\"Block type of the node to delete.\",\"agentVisible\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the block to delete.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"blocks.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"edit\",\"intentAction\":\"delete_block\",\"hasFailureResult\":true},\"doc.blocks.deleteRange\":{\"operationId\":\"doc.blocks.deleteRange\",\"sdkSurface\":\"document\",\"command\":\"blocks delete-range\",\"commandTokens\":[\"blocks\",\"delete-range\"],\"category\":\"core\",\"description\":\"Delete a contiguous range of top-level blocks between two endpoints (inclusive). Both endpoints must be direct children of the document node. Supports dry-run preview.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"end\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"end\",\"flag\":\"end-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"blocks.deleteRange\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"edit\",\"intentAction\":\"delete_block_range\",\"hasFailureResult\":true},\"doc.blocks.split\":{\"operationId\":\"doc.blocks.split\",\"sdkSurface\":\"document\",\"command\":\"blocks split\",\"commandTokens\":[\"blocks\",\"split\"],\"category\":\"core\",\"description\":\"Split a paragraph at a visible-text offset, producing two paragraphs. Preserves unambiguous simple run properties around the cut. Rejects when the paragraph contains fields, content controls, drawings, equations, or unsupported tracked-change wrappers. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"blocks.split\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.blocks.merge\":{\"operationId\":\"doc.blocks.merge\",\"sdkSurface\":\"document\",\"command\":\"blocks merge\",\"commandTokens\":[\"blocks\",\"merge\"],\"category\":\"core\",\"description\":\"Merge two adjacent paragraphs in the same story. The first paragraph keeps its pPr; the second paragraph is removed. Rejects when either paragraph carries a w:sectPr or when their numbering definitions differ. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"first\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"first\",\"flag\":\"first-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"second\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"second\",\"flag\":\"second-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"blocks.merge\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.blocks.move\":{\"operationId\":\"doc.blocks.move\",\"sdkSurface\":\"document\",\"command\":\"blocks move\",\"commandTokens\":[\"blocks\",\"move\"],\"category\":\"core\",\"description\":\"Move a paragraph within the same story to a new anchor paragraph (before or after). Cross-story and relationship-bearing moves reject with named reasons. Tracked-mode authoring emits paired `<w:moveFrom>` / `<w:moveTo>` review state with explicit move range marker identity; safe content (no comment/bookmark/permission anchors and no pre-existing tracked wrappers) is required for tracked authoring. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"source\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"source\",\"flag\":\"source-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"placement\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"placement\",\"flag\":\"placement\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"blocks.move\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.format.apply\":{\"operationId\":\"doc.format.apply\",\"sdkSurface\":\"document\",\"command\":\"format apply\",\"commandTokens\":[\"format\",\"apply\"],\"category\":\"format\",\"description\":\"Apply inline run-property patch changes to the target range with explicit set/clear semantics.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"inline\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"inline\",\"flag\":\"inline-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"italic\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"strike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"underline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"},{\"type\":\"object\",\"properties\":{\"style\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"themeColor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false}]},\"highlight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fontSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"fontFamily\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"letterSpacing\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vertAlign\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]},\"position\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"dstrike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"smallCaps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"caps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shading\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"border\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"sz\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"space\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"outline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shadow\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"emboss\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"imprint\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"charScale\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"kerning\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"webHidden\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"specVanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rtl\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"bCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"iCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"eastAsianLayout\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"combine\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"combineBrackets\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"vert\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vertCompress\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"em\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fitText\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"snapToGrid\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"lang\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"bidi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"oMath\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rStyle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"rFonts\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"ascii\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"asciiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsiaTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"csTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hint\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"fontSizeCs\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"ligatures\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numForm\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numSpacing\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"stylisticSets\":{\"oneOf\":[{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"val\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"id\"]},\"minItems\":1},{\"type\":\"json\"}]},\"contextualAlternates\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false,\"description\":\"Inline formatting properties to apply. Set a property to apply it, use null to clear it. Example: {bold: true, italic: true} or {bold: null} to remove bold.\"},\"description\":\"Inline formatting properties to apply. Set a property to apply it, use null to clear it. Example: {bold: true, italic: true} or {bold: null} to remove bold.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.apply\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"inline\",\"hasFailureResult\":true},\"doc.format.bold\":{\"operationId\":\"doc.format.bold\",\"sdkSurface\":\"document\",\"command\":\"format bold\",\"commandTokens\":[\"format\",\"bold\"],\"category\":\"format\",\"description\":\"Set or clear the `bold` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.bold\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.italic\":{\"operationId\":\"doc.format.italic\",\"sdkSurface\":\"document\",\"command\":\"format italic\",\"commandTokens\":[\"format\",\"italic\"],\"category\":\"format\",\"description\":\"Set or clear the `italic` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.italic\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.strike\":{\"operationId\":\"doc.format.strike\",\"sdkSurface\":\"document\",\"command\":\"format strike\",\"commandTokens\":[\"format\",\"strike\"],\"category\":\"format\",\"description\":\"Set or clear the `strike` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.strike\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.underline\":{\"operationId\":\"doc.format.underline\",\"sdkSurface\":\"document\",\"command\":\"format underline\",\"commandTokens\":[\"format\",\"underline\"],\"category\":\"format\",\"description\":\"Set or clear the `underline` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"},{\"type\":\"object\",\"properties\":{\"style\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"themeColor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.underline\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.highlight\":{\"operationId\":\"doc.format.highlight\",\"sdkSurface\":\"document\",\"command\":\"format highlight\",\"commandTokens\":[\"format\",\"highlight\"],\"category\":\"format\",\"description\":\"Set or clear the `highlight` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.highlight\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.color\":{\"operationId\":\"doc.format.color\",\"sdkSurface\":\"document\",\"command\":\"format color\",\"commandTokens\":[\"format\",\"color\"],\"category\":\"format\",\"description\":\"Set or clear the `color` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.color\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.fontSize\":{\"operationId\":\"doc.format.fontSize\",\"sdkSurface\":\"document\",\"command\":\"format font-size\",\"commandTokens\":[\"format\",\"font-size\"],\"category\":\"format\",\"description\":\"Set or clear the `fontSize` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.fontSize\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.fontFamily\":{\"operationId\":\"doc.format.fontFamily\",\"sdkSurface\":\"document\",\"command\":\"format font-family\",\"commandTokens\":[\"format\",\"font-family\"],\"category\":\"format\",\"description\":\"Set or clear the `fontFamily` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.fontFamily\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.letterSpacing\":{\"operationId\":\"doc.format.letterSpacing\",\"sdkSurface\":\"document\",\"command\":\"format letter-spacing\",\"commandTokens\":[\"format\",\"letter-spacing\"],\"category\":\"format\",\"description\":\"Set or clear the `letterSpacing` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.letterSpacing\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.vertAlign\":{\"operationId\":\"doc.format.vertAlign\",\"sdkSurface\":\"document\",\"command\":\"format vert-align\",\"commandTokens\":[\"format\",\"vert-align\"],\"category\":\"format\",\"description\":\"Set or clear the `vertAlign` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.vertAlign\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.position\":{\"operationId\":\"doc.format.position\",\"sdkSurface\":\"document\",\"command\":\"format position\",\"commandTokens\":[\"format\",\"position\"],\"category\":\"format\",\"description\":\"Set or clear the `position` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.position\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.dstrike\":{\"operationId\":\"doc.format.dstrike\",\"sdkSurface\":\"document\",\"command\":\"format dstrike\",\"commandTokens\":[\"format\",\"dstrike\"],\"category\":\"format\",\"description\":\"Set or clear the `dstrike` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.dstrike\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.smallCaps\":{\"operationId\":\"doc.format.smallCaps\",\"sdkSurface\":\"document\",\"command\":\"format small-caps\",\"commandTokens\":[\"format\",\"small-caps\"],\"category\":\"format\",\"description\":\"Set or clear the `smallCaps` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.smallCaps\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.caps\":{\"operationId\":\"doc.format.caps\",\"sdkSurface\":\"document\",\"command\":\"format caps\",\"commandTokens\":[\"format\",\"caps\"],\"category\":\"format\",\"description\":\"Set or clear the `caps` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.caps\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.shading\":{\"operationId\":\"doc.format.shading\",\"sdkSurface\":\"document\",\"command\":\"format shading\",\"commandTokens\":[\"format\",\"shading\"],\"category\":\"format\",\"description\":\"Set or clear the `shading` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.shading\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.border\":{\"operationId\":\"doc.format.border\",\"sdkSurface\":\"document\",\"command\":\"format border\",\"commandTokens\":[\"format\",\"border\"],\"category\":\"format\",\"description\":\"Set or clear the `border` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"sz\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"space\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.border\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.outline\":{\"operationId\":\"doc.format.outline\",\"sdkSurface\":\"document\",\"command\":\"format outline\",\"commandTokens\":[\"format\",\"outline\"],\"category\":\"format\",\"description\":\"Set or clear the `outline` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.outline\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.shadow\":{\"operationId\":\"doc.format.shadow\",\"sdkSurface\":\"document\",\"command\":\"format shadow\",\"commandTokens\":[\"format\",\"shadow\"],\"category\":\"format\",\"description\":\"Set or clear the `shadow` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.shadow\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.emboss\":{\"operationId\":\"doc.format.emboss\",\"sdkSurface\":\"document\",\"command\":\"format emboss\",\"commandTokens\":[\"format\",\"emboss\"],\"category\":\"format\",\"description\":\"Set or clear the `emboss` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.emboss\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.imprint\":{\"operationId\":\"doc.format.imprint\",\"sdkSurface\":\"document\",\"command\":\"format imprint\",\"commandTokens\":[\"format\",\"imprint\"],\"category\":\"format\",\"description\":\"Set or clear the `imprint` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.imprint\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.charScale\":{\"operationId\":\"doc.format.charScale\",\"sdkSurface\":\"document\",\"command\":\"format char-scale\",\"commandTokens\":[\"format\",\"char-scale\"],\"category\":\"format\",\"description\":\"Set or clear the `charScale` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.charScale\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.kerning\":{\"operationId\":\"doc.format.kerning\",\"sdkSurface\":\"document\",\"command\":\"format kerning\",\"commandTokens\":[\"format\",\"kerning\"],\"category\":\"format\",\"description\":\"Set or clear the `kerning` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.kerning\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.vanish\":{\"operationId\":\"doc.format.vanish\",\"sdkSurface\":\"document\",\"command\":\"format vanish\",\"commandTokens\":[\"format\",\"vanish\"],\"category\":\"format\",\"description\":\"Set or clear the `vanish` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.vanish\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.webHidden\":{\"operationId\":\"doc.format.webHidden\",\"sdkSurface\":\"document\",\"command\":\"format web-hidden\",\"commandTokens\":[\"format\",\"web-hidden\"],\"category\":\"format\",\"description\":\"Set or clear the `webHidden` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.webHidden\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.specVanish\":{\"operationId\":\"doc.format.specVanish\",\"sdkSurface\":\"document\",\"command\":\"format spec-vanish\",\"commandTokens\":[\"format\",\"spec-vanish\"],\"category\":\"format\",\"description\":\"Set or clear the `specVanish` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.specVanish\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.rtl\":{\"operationId\":\"doc.format.rtl\",\"sdkSurface\":\"document\",\"command\":\"format rtl\",\"commandTokens\":[\"format\",\"rtl\"],\"category\":\"format\",\"description\":\"Set or clear the `rtl` inline run property on the target text range. This does not change paragraph direction; use `format.paragraph.setDirection` for paragraph-level RTL.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.rtl\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.cs\":{\"operationId\":\"doc.format.cs\",\"sdkSurface\":\"document\",\"command\":\"format cs\",\"commandTokens\":[\"format\",\"cs\"],\"category\":\"format\",\"description\":\"Set or clear the `cs` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.cs\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.bCs\":{\"operationId\":\"doc.format.bCs\",\"sdkSurface\":\"document\",\"command\":\"format b-cs\",\"commandTokens\":[\"format\",\"b-cs\"],\"category\":\"format\",\"description\":\"Set or clear the `bCs` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.bCs\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.iCs\":{\"operationId\":\"doc.format.iCs\",\"sdkSurface\":\"document\",\"command\":\"format i-cs\",\"commandTokens\":[\"format\",\"i-cs\"],\"category\":\"format\",\"description\":\"Set or clear the `iCs` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.iCs\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.eastAsianLayout\":{\"operationId\":\"doc.format.eastAsianLayout\",\"sdkSurface\":\"document\",\"command\":\"format east-asian-layout\",\"commandTokens\":[\"format\",\"east-asian-layout\"],\"category\":\"format\",\"description\":\"Set or clear the `eastAsianLayout` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"combine\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"combineBrackets\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"vert\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vertCompress\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.eastAsianLayout\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.em\":{\"operationId\":\"doc.format.em\",\"sdkSurface\":\"document\",\"command\":\"format em\",\"commandTokens\":[\"format\",\"em\"],\"category\":\"format\",\"description\":\"Set or clear the `em` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.em\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.fitText\":{\"operationId\":\"doc.format.fitText\",\"sdkSurface\":\"document\",\"command\":\"format fit-text\",\"commandTokens\":[\"format\",\"fit-text\"],\"category\":\"format\",\"description\":\"Set or clear the `fitText` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.fitText\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.snapToGrid\":{\"operationId\":\"doc.format.snapToGrid\",\"sdkSurface\":\"document\",\"command\":\"format snap-to-grid\",\"commandTokens\":[\"format\",\"snap-to-grid\"],\"category\":\"format\",\"description\":\"Set or clear the `snapToGrid` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.snapToGrid\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.lang\":{\"operationId\":\"doc.format.lang\",\"sdkSurface\":\"document\",\"command\":\"format lang\",\"commandTokens\":[\"format\",\"lang\"],\"category\":\"format\",\"description\":\"Set or clear the `lang` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"bidi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.lang\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.oMath\":{\"operationId\":\"doc.format.oMath\",\"sdkSurface\":\"document\",\"command\":\"format o-math\",\"commandTokens\":[\"format\",\"o-math\"],\"category\":\"format\",\"description\":\"Set or clear the `oMath` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.oMath\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.rStyle\":{\"operationId\":\"doc.format.rStyle\",\"sdkSurface\":\"document\",\"command\":\"format r-style\",\"commandTokens\":[\"format\",\"r-style\"],\"category\":\"format\",\"description\":\"Set or clear the `rStyle` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.rStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.rFonts\":{\"operationId\":\"doc.format.rFonts\",\"sdkSurface\":\"document\",\"command\":\"format r-fonts\",\"commandTokens\":[\"format\",\"r-fonts\"],\"category\":\"format\",\"description\":\"Set or clear the `rFonts` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"ascii\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"asciiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsiaTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"csTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hint\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.rFonts\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.fontSizeCs\":{\"operationId\":\"doc.format.fontSizeCs\",\"sdkSurface\":\"document\",\"command\":\"format font-size-cs\",\"commandTokens\":[\"format\",\"font-size-cs\"],\"category\":\"format\",\"description\":\"Set or clear the `fontSizeCs` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.fontSizeCs\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.ligatures\":{\"operationId\":\"doc.format.ligatures\",\"sdkSurface\":\"document\",\"command\":\"format ligatures\",\"commandTokens\":[\"format\",\"ligatures\"],\"category\":\"format\",\"description\":\"Set or clear the `ligatures` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.ligatures\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.numForm\":{\"operationId\":\"doc.format.numForm\",\"sdkSurface\":\"document\",\"command\":\"format num-form\",\"commandTokens\":[\"format\",\"num-form\"],\"category\":\"format\",\"description\":\"Set or clear the `numForm` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.numForm\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.numSpacing\":{\"operationId\":\"doc.format.numSpacing\",\"sdkSurface\":\"document\",\"command\":\"format num-spacing\",\"commandTokens\":[\"format\",\"num-spacing\"],\"category\":\"format\",\"description\":\"Set or clear the `numSpacing` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.numSpacing\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.stylisticSets\":{\"operationId\":\"doc.format.stylisticSets\",\"sdkSurface\":\"document\",\"command\":\"format stylistic-sets\",\"commandTokens\":[\"format\",\"stylistic-sets\"],\"category\":\"format\",\"description\":\"Set or clear the `stylisticSets` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"val\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"id\"]},\"minItems\":1},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.stylisticSets\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.contextualAlternates\":{\"operationId\":\"doc.format.contextualAlternates\",\"sdkSurface\":\"document\",\"command\":\"format contextual-alternates\",\"commandTokens\":[\"format\",\"contextual-alternates\"],\"category\":\"format\",\"description\":\"Set or clear the `contextualAlternates` inline run property on the target text range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"author-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"name\"],\"additionalProperties\":false},\"description\":\"Per-call tracked revision author. Does not change the session user.\"},{\"name\":\"date\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"revision-date\",\"description\":\"Per-call tracked revision date as an ISO 8601 UTC timestamp.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"description\":\"Selection target: {kind:\'selection\', start:{kind:\'text\', blockId, offset}, end:{kind:\'text\', blockId, offset}}. Use \'ref\' instead when you have a search result handle.\"},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. \'text:eyJ...\'). Preferred over \'target\' for inline formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.contextualAlternates\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.format.readSelection\":{\"operationId\":\"doc.format.readSelection\",\"sdkSurface\":\"document\",\"command\":\"format read-selection\",\"commandTokens\":[\"format\",\"read-selection\"],\"category\":\"format\",\"description\":\"Read inline formatting across a selection or caret, reporting each property as uniform, mixed, unset or unresolvable.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},{\"name\":\"keys\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"keys\",\"flag\":\"keys-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"const\":\"bold\"},{\"const\":\"italic\"},{\"const\":\"strike\"},{\"const\":\"underline\"},{\"const\":\"highlight\"},{\"const\":\"color\"},{\"const\":\"fontSize\"},{\"const\":\"fontFamily\"},{\"const\":\"letterSpacing\"},{\"const\":\"vertAlign\"},{\"const\":\"position\"},{\"const\":\"dstrike\"},{\"const\":\"smallCaps\"},{\"const\":\"caps\"},{\"const\":\"shading\"},{\"const\":\"border\"},{\"const\":\"outline\"},{\"const\":\"shadow\"},{\"const\":\"emboss\"},{\"const\":\"imprint\"},{\"const\":\"charScale\"},{\"const\":\"kerning\"},{\"const\":\"vanish\"},{\"const\":\"webHidden\"},{\"const\":\"specVanish\"},{\"const\":\"rtl\"},{\"const\":\"cs\"},{\"const\":\"bCs\"},{\"const\":\"iCs\"},{\"const\":\"eastAsianLayout\"},{\"const\":\"em\"},{\"const\":\"fitText\"},{\"const\":\"snapToGrid\"},{\"const\":\"lang\"},{\"const\":\"oMath\"},{\"const\":\"rStyle\"},{\"const\":\"rFonts\"},{\"const\":\"fontSizeCs\"},{\"const\":\"ligatures\"},{\"const\":\"numForm\"},{\"const\":\"numSpacing\"},{\"const\":\"stylisticSets\"},{\"const\":\"contextualAlternates\"}]},\"minItems\":1,\"description\":\"Inline properties to read. Defaults to every format.apply property.\"},\"description\":\"Inline properties to read. Defaults to every format.apply property.\"},{\"name\":\"view\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"view\",\"flag\":\"view\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"direct\"}],\"description\":\"\'effective\' (default) resolves the style cascade; \'direct\' reads run-level formatting only.\"},\"description\":\"\'effective\' (default) resolves the style cascade; \'direct\' reads run-level formatting only.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"ref\",\"flag\":\"ref\",\"required\":false,\"description\":\"Handle ref string from a search result.\"},{\"name\":\"selection\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"selection\",\"flag\":\"selection-json\",\"required\":false,\"schema\":{\"const\":\"current\",\"description\":\"Read the live editor selection, including pending caret formatting.\"},\"description\":\"Read the live editor selection, including pending caret formatting.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.readSelection\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.styles.apply\":{\"operationId\":\"doc.styles.apply\",\"sdkSurface\":\"document\",\"command\":\"styles apply\",\"commandTokens\":[\"styles\",\"apply\"],\"category\":\"format\",\"description\":\"Apply style changes to the active Style Definitions part. Targets docDefaults run and paragraph channels, or the run properties of an existing named paragraph style (scope \\\"style\\\"), with set-style patch semantics. Redefining a named style updates every paragraph that references it; its linked character style receives the same patch, null removes a property so the style inherits it again, and an object value replaces that property whole.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"scope\":{\"const\":\"docDefaults\"},\"channel\":{\"const\":\"run\"}},\"additionalProperties\":false,\"required\":[\"scope\",\"channel\"]},{\"type\":\"object\",\"properties\":{\"scope\":{\"const\":\"docDefaults\"},\"channel\":{\"const\":\"paragraph\"}},\"additionalProperties\":false,\"required\":[\"scope\",\"channel\"]},{\"type\":\"object\",\"properties\":{\"scope\":{\"const\":\"style\"},\"styleId\":{\"type\":\"string\"},\"channel\":{\"const\":\"run\"}},\"additionalProperties\":false,\"required\":[\"scope\",\"styleId\",\"channel\"]}]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"bold\":{\"type\":\"boolean\"},\"boldCs\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"iCs\":{\"type\":\"boolean\"},\"smallCaps\":{\"type\":\"boolean\"},\"strike\":{\"type\":\"boolean\"},\"dstrike\":{\"type\":\"boolean\"},\"emboss\":{\"type\":\"boolean\"},\"imprint\":{\"type\":\"boolean\"},\"outline\":{\"type\":\"boolean\"},\"shadow\":{\"type\":\"boolean\"},\"vanish\":{\"type\":\"boolean\"},\"webHidden\":{\"type\":\"boolean\"},\"specVanish\":{\"type\":\"boolean\"},\"snapToGrid\":{\"type\":\"boolean\"},\"noProof\":{\"type\":\"boolean\"},\"fontSize\":{\"type\":\"number\"},\"fontSizeCs\":{\"type\":\"number\"},\"letterSpacing\":{\"type\":\"number\"},\"kern\":{\"type\":\"number\"},\"position\":{\"type\":\"number\"},\"w\":{\"type\":\"number\"},\"textTransform\":{\"oneOf\":[{\"const\":\"uppercase\"},{\"const\":\"none\"}]},\"vertAlign\":{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},\"em\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"comma\"},{\"const\":\"circle\"},{\"const\":\"sesame\"}]},\"effect\":{\"type\":\"string\"},\"fontFamily\":{\"type\":\"object\",\"properties\":{\"hint\":{\"type\":\"string\"},\"ascii\":{\"type\":\"string\"},\"hAnsi\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"cs\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"},\"asciiTheme\":{\"type\":\"string\"},\"hAnsiTheme\":{\"type\":\"string\"},\"eastAsiaTheme\":{\"type\":\"string\"},\"cstheme\":{\"type\":\"string\"}},\"additionalProperties\":false},\"color\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},\"underline\":{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"const\":\"single\"},{\"const\":\"double\"},{\"const\":\"thick\"},{\"const\":\"dotted\"},{\"const\":\"dottedHeavy\"},{\"const\":\"dash\"},{\"const\":\"dashedHeavy\"},{\"const\":\"dashLong\"},{\"const\":\"dashLongHeavy\"},{\"const\":\"dotDash\"},{\"const\":\"dashDotHeavy\"},{\"const\":\"dotDotDash\"},{\"const\":\"dashDotDotHeavy\"},{\"const\":\"wave\"},{\"const\":\"wavyHeavy\"},{\"const\":\"wavyDouble\"},{\"const\":\"words\"},{\"const\":\"none\"}]},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},\"borders\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"shading\":{\"type\":\"object\",\"properties\":{\"color\":{\"type\":\"string\"},\"fill\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeFill\":{\"type\":\"string\"},\"themeFillShade\":{\"type\":\"string\"},\"themeFillTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"}},\"additionalProperties\":false},\"lang\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"bidi\":{\"type\":\"string\"}},\"additionalProperties\":false},\"eastAsianLayout\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"combine\":{\"type\":\"boolean\"},\"combineBrackets\":{\"type\":\"string\"},\"vert\":{\"type\":\"boolean\"},\"vertCompress\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"fitText\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"}},\"additionalProperties\":false}},\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"keepLines\":{\"type\":\"boolean\"},\"keepNext\":{\"type\":\"boolean\"},\"widowControl\":{\"type\":\"boolean\"},\"contextualSpacing\":{\"type\":\"boolean\"},\"pageBreakBefore\":{\"type\":\"boolean\"},\"suppressAutoHyphens\":{\"type\":\"boolean\"},\"suppressLineNumbers\":{\"type\":\"boolean\"},\"suppressOverlap\":{\"type\":\"boolean\"},\"mirrorIndents\":{\"type\":\"boolean\"},\"wordWrap\":{\"type\":\"boolean\"},\"kinsoku\":{\"type\":\"boolean\"},\"overflowPunct\":{\"type\":\"boolean\"},\"topLinePunct\":{\"type\":\"boolean\"},\"autoSpaceDE\":{\"type\":\"boolean\"},\"autoSpaceDN\":{\"type\":\"boolean\"},\"adjustRightInd\":{\"type\":\"boolean\"},\"rightToLeft\":{\"type\":\"boolean\"},\"snapToGrid\":{\"type\":\"boolean\"},\"outlineLvl\":{\"type\":\"number\"},\"justification\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"justify\"},{\"const\":\"distribute\"}]},\"textAlignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"baseline\"},{\"const\":\"bottom\"},{\"const\":\"auto\"}]},\"textDirection\":{\"oneOf\":[{\"const\":\"lrTb\"},{\"const\":\"tbRl\"},{\"const\":\"btLr\"},{\"const\":\"lrTbV\"},{\"const\":\"tbRlV\"},{\"const\":\"tbLrV\"}]},\"textboxTightWrap\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"allLines\"},{\"const\":\"firstAndLastLine\"},{\"const\":\"firstLineOnly\"},{\"const\":\"lastLineOnly\"}]},\"spacing\":{\"type\":\"object\",\"properties\":{\"after\":{\"type\":\"number\"},\"afterAutospacing\":{\"type\":\"boolean\"},\"afterLines\":{\"type\":\"number\"},\"before\":{\"type\":\"number\"},\"beforeAutospacing\":{\"type\":\"boolean\"},\"beforeLines\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"lineRule\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"exact\"},{\"const\":\"atLeast\"}]}},\"additionalProperties\":false},\"indent\":{\"type\":\"object\",\"properties\":{\"end\":{\"type\":\"number\"},\"endChars\":{\"type\":\"number\"},\"firstLine\":{\"type\":\"number\"},\"firstLineChars\":{\"type\":\"number\"},\"hanging\":{\"type\":\"number\"},\"hangingChars\":{\"type\":\"number\"},\"left\":{\"type\":\"number\"},\"leftChars\":{\"type\":\"number\"},\"right\":{\"type\":\"number\"},\"rightChars\":{\"type\":\"number\"},\"start\":{\"type\":\"number\"},\"startChars\":{\"type\":\"number\"}},\"additionalProperties\":false},\"shading\":{\"type\":\"object\",\"properties\":{\"color\":{\"type\":\"string\"},\"fill\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeFill\":{\"type\":\"string\"},\"themeFillShade\":{\"type\":\"string\"},\"themeFillTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"}},\"additionalProperties\":false},\"numberingProperties\":{\"type\":\"object\",\"properties\":{\"ilvl\":{\"type\":\"number\"},\"numId\":{\"type\":\"number\"}},\"additionalProperties\":false},\"framePr\":{\"type\":\"object\",\"properties\":{\"anchorLock\":{\"type\":\"boolean\"},\"dropCap\":{\"type\":\"string\"},\"h\":{\"type\":\"number\"},\"hAnchor\":{\"type\":\"string\"},\"hRule\":{\"type\":\"string\"},\"hSpace\":{\"type\":\"number\"},\"lines\":{\"type\":\"number\"},\"vAnchor\":{\"type\":\"string\"},\"vSpace\":{\"type\":\"number\"},\"w\":{\"type\":\"number\"},\"wrap\":{\"type\":\"string\"},\"x\":{\"type\":\"number\"},\"xAlign\":{\"type\":\"string\"},\"y\":{\"type\":\"number\"},\"yAlign\":{\"type\":\"string\"}},\"additionalProperties\":false},\"borders\":{\"type\":\"object\",\"properties\":{\"top\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"bottom\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"left\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"right\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"between\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"bar\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false}},\"additionalProperties\":false},\"tabStops\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"tab\":{\"type\":\"object\",\"properties\":{\"tabType\":{\"type\":\"string\"},\"pos\":{\"type\":\"number\"},\"leader\":{\"type\":\"string\"}},\"additionalProperties\":false}},\"additionalProperties\":false}}},\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"boldCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"italic\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"iCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"smallCaps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"strike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"dstrike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"emboss\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"imprint\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"outline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shadow\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"webHidden\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"specVanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"snapToGrid\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"noProof\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"fontSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"fontSizeCs\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"letterSpacing\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"kern\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"position\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"w\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"textTransform\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"uppercase\"},{\"const\":\"none\"}]},{\"type\":\"json\"}]},\"vertAlign\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]},\"em\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"comma\"},{\"const\":\"circle\"},{\"const\":\"sesame\"}]},{\"type\":\"json\"}]},\"effect\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fontFamily\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"hint\":{\"type\":\"string\"},\"ascii\":{\"type\":\"string\"},\"hAnsi\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"cs\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"},\"asciiTheme\":{\"type\":\"string\"},\"hAnsiTheme\":{\"type\":\"string\"},\"eastAsiaTheme\":{\"type\":\"string\"},\"cstheme\":{\"type\":\"string\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"underline\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"const\":\"single\"},{\"const\":\"double\"},{\"const\":\"thick\"},{\"const\":\"dotted\"},{\"const\":\"dottedHeavy\"},{\"const\":\"dash\"},{\"const\":\"dashedHeavy\"},{\"const\":\"dashLong\"},{\"const\":\"dashLongHeavy\"},{\"const\":\"dotDash\"},{\"const\":\"dashDotHeavy\"},{\"const\":\"dotDotDash\"},{\"const\":\"dashDotDotHeavy\"},{\"const\":\"wave\"},{\"const\":\"wavyHeavy\"},{\"const\":\"wavyDouble\"},{\"const\":\"words\"},{\"const\":\"none\"}]},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"borders\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"shading\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"color\":{\"type\":\"string\"},\"fill\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeFill\":{\"type\":\"string\"},\"themeFillShade\":{\"type\":\"string\"},\"themeFillTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"lang\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"bidi\":{\"type\":\"string\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"eastAsianLayout\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"combine\":{\"type\":\"boolean\"},\"combineBrackets\":{\"type\":\"string\"},\"vert\":{\"type\":\"boolean\"},\"vertCompress\":{\"type\":\"boolean\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"fitText\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"oMath\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rtl\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"highlight\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"black\"},{\"const\":\"blue\"},{\"const\":\"cyan\"},{\"const\":\"green\"},{\"const\":\"magenta\"},{\"const\":\"red\"},{\"const\":\"yellow\"},{\"const\":\"white\"},{\"const\":\"darkBlue\"},{\"const\":\"darkCyan\"},{\"const\":\"darkGreen\"},{\"const\":\"darkMagenta\"},{\"const\":\"darkRed\"},{\"const\":\"darkYellow\"},{\"const\":\"darkGray\"},{\"const\":\"lightGray\"},{\"const\":\"none\"}]},{\"type\":\"json\"}]}},\"additionalProperties\":false}]}}],\"constraints\":null,\"documentApiOperationId\":\"styles.apply\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.styles.create\":{\"operationId\":\"doc.styles.create\",\"sdkSurface\":\"document\",\"command\":\"styles create\",\"commandTokens\":[\"styles\",\"create\"],\"category\":\"format\",\"description\":\"Define or redefine a named paragraph or character style in the Style Definitions part. Replaces the definition rather than merging into it, and decides conflicts on both styleId and name, because Word keys its Styles gallery on the name. Linked style pairs and table/numbering styles are out of scope.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true},{\"name\":\"name\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"name\",\"flag\":\"name\",\"required\":true},{\"name\":\"basedOn\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"basedOn\",\"flag\":\"based-on-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"aliases\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"aliases\",\"flag\":\"aliases\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"name\":\"priority\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"priority\",\"flag\":\"priority-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"qFormat\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"qFormat\",\"flag\":\"q-format\",\"required\":false},{\"name\":\"hidden\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"hidden\",\"flag\":\"hidden\",\"required\":false},{\"name\":\"semiHidden\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"semiHidden\",\"flag\":\"semi-hidden\",\"required\":false},{\"name\":\"unhideWhenUsed\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"unhideWhenUsed\",\"flag\":\"unhide-when-used\",\"required\":false},{\"name\":\"locked\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"locked\",\"flag\":\"locked\",\"required\":false},{\"name\":\"custom\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"custom\",\"flag\":\"custom\",\"required\":false},{\"name\":\"conflictPolicy\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"conflictPolicy\",\"flag\":\"conflict-policy\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"fail\"},{\"const\":\"replace\"}]}},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"character\"}]}},{\"name\":\"next\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"next\",\"flag\":\"next-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"paragraph\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"paragraph\",\"flag\":\"paragraph-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"keepLines\":{\"type\":\"boolean\"},\"keepNext\":{\"type\":\"boolean\"},\"widowControl\":{\"type\":\"boolean\"},\"contextualSpacing\":{\"type\":\"boolean\"},\"pageBreakBefore\":{\"type\":\"boolean\"},\"suppressAutoHyphens\":{\"type\":\"boolean\"},\"suppressLineNumbers\":{\"type\":\"boolean\"},\"suppressOverlap\":{\"type\":\"boolean\"},\"mirrorIndents\":{\"type\":\"boolean\"},\"wordWrap\":{\"type\":\"boolean\"},\"kinsoku\":{\"type\":\"boolean\"},\"overflowPunct\":{\"type\":\"boolean\"},\"topLinePunct\":{\"type\":\"boolean\"},\"autoSpaceDE\":{\"type\":\"boolean\"},\"autoSpaceDN\":{\"type\":\"boolean\"},\"adjustRightInd\":{\"type\":\"boolean\"},\"rightToLeft\":{\"type\":\"boolean\"},\"snapToGrid\":{\"type\":\"boolean\"},\"outlineLvl\":{\"type\":\"number\"},\"justification\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"justify\"},{\"const\":\"distribute\"}]},\"textAlignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"baseline\"},{\"const\":\"bottom\"},{\"const\":\"auto\"}]},\"textDirection\":{\"oneOf\":[{\"const\":\"lrTb\"},{\"const\":\"tbRl\"},{\"const\":\"btLr\"},{\"const\":\"lrTbV\"},{\"const\":\"tbRlV\"},{\"const\":\"tbLrV\"}]},\"textboxTightWrap\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"allLines\"},{\"const\":\"firstAndLastLine\"},{\"const\":\"firstLineOnly\"},{\"const\":\"lastLineOnly\"}]},\"spacing\":{\"type\":\"object\",\"properties\":{\"after\":{\"type\":\"number\"},\"afterAutospacing\":{\"type\":\"boolean\"},\"afterLines\":{\"type\":\"number\"},\"before\":{\"type\":\"number\"},\"beforeAutospacing\":{\"type\":\"boolean\"},\"beforeLines\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"lineRule\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"exact\"},{\"const\":\"atLeast\"}]}},\"additionalProperties\":false},\"indent\":{\"type\":\"object\",\"properties\":{\"end\":{\"type\":\"number\"},\"endChars\":{\"type\":\"number\"},\"firstLine\":{\"type\":\"number\"},\"firstLineChars\":{\"type\":\"number\"},\"hanging\":{\"type\":\"number\"},\"hangingChars\":{\"type\":\"number\"},\"left\":{\"type\":\"number\"},\"leftChars\":{\"type\":\"number\"},\"right\":{\"type\":\"number\"},\"rightChars\":{\"type\":\"number\"},\"start\":{\"type\":\"number\"},\"startChars\":{\"type\":\"number\"}},\"additionalProperties\":false},\"shading\":{\"type\":\"object\",\"properties\":{\"color\":{\"type\":\"string\"},\"fill\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeFill\":{\"type\":\"string\"},\"themeFillShade\":{\"type\":\"string\"},\"themeFillTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"}},\"additionalProperties\":false},\"numberingProperties\":{\"type\":\"object\",\"properties\":{\"ilvl\":{\"type\":\"number\"},\"numId\":{\"type\":\"number\"}},\"additionalProperties\":false},\"framePr\":{\"type\":\"object\",\"properties\":{\"anchorLock\":{\"type\":\"boolean\"},\"dropCap\":{\"type\":\"string\"},\"h\":{\"type\":\"number\"},\"hAnchor\":{\"type\":\"string\"},\"hRule\":{\"type\":\"string\"},\"hSpace\":{\"type\":\"number\"},\"lines\":{\"type\":\"number\"},\"vAnchor\":{\"type\":\"string\"},\"vSpace\":{\"type\":\"number\"},\"w\":{\"type\":\"number\"},\"wrap\":{\"type\":\"string\"},\"x\":{\"type\":\"number\"},\"xAlign\":{\"type\":\"string\"},\"y\":{\"type\":\"number\"},\"yAlign\":{\"type\":\"string\"}},\"additionalProperties\":false},\"borders\":{\"type\":\"object\",\"properties\":{\"top\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"bottom\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"left\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"right\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"between\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"bar\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false}},\"additionalProperties\":false},\"tabStops\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"tab\":{\"type\":\"object\",\"properties\":{\"tabType\":{\"type\":\"string\"},\"pos\":{\"type\":\"number\"},\"leader\":{\"type\":\"string\"}},\"additionalProperties\":false}},\"additionalProperties\":false}}},\"additionalProperties\":false}},{\"name\":\"run\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"run\",\"flag\":\"run-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"bold\":{\"type\":\"boolean\"},\"boldCs\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"iCs\":{\"type\":\"boolean\"},\"smallCaps\":{\"type\":\"boolean\"},\"strike\":{\"type\":\"boolean\"},\"dstrike\":{\"type\":\"boolean\"},\"emboss\":{\"type\":\"boolean\"},\"imprint\":{\"type\":\"boolean\"},\"outline\":{\"type\":\"boolean\"},\"shadow\":{\"type\":\"boolean\"},\"vanish\":{\"type\":\"boolean\"},\"webHidden\":{\"type\":\"boolean\"},\"specVanish\":{\"type\":\"boolean\"},\"snapToGrid\":{\"type\":\"boolean\"},\"noProof\":{\"type\":\"boolean\"},\"fontSize\":{\"type\":\"number\"},\"fontSizeCs\":{\"type\":\"number\"},\"letterSpacing\":{\"type\":\"number\"},\"kern\":{\"type\":\"number\"},\"position\":{\"type\":\"number\"},\"w\":{\"type\":\"number\"},\"textTransform\":{\"oneOf\":[{\"const\":\"uppercase\"},{\"const\":\"none\"}]},\"vertAlign\":{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},\"em\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"comma\"},{\"const\":\"circle\"},{\"const\":\"sesame\"}]},\"effect\":{\"type\":\"string\"},\"fontFamily\":{\"type\":\"object\",\"properties\":{\"hint\":{\"type\":\"string\"},\"ascii\":{\"type\":\"string\"},\"hAnsi\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"cs\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"},\"asciiTheme\":{\"type\":\"string\"},\"hAnsiTheme\":{\"type\":\"string\"},\"eastAsiaTheme\":{\"type\":\"string\"},\"cstheme\":{\"type\":\"string\"}},\"additionalProperties\":false},\"color\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},\"underline\":{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"const\":\"single\"},{\"const\":\"double\"},{\"const\":\"thick\"},{\"const\":\"dotted\"},{\"const\":\"dottedHeavy\"},{\"const\":\"dash\"},{\"const\":\"dashedHeavy\"},{\"const\":\"dashLong\"},{\"const\":\"dashLongHeavy\"},{\"const\":\"dotDash\"},{\"const\":\"dashDotHeavy\"},{\"const\":\"dotDotDash\"},{\"const\":\"dashDotDotHeavy\"},{\"const\":\"wave\"},{\"const\":\"wavyHeavy\"},{\"const\":\"wavyDouble\"},{\"const\":\"words\"},{\"const\":\"none\"}]},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"}},\"additionalProperties\":false},\"borders\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"shadow\":{\"type\":\"boolean\"},\"frame\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"shading\":{\"type\":\"object\",\"properties\":{\"color\":{\"type\":\"string\"},\"fill\":{\"type\":\"string\"},\"themeColor\":{\"type\":\"string\"},\"themeFill\":{\"type\":\"string\"},\"themeFillShade\":{\"type\":\"string\"},\"themeFillTint\":{\"type\":\"string\"},\"themeShade\":{\"type\":\"string\"},\"themeTint\":{\"type\":\"string\"},\"val\":{\"type\":\"string\"}},\"additionalProperties\":false},\"lang\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"bidi\":{\"type\":\"string\"}},\"additionalProperties\":false},\"eastAsianLayout\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"combine\":{\"type\":\"boolean\"},\"combineBrackets\":{\"type\":\"string\"},\"vert\":{\"type\":\"boolean\"},\"vertCompress\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"fitText\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"}},\"additionalProperties\":false},\"cs\":{\"type\":\"boolean\"},\"oMath\":{\"type\":\"boolean\"},\"rtl\":{\"type\":\"boolean\"},\"highlight\":{\"oneOf\":[{\"const\":\"black\"},{\"const\":\"blue\"},{\"const\":\"cyan\"},{\"const\":\"green\"},{\"const\":\"magenta\"},{\"const\":\"red\"},{\"const\":\"yellow\"},{\"const\":\"white\"},{\"const\":\"darkBlue\"},{\"const\":\"darkCyan\"},{\"const\":\"darkGreen\"},{\"const\":\"darkMagenta\"},{\"const\":\"darkRed\"},{\"const\":\"darkYellow\"},{\"const\":\"darkGray\"},{\"const\":\"lightGray\"},{\"const\":\"none\"}]}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"styles.create\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.styles.getCatalog\":{\"operationId\":\"doc.styles.getCatalog\",\"sdkSurface\":\"document\",\"command\":\"styles get-catalog\",\"commandTokens\":[\"styles\",\"get-catalog\"],\"category\":\"format\",\"description\":\"List the available styles as a normalized catalogue with stable IDs, display names, type, visibility, priority, provenance, and source diagnostics. Supports view (quickGallery/recommended/currentDocument/all/inUse), type filtering, hidden/latent inclusion, usage rollups, and UI-safe preview tokens. Distinct from DocumentInfo.styles, which is a usage summary.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"view\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"view\",\"flag\":\"view\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"quickGallery\"},{\"const\":\"recommended\"},{\"const\":\"currentDocument\"},{\"const\":\"all\"},{\"const\":\"inUse\"}]}},{\"name\":\"types\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"types\",\"flag\":\"types-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"character\"},{\"const\":\"linked\"},{\"const\":\"table\"},{\"const\":\"numbering\"}]}}},{\"name\":\"includeHidden\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeHidden\",\"flag\":\"include-hidden\",\"required\":false},{\"name\":\"includeLatent\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeLatent\",\"flag\":\"include-latent\",\"required\":false},{\"name\":\"includeUsage\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeUsage\",\"flag\":\"include-usage\",\"required\":false},{\"name\":\"includePreview\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includePreview\",\"flag\":\"include-preview\",\"required\":false},{\"name\":\"includeDiagnostics\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeDiagnostics\",\"flag\":\"include-diagnostics\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"styles.getCatalog\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.styles.getTheme\":{\"operationId\":\"doc.styles.getTheme\",\"sdkSurface\":\"document\",\"command\":\"styles get-theme\",\"commandTokens\":[\"styles\",\"get-theme\"],\"category\":\"format\",\"description\":\"Read the document theme: its 12 theme colors, major and minor fonts, and the color mapping from settings.xml. A missing or malformed theme part returns the default Office theme labeled source \'fallback\', with part status and diagnostics. Same theme as doc.get().theme, without the rest of the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"styles.getTheme\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.templates.apply\":{\"operationId\":\"doc.templates.apply\",\"sdkSurface\":\"document\",\"command\":\"templates apply\",\"commandTokens\":[\"templates\",\"apply\"],\"category\":\"core\",\"description\":\"Apply detected DOCX template/substrate (styles, numbering, settings, theme, font table, web settings, headers/footers, section defaults) from a source package onto the current document, preserving body content. Scopes are auto-detected from source package evidence.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"source\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"source\",\"flag\":\"source-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"path\"},\"path\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"path\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"base64\"},\"data\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"data\"]}]}},{\"name\":\"bodyPolicy\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"bodyPolicy\",\"flag\":\"body-policy-json\",\"required\":false,\"schema\":{\"const\":\"preserve\"}}],\"constraints\":null,\"documentApiOperationId\":\"templates.apply\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.create.paragraph\":{\"operationId\":\"doc.create.paragraph\",\"sdkSurface\":\"document\",\"command\":\"create paragraph\",\"commandTokens\":[\"create\",\"paragraph\"],\"category\":\"create\",\"description\":\"Create a standalone paragraph at the target position. To add a list item, use lists.insert instead.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}],\"description\":\"Position: {kind:\'documentEnd\'} to append, {kind:\'documentStart\'} to prepend, or {kind:\'before\'|\'after\', target:{kind:\'block\', nodeType:\'...\', nodeId:\'...\'}} for relative placement.\"},\"description\":\"Position: {kind:\'documentEnd\'} to append, {kind:\'documentStart\'} to prepend, or {kind:\'before\'|\'after\', target:{kind:\'block\', nodeType:\'...\', nodeId:\'...\'}} for relative placement.\"},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"description\":\"Paragraph text content. Each call creates ONE paragraph. For multiple items (e.g. list items), call superdoc_create separately for each item: do NOT use newlines to put multiple items in one paragraph.\"},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":false,\"description\":\"Explicit paragraph style id (e.g. \\\"BodyText\\\") to apply instead of the default resolved from the anchor/document. An unknown style id fails with INVALID_INPUT and does not mutate the document.\"},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Full paragraph input as JSON (alternative to individual text/at params).\"}],\"constraints\":null,\"documentApiOperationId\":\"create.paragraph\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"create\",\"intentAction\":\"paragraph\",\"hasFailureResult\":true},\"doc.create.heading\":{\"operationId\":\"doc.create.heading\",\"sdkSurface\":\"document\",\"command\":\"create heading\",\"commandTokens\":[\"create\",\"heading\"],\"category\":\"create\",\"description\":\"Create a new heading at the target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false,\"description\":\"Heading level (1-6).\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}],\"description\":\"Position: {kind:\'documentEnd\'} to append, {kind:\'documentStart\'} to prepend, or {kind:\'before\'|\'after\', target:{kind:\'block\', nodeType:\'...\', nodeId:\'...\'}} for relative placement.\"},\"description\":\"Position: {kind:\'documentEnd\'} to append, {kind:\'documentStart\'} to prepend, or {kind:\'before\'|\'after\', target:{kind:\'block\', nodeType:\'...\', nodeId:\'...\'}} for relative placement.\"},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"description\":\"Heading text content.\"},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":false,\"description\":\"Explicit paragraph style id to apply instead of the Heading{level} style normally derived from level. level still controls numbering suppression regardless of this override. An unknown style id fails with INVALID_INPUT and does not mutate the document.\"},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Full heading input as JSON (alternative to individual text/level/at params).\"}],\"constraints\":null,\"documentApiOperationId\":\"create.heading\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"create\",\"intentAction\":\"heading\",\"hasFailureResult\":true},\"doc.create.sectionBreak\":{\"operationId\":\"doc.create.sectionBreak\",\"sdkSurface\":\"document\",\"command\":\"create section-break\",\"commandTokens\":[\"create\",\"section-break\"],\"category\":\"create\",\"description\":\"Create a section break at the target location with optional initial section properties.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}},{\"name\":\"representation\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"representation\",\"flag\":\"representation\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"asNewParagraph\"},{\"const\":\"attachToPreviousParagraph\"}]}},{\"name\":\"breakType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"breakType\",\"flag\":\"break-type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"continuous\"},{\"const\":\"nextPage\"},{\"const\":\"evenPage\"},{\"const\":\"oddPage\"}]}},{\"name\":\"pageMargins\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"pageMargins\",\"flag\":\"page-margins-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"top\":{\"type\":\"number\"},\"right\":{\"type\":\"number\"},\"bottom\":{\"type\":\"number\"},\"left\":{\"type\":\"number\"},\"gutter\":{\"type\":\"number\"}},\"additionalProperties\":false}},{\"name\":\"headerFooterMargins\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"headerFooterMargins\",\"flag\":\"header-footer-margins-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"header\":{\"type\":\"number\"},\"footer\":{\"type\":\"number\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"create.sectionBreak\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.list\":{\"operationId\":\"doc.sections.list\",\"sdkSurface\":\"document\",\"command\":\"sections list\",\"commandTokens\":[\"sections\",\"list\"],\"category\":\"sections\",\"description\":\"List sections in deterministic order with section-target handles.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"sections.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.sections.get\":{\"operationId\":\"doc.sections.get\",\"sdkSurface\":\"document\",\"command\":\"sections get\",\"commandTokens\":[\"sections\",\"get\"],\"category\":\"sections\",\"description\":\"Retrieve full section information by section address.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"address\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"address\",\"flag\":\"address-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.sections.setBreakType\":{\"operationId\":\"doc.sections.setBreakType\",\"sdkSurface\":\"document\",\"command\":\"sections set-break-type\",\"commandTokens\":[\"sections\",\"set-break-type\"],\"category\":\"sections\",\"description\":\"Set the section break type.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"breakType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"breakType\",\"flag\":\"break-type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"continuous\"},{\"const\":\"nextPage\"},{\"const\":\"evenPage\"},{\"const\":\"oddPage\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setBreakType\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setPageMargins\":{\"operationId\":\"doc.sections.setPageMargins\",\"sdkSurface\":\"document\",\"command\":\"sections set-page-margins\",\"commandTokens\":[\"sections\",\"set-page-margins\"],\"category\":\"sections\",\"description\":\"Set page-edge margins for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"top\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"top\",\"flag\":\"top\",\"required\":false},{\"name\":\"right\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"right\",\"flag\":\"right\",\"required\":false},{\"name\":\"bottom\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"bottom\",\"flag\":\"bottom\",\"required\":false},{\"name\":\"left\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"left\",\"flag\":\"left\",\"required\":false},{\"name\":\"gutter\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"gutter\",\"flag\":\"gutter\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"sections.setPageMargins\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setHeaderFooterMargins\":{\"operationId\":\"doc.sections.setHeaderFooterMargins\",\"sdkSurface\":\"document\",\"command\":\"sections set-header-footer-margins\",\"commandTokens\":[\"sections\",\"set-header-footer-margins\"],\"category\":\"sections\",\"description\":\"Set header/footer margin distances for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"header\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"header\",\"flag\":\"header\",\"required\":false},{\"name\":\"footer\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"footer\",\"flag\":\"footer\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"sections.setHeaderFooterMargins\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setPageSetup\":{\"operationId\":\"doc.sections.setPageSetup\",\"sdkSurface\":\"document\",\"command\":\"sections set-page-setup\",\"commandTokens\":[\"sections\",\"set-page-setup\"],\"category\":\"sections\",\"description\":\"Set page size/orientation properties for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"width\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"width\",\"flag\":\"width\",\"required\":false},{\"name\":\"height\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"height\",\"flag\":\"height\",\"required\":false},{\"name\":\"orientation\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"orientation\",\"flag\":\"orientation\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"portrait\"},{\"const\":\"landscape\"}]}},{\"name\":\"paperSize\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"paperSize\",\"flag\":\"paper-size\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"sections.setPageSetup\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setColumns\":{\"operationId\":\"doc.sections.setColumns\",\"sdkSurface\":\"document\",\"command\":\"sections set-columns\",\"commandTokens\":[\"sections\",\"set-columns\"],\"category\":\"sections\",\"description\":\"Set column configuration for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"count\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"count\",\"flag\":\"count\",\"required\":false},{\"name\":\"gap\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"gap\",\"flag\":\"gap\",\"required\":false},{\"name\":\"equalWidth\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"equalWidth\",\"flag\":\"equal-width\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"sections.setColumns\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setLineNumbering\":{\"operationId\":\"doc.sections.setLineNumbering\",\"sdkSurface\":\"document\",\"command\":\"sections set-line-numbering\",\"commandTokens\":[\"sections\",\"set-line-numbering\"],\"category\":\"sections\",\"description\":\"Enable or configure line numbering for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"enabled\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"enabled\",\"flag\":\"enabled\",\"required\":true},{\"name\":\"countBy\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"countBy\",\"flag\":\"count-by\",\"required\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"start\",\"flag\":\"start\",\"required\":false},{\"name\":\"distance\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"distance\",\"flag\":\"distance\",\"required\":false},{\"name\":\"restart\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"restart\",\"flag\":\"restart\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"continuous\"},{\"const\":\"newPage\"},{\"const\":\"newSection\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setLineNumbering\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setPageNumbering\":{\"operationId\":\"doc.sections.setPageNumbering\",\"sdkSurface\":\"document\",\"command\":\"sections set-page-numbering\",\"commandTokens\":[\"sections\",\"set-page-numbering\"],\"category\":\"sections\",\"description\":\"Set page numbering format/start and chapter numbering settings for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"lowerLetter\"},{\"const\":\"upperLetter\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"numberInDash\"},{\"const\":\"hebrew1\"},{\"const\":\"hebrew2\"}]}},{\"name\":\"chapterStyle\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"chapterStyle\",\"flag\":\"chapter-style\",\"required\":false},{\"name\":\"chapterSeparator\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"chapterSeparator\",\"flag\":\"chapter-separator\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"hyphen\"},{\"const\":\"period\"},{\"const\":\"colon\"},{\"const\":\"emDash\"},{\"const\":\"enDash\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setPageNumbering\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setTitlePage\":{\"operationId\":\"doc.sections.setTitlePage\",\"sdkSurface\":\"document\",\"command\":\"sections set-title-page\",\"commandTokens\":[\"sections\",\"set-title-page\"],\"category\":\"sections\",\"description\":\"Enable or disable title-page behavior for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"enabled\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"enabled\",\"flag\":\"enabled\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"sections.setTitlePage\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setOddEvenHeadersFooters\":{\"operationId\":\"doc.sections.setOddEvenHeadersFooters\",\"sdkSurface\":\"document\",\"command\":\"sections set-odd-even-headers-footers\",\"commandTokens\":[\"sections\",\"set-odd-even-headers-footers\"],\"category\":\"sections\",\"description\":\"Enable or disable odd/even header-footer mode in document settings.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"enabled\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"enabled\",\"flag\":\"enabled\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"sections.setOddEvenHeadersFooters\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setVerticalAlign\":{\"operationId\":\"doc.sections.setVerticalAlign\",\"sdkSurface\":\"document\",\"command\":\"sections set-vertical-align\",\"commandTokens\":[\"sections\",\"set-vertical-align\"],\"category\":\"sections\",\"description\":\"Set vertical page alignment for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"},{\"const\":\"both\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setVerticalAlign\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setSectionDirection\":{\"operationId\":\"doc.sections.setSectionDirection\",\"sdkSurface\":\"document\",\"command\":\"sections set-section-direction\",\"commandTokens\":[\"sections\",\"set-section-direction\"],\"category\":\"sections\",\"description\":\"Set section text flow direction (LTR/RTL).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"direction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"direction\",\"flag\":\"direction\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"ltr\"},{\"const\":\"rtl\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setSectionDirection\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setHeaderFooterRef\":{\"operationId\":\"doc.sections.setHeaderFooterRef\",\"sdkSurface\":\"document\",\"command\":\"sections set-header-footer-ref\",\"commandTokens\":[\"sections\",\"set-header-footer-ref\"],\"category\":\"sections\",\"description\":\"Set or replace a section header/footer reference for a variant.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"variant\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"variant\",\"flag\":\"variant\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},{\"name\":\"refId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"refId\",\"flag\":\"ref-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"sections.setHeaderFooterRef\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.clearHeaderFooterRef\":{\"operationId\":\"doc.sections.clearHeaderFooterRef\",\"sdkSurface\":\"document\",\"command\":\"sections clear-header-footer-ref\",\"commandTokens\":[\"sections\",\"clear-header-footer-ref\"],\"category\":\"sections\",\"description\":\"Clear a section header/footer reference for a specific variant.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"variant\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"variant\",\"flag\":\"variant\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.clearHeaderFooterRef\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setLinkToPrevious\":{\"operationId\":\"doc.sections.setLinkToPrevious\",\"sdkSurface\":\"document\",\"command\":\"sections set-link-to-previous\",\"commandTokens\":[\"sections\",\"set-link-to-previous\"],\"category\":\"sections\",\"description\":\"Set or clear link-to-previous behavior for a header/footer variant.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"variant\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"variant\",\"flag\":\"variant\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},{\"name\":\"linked\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"linked\",\"flag\":\"linked\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"sections.setLinkToPrevious\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.setPageBorders\":{\"operationId\":\"doc.sections.setPageBorders\",\"sdkSurface\":\"document\",\"command\":\"sections set-page-borders\",\"commandTokens\":[\"sections\",\"set-page-borders\"],\"category\":\"sections\",\"description\":\"Set page border configuration for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"borders\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"borders\",\"flag\":\"borders-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"json\"},{\"type\":\"json\"},{\"type\":\"json\"},{\"type\":\"json\"},{\"type\":\"json\"},{\"type\":\"json\"},{\"type\":\"json\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.setPageBorders\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.sections.clearPageBorders\":{\"operationId\":\"doc.sections.clearPageBorders\",\"sdkSurface\":\"document\",\"command\":\"sections clear-page-borders\",\"commandTokens\":[\"sections\",\"clear-page-borders\"],\"category\":\"sections\",\"description\":\"Clear page border configuration for a section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"sections.clearPageBorders\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.styles.paragraph.setStyle\":{\"operationId\":\"doc.styles.paragraph.setStyle\",\"sdkSurface\":\"document\",\"command\":\"styles paragraph set-style\",\"commandTokens\":[\"styles\",\"paragraph\",\"set-style\"],\"category\":\"format\",\"description\":\"Apply a paragraph style (w:pStyle) to a paragraph-like block, clearing direct run formatting while preserving character-style references.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":false,\"description\":\"Named paragraph style ID (e.g. \'Normal\', \'Heading1\', \'BodyText\'). Use superdoc_search to find a nearby paragraph, then inspect its style to determine the correct styleId.\"},{\"name\":\"role\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"role\",\"flag\":\"role-json\",\"required\":false,\"schema\":{\"type\":\"json\",\"description\":\"Semantic built-in style intent, resolved to the document authored style identity.\"},\"description\":\"Semantic built-in style intent, resolved to the document authored style identity.\"}],\"constraints\":null,\"documentApiOperationId\":\"styles.paragraph.setStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_style\",\"hasFailureResult\":true},\"doc.styles.paragraph.setStyleRef\":{\"operationId\":\"doc.styles.paragraph.setStyleRef\",\"sdkSurface\":\"document\",\"command\":\"styles paragraph set-style-ref\",\"commandTokens\":[\"styles\",\"paragraph\",\"set-style-ref\"],\"category\":\"format\",\"description\":\"Apply a paragraph style (w:pStyle) to a paragraph-like block without clearing direct run formatting.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":true,\"description\":\"Named paragraph style ID (e.g. \'Normal\', \'Heading1\'). Unlike setStyle, existing run formatting is preserved.\"}],\"constraints\":null,\"documentApiOperationId\":\"styles.paragraph.setStyleRef\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_style_ref\",\"hasFailureResult\":true},\"doc.styles.paragraph.clearStyle\":{\"operationId\":\"doc.styles.paragraph.clearStyle\",\"sdkSurface\":\"document\",\"command\":\"styles paragraph clear-style\",\"commandTokens\":[\"styles\",\"paragraph\",\"clear-style\"],\"category\":\"format\",\"description\":\"Remove the paragraph style reference from a paragraph-like block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"styles.paragraph.clearStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.resetDirectFormatting\":{\"operationId\":\"doc.format.paragraph.resetDirectFormatting\",\"sdkSurface\":\"document\",\"command\":\"format paragraph reset-direct-formatting\",\"commandTokens\":[\"format\",\"paragraph\",\"reset-direct-formatting\"],\"category\":\"format\",\"description\":\"Strip all direct paragraph formatting while preserving style reference, numbering, and section metadata.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.resetDirectFormatting\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setAlignment\":{\"operationId\":\"doc.format.paragraph.setAlignment\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-alignment\",\"commandTokens\":[\"format\",\"paragraph\",\"set-alignment\"],\"category\":\"format\",\"description\":\"Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"justify\"}],\"description\":\"Visual paragraph alignment. In RTL paragraphs, \'left\' stores w:jc=\'right\' and \'right\' stores w:jc=\'left\' so Word displays the requested side.\"},\"description\":\"Visual paragraph alignment. In RTL paragraphs, \'left\' stores w:jc=\'right\' and \'right\' stores w:jc=\'left\' so Word displays the requested side.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setAlignment\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_alignment\",\"hasFailureResult\":true},\"doc.format.paragraph.clearAlignment\":{\"operationId\":\"doc.format.paragraph.clearAlignment\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-alignment\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-alignment\"],\"category\":\"format\",\"description\":\"Remove direct paragraph alignment, reverting to style-defined or default alignment.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearAlignment\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setIndentation\":{\"operationId\":\"doc.format.paragraph.setIndentation\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-indentation\",\"commandTokens\":[\"format\",\"paragraph\",\"set-indentation\"],\"category\":\"format\",\"description\":\"Set paragraph indentation properties (signed left/right, firstLine, hanging) in twips.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"left\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"left\",\"flag\":\"left\",\"required\":false,\"description\":\"Left indentation in twips (1440 = 1 inch).\"},{\"name\":\"right\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"right\",\"flag\":\"right\",\"required\":false,\"description\":\"Right indentation in twips (1440 = 1 inch).\"},{\"name\":\"firstLine\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"firstLine\",\"flag\":\"first-line\",\"required\":false,\"description\":\"First line indent in twips. Cannot be combined with hanging.\"},{\"name\":\"hanging\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"hanging\",\"flag\":\"hanging\",\"required\":false,\"description\":\"Hanging indent in twips. Cannot be combined with firstLine.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setIndentation\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_indentation\",\"hasFailureResult\":true},\"doc.format.paragraph.clearIndentation\":{\"operationId\":\"doc.format.paragraph.clearIndentation\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-indentation\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-indentation\"],\"category\":\"format\",\"description\":\"Remove all direct paragraph indentation.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearIndentation\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setSpacing\":{\"operationId\":\"doc.format.paragraph.setSpacing\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-spacing\",\"commandTokens\":[\"format\",\"paragraph\",\"set-spacing\"],\"category\":\"format\",\"description\":\"Set paragraph spacing properties (before, after, line, lineRule) in twips.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"before\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"before\",\"flag\":\"before\",\"required\":false,\"description\":\"Space before paragraph in twips (20 twips = 1pt).\"},{\"name\":\"after\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"after\",\"flag\":\"after\",\"required\":false,\"description\":\"Space after paragraph in twips (20 twips = 1pt).\"},{\"name\":\"line\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"line\",\"flag\":\"line\",\"required\":false,\"description\":\"Line spacing value. Meaning depends on lineRule. Must be provided together with lineRule.\"},{\"name\":\"lineRule\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lineRule\",\"flag\":\"line-rule\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"exact\"},{\"const\":\"atLeast\"}],\"description\":\"Line spacing rule. Required when \'line\' is set.\"},\"description\":\"Line spacing rule. Required when \'line\' is set.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setSpacing\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_spacing\",\"hasFailureResult\":true},\"doc.format.paragraph.clearSpacing\":{\"operationId\":\"doc.format.paragraph.clearSpacing\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-spacing\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-spacing\"],\"category\":\"format\",\"description\":\"Remove all direct paragraph spacing.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearSpacing\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setKeepOptions\":{\"operationId\":\"doc.format.paragraph.setKeepOptions\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-keep-options\",\"commandTokens\":[\"format\",\"paragraph\",\"set-keep-options\"],\"category\":\"format\",\"description\":\"Set keep-with-next, keep-lines-together, and widow/orphan control flags.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"keepNext\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"keepNext\",\"flag\":\"keep-next\",\"required\":false},{\"name\":\"keepLines\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"keepLines\",\"flag\":\"keep-lines\",\"required\":false},{\"name\":\"widowControl\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"widowControl\",\"flag\":\"widow-control\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setKeepOptions\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setOutlineLevel\":{\"operationId\":\"doc.format.paragraph.setOutlineLevel\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-outline-level\",\"commandTokens\":[\"format\",\"paragraph\",\"set-outline-level\"],\"category\":\"format\",\"description\":\"Set the paragraph outline level (0\u{2013}9) or null to clear.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"outlineLevel\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"outlineLevel\",\"flag\":\"outline-level-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setOutlineLevel\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setFlowOptions\":{\"operationId\":\"doc.format.paragraph.setFlowOptions\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-flow-options\",\"commandTokens\":[\"format\",\"paragraph\",\"set-flow-options\"],\"category\":\"format\",\"description\":\"Set paragraph flow flags: contextual spacing, page-break-before, suppress-auto-hyphens, and the advanced layout toggles auto-space-DE, auto-space-DN, adjust-right-indent, and snap-to-grid.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"contextualSpacing\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"contextualSpacing\",\"flag\":\"contextual-spacing\",\"required\":false},{\"name\":\"pageBreakBefore\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"pageBreakBefore\",\"flag\":\"page-break-before\",\"required\":false},{\"name\":\"suppressAutoHyphens\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"suppressAutoHyphens\",\"flag\":\"suppress-auto-hyphens\",\"required\":false},{\"name\":\"autoSpaceDE\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"autoSpaceDE\",\"flag\":\"auto-space-d-e\",\"required\":false},{\"name\":\"autoSpaceDN\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"autoSpaceDN\",\"flag\":\"auto-space-d-n\",\"required\":false},{\"name\":\"adjustRightInd\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"adjustRightInd\",\"flag\":\"adjust-right-ind\",\"required\":false},{\"name\":\"snapToGrid\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"snapToGrid\",\"flag\":\"snap-to-grid\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setFlowOptions\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_flow_options\",\"hasFailureResult\":true},\"doc.format.paragraph.setTabStop\":{\"operationId\":\"doc.format.paragraph.setTabStop\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-tab-stop\",\"commandTokens\":[\"format\",\"paragraph\",\"set-tab-stop\"],\"category\":\"format\",\"description\":\"Add or replace a tab stop at a given position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":false},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"decimal\"},{\"const\":\"bar\"},{\"const\":\"clear\"}]}},{\"name\":\"leader\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"leader\",\"flag\":\"leader\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"hyphen\"},{\"const\":\"underscore\"},{\"const\":\"heavy\"},{\"const\":\"middleDot\"}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setTabStop\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.clearTabStop\":{\"operationId\":\"doc.format.paragraph.clearTabStop\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-tab-stop\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-tab-stop\"],\"category\":\"format\",\"description\":\"Remove a tab stop at a given position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearTabStop\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.clearAllTabStops\":{\"operationId\":\"doc.format.paragraph.clearAllTabStops\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-all-tab-stops\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-all-tab-stops\"],\"category\":\"format\",\"description\":\"Remove all tab stops from a paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearAllTabStops\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setBorder\":{\"operationId\":\"doc.format.paragraph.setBorder\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-border\",\"commandTokens\":[\"format\",\"paragraph\",\"set-border\"],\"category\":\"format\",\"description\":\"Set border properties for a specific side of a paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"side\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"side\",\"flag\":\"side\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"bottom\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"between\"},{\"const\":\"bar\"}]}},{\"name\":\"style\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"style\",\"flag\":\"style\",\"required\":false},{\"name\":\"color\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"color\",\"flag\":\"color\",\"required\":false},{\"name\":\"size\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"size\",\"flag\":\"size\",\"required\":false},{\"name\":\"space\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"space\",\"flag\":\"space\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setBorder\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.clearBorder\":{\"operationId\":\"doc.format.paragraph.clearBorder\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-border\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-border\"],\"category\":\"format\",\"description\":\"Remove border for a specific side or all sides of a paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"side\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"side\",\"flag\":\"side\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"bottom\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"between\"},{\"const\":\"bar\"},{\"const\":\"all\"}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearBorder\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setShading\":{\"operationId\":\"doc.format.paragraph.setShading\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-shading\",\"commandTokens\":[\"format\",\"paragraph\",\"set-shading\"],\"category\":\"format\",\"description\":\"Set paragraph shading (background fill, pattern color, pattern type).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"fill\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"fill\",\"flag\":\"fill\",\"required\":false},{\"name\":\"color\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"color\",\"flag\":\"color\",\"required\":false},{\"name\":\"pattern\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"pattern\",\"flag\":\"pattern\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setShading\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.clearShading\":{\"operationId\":\"doc.format.paragraph.clearShading\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-shading\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-shading\"],\"category\":\"format\",\"description\":\"Remove all paragraph shading.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearShading\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setMarkRunProps\":{\"operationId\":\"doc.format.paragraph.setMarkRunProps\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-mark-run-props\",\"commandTokens\":[\"format\",\"paragraph\",\"set-mark-run-props\"],\"category\":\"format\",\"description\":\"Set the paragraph mark\'s run properties (w:pPr/w:rPr), e.g. the font size or specVanish carried by the paragraph-end mark. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"markRunProps\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"markRunProps\",\"flag\":\"mark-run-props-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"fontSizeCs\":{\"type\":\"number\"},\"specVanish\":{\"type\":\"boolean\"},\"fontSize\":{\"type\":\"number\"},\"fonts\":{\"type\":\"object\",\"properties\":{\"ascii\":{\"type\":\"string\"},\"hAnsi\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"cs\":{\"type\":\"string\"},\"asciiTheme\":{\"type\":\"string\"},\"hAnsiTheme\":{\"type\":\"string\"},\"eastAsiaTheme\":{\"type\":\"string\"},\"csTheme\":{\"type\":\"string\"},\"hint\":{\"type\":\"string\"}},\"additionalProperties\":false},\"fontFamily\":{\"type\":\"string\"},\"lang\":{\"type\":\"object\",\"properties\":{\"val\":{\"type\":\"string\"},\"eastAsia\":{\"type\":\"string\"},\"bidi\":{\"type\":\"string\"}},\"additionalProperties\":false},\"color\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"rgb\"},\"value\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"model\",\"value\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"theme\"},\"theme\":{\"type\":\"string\"},\"tint\":{\"type\":\"number\"},\"shade\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"model\",\"theme\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"auto\"}},\"additionalProperties\":false,\"required\":[\"model\"]}]},\"highlight\":{\"type\":\"string\"},\"shading\":{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"rgb\"},\"value\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"model\",\"value\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"theme\"},\"theme\":{\"type\":\"string\"},\"tint\":{\"type\":\"number\"},\"shade\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"model\",\"theme\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"auto\"}},\"additionalProperties\":false,\"required\":[\"model\"]}]},\"color\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"rgb\"},\"value\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"model\",\"value\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"theme\"},\"theme\":{\"type\":\"string\"},\"tint\":{\"type\":\"number\"},\"shade\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"model\",\"theme\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"auto\"}},\"additionalProperties\":false,\"required\":[\"model\"]}]},\"pattern\":{\"type\":\"string\"}},\"additionalProperties\":false},\"cs\":{\"type\":\"boolean\"},\"rtl\":{\"type\":\"boolean\"},\"bold\":{\"type\":\"boolean\"},\"boldCs\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"italicCs\":{\"type\":\"boolean\"},\"underline\":{\"type\":\"object\",\"properties\":{\"style\":{\"type\":\"string\"},\"color\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"rgb\"},\"value\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"model\",\"value\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"theme\"},\"theme\":{\"type\":\"string\"},\"tint\":{\"type\":\"number\"},\"shade\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"model\",\"theme\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"auto\"}},\"additionalProperties\":false,\"required\":[\"model\"]}]}},\"additionalProperties\":false},\"strikethrough\":{\"type\":\"boolean\"},\"doubleStrikethrough\":{\"type\":\"boolean\"},\"caps\":{\"type\":\"boolean\"},\"smallCaps\":{\"type\":\"boolean\"},\"outline\":{\"type\":\"boolean\"},\"shadow\":{\"type\":\"boolean\"},\"emboss\":{\"type\":\"boolean\"},\"imprint\":{\"type\":\"boolean\"},\"verticalAlign\":{\"oneOf\":[{\"const\":\"baseline\"},{\"const\":\"superscript\"},{\"const\":\"subscript\"}]},\"characterSpacing\":{\"type\":\"number\"},\"characterScale\":{\"type\":\"number\"},\"kern\":{\"type\":\"number\"},\"baselineShift\":{\"type\":\"number\"},\"fitTextWidth\":{\"type\":\"number\"},\"vanish\":{\"type\":\"boolean\"},\"webHidden\":{\"type\":\"boolean\"},\"border\":{\"type\":\"object\",\"properties\":{\"style\":{\"type\":\"string\"},\"width\":{\"type\":\"number\"},\"space\":{\"type\":\"number\"},\"color\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"rgb\"},\"value\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"model\",\"value\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"theme\"},\"theme\":{\"type\":\"string\"},\"tint\":{\"type\":\"number\"},\"shade\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"model\",\"theme\"]},{\"type\":\"object\",\"properties\":{\"model\":{\"const\":\"auto\"}},\"additionalProperties\":false,\"required\":[\"model\"]}]},\"frame\":{\"type\":\"boolean\"},\"shadow\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"textEffect\":{\"type\":\"string\"}},\"additionalProperties\":false,\"description\":\"Paragraph-mark run properties (SDRunProps shape, e.g. fontSizeCs, specVanish).\"},\"description\":\"Paragraph-mark run properties (SDRunProps shape, e.g. fontSizeCs, specVanish).\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setMarkRunProps\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setDirection\":{\"operationId\":\"doc.format.paragraph.setDirection\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-direction\",\"commandTokens\":[\"format\",\"paragraph\",\"set-direction\"],\"category\":\"format\",\"description\":\"Set paragraph base direction (LTR or RTL via w:bidi). Optionally align text to match.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"direction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"direction\",\"flag\":\"direction\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ltr\"},{\"const\":\"rtl\"}]}},{\"name\":\"alignmentPolicy\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignmentPolicy\",\"flag\":\"alignment-policy\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"matchDirection\"}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setDirection\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"format\",\"intentAction\":\"set_direction\",\"hasFailureResult\":true},\"doc.format.paragraph.clearDirection\":{\"operationId\":\"doc.format.paragraph.clearDirection\",\"sdkSurface\":\"document\",\"command\":\"format paragraph clear-direction\",\"commandTokens\":[\"format\",\"paragraph\",\"clear-direction\"],\"category\":\"format\",\"description\":\"Remove explicit paragraph direction, reverting to inherited or default (LTR).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.clearDirection\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.format.paragraph.setNumbering\":{\"operationId\":\"doc.format.paragraph.setNumbering\",\"sdkSurface\":\"document\",\"command\":\"format paragraph set-numbering\",\"commandTokens\":[\"format\",\"paragraph\",\"set-numbering\"],\"category\":\"format\",\"description\":\"Attach numbering (numId + level) to an existing paragraph or heading so it joins a numbered sequence. Numbering is a paragraph property; the node and its style are otherwise unchanged, though any direct paragraph indent is cleared so the numbering level controls indentation. Direct edits only; tracked mode is unsupported.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"numId\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"numId\",\"flag\":\"num-id\",\"required\":false},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph. Shortcut for a paragraph block target.\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"format.paragraph.setNumbering\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.list\":{\"operationId\":\"doc.lists.list\",\"sdkSurface\":\"document\",\"command\":\"lists list\",\"commandTokens\":[\"lists\",\"list\"],\"category\":\"lists\",\"description\":\"List all list nodes in the document, optionally filtered by scope.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"within\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"within\",\"flag\":\"within-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ordered\"},{\"const\":\"bullet\"}]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"ordinal\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"ordinal\",\"flag\":\"ordinal\",\"required\":false},{\"name\":\"query\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"query-json\"}],\"constraints\":{\"mutuallyExclusive\":[[\"query\",\"within\"],[\"query\",\"kind\"],[\"query\",\"level\"],[\"query\",\"ordinal\"],[\"query\",\"limit\"],[\"query\",\"offset\"]]},\"documentApiOperationId\":\"lists.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.lists.get\":{\"operationId\":\"doc.lists.get\",\"sdkSurface\":\"document\",\"command\":\"lists get\",\"commandTokens\":[\"lists\",\"get\"],\"category\":\"lists\",\"description\":\"Retrieve a specific list node by target.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"item\",\"documentApiResultKey\":\"item\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"address\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"address\",\"flag\":\"address-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.lists.insert\":{\"operationId\":\"doc.lists.insert\",\"sdkSurface\":\"document\",\"command\":\"lists insert\",\"commandTokens\":[\"lists\",\"insert\"],\"category\":\"lists\",\"description\":\"Insert a new list item before or after an existing list item. The new item inherits the target list context. Optional inheritFrom selects a same-story list item for paragraph and run formatting without changing placement or numbering. When omitted, existing paragraph-creation formatting, including next-style handling, is preserved.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"description\":\"The target list item. For \'insert\': the item to insert relative to. For \'create\' with mode \'fromParagraphs\': use nodeType \'paragraph\' instead. Format: {kind:\'block\', nodeType:\'listItem\', nodeId:\'<id>\'}.\"},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}],\"description\":\"Required. Insert position relative to target: \'before\' or \'after\'.\"},\"description\":\"Required. Insert position relative to target: \'before\' or \'after\'.\"},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"description\":\"Text content for the new list item.\"},{\"name\":\"inheritFrom\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"inheritFrom\",\"flag\":\"inherit-from-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"description\":\"Optional same-story list item to inherit paragraph and run formatting from without changing placement or numbering. When omitted, existing paragraph-creation formatting behavior, including next-style handling, is preserved.\"},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"insert\",\"hasFailureResult\":true},\"doc.lists.create\":{\"operationId\":\"doc.lists.create\",\"sdkSurface\":\"document\",\"command\":\"lists create\",\"commandTokens\":[\"lists\",\"create\"],\"category\":\"lists\",\"description\":\"Create a new list from one or more paragraphs. Supports optional preset or style for new sequences. When sequence.mode is \\\"continuePrevious\\\", preset and style are not allowed: the new items inherit formatting from the previous sequence.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"empty\"},{\"const\":\"fromParagraphs\"}],\"description\":\"Required. \'fromParagraphs\' converts existing paragraphs into list items: each paragraph becomes one item, so create one paragraph per item first. \'empty\' creates a new empty list at \'at\'.\"},\"description\":\"Required. \'fromParagraphs\' converts existing paragraphs into list items: each paragraph becomes one item, so create one paragraph per item first. \'empty\' creates a new empty list at \'at\'.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"description\":\"Required when mode is \'empty\'. The paragraph to create the list at. Format: {kind:\'block\', nodeType:\'paragraph\', nodeId:\'<id>\'}.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"to\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]}]},\"description\":\"Required when mode is \'fromParagraphs\'. Each call converts ONE paragraph into a list item. To make a list with N items, create N separate paragraphs first, then call superdoc_list create for EACH one. Format: {kind:\'block\', nodeType:\'paragraph\', nodeId:\'<id>\'}.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ordered\"},{\"const\":\"bullet\"}],\"description\":\"List type: \'bullet\' for bullet points, \'ordered\' for numbered lists.\"},\"description\":\"List type: \'bullet\' for bullet points, \'ordered\' for numbered lists.\"},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false,\"description\":\"List nesting level (0-8). 0 is the top level.\"},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preset\",\"flag\":\"preset\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"decimalParenthesis\"},{\"const\":\"lowerLetter\"},{\"const\":\"lowerLetterParenthesis\"},{\"const\":\"upperLetter\"},{\"const\":\"upperLetterParenthesis\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"disc\"},{\"const\":\"circle\"},{\"const\":\"square\"},{\"const\":\"dash\"}],\"description\":\"Predefined list style preset. Overrides \'kind\' with a specific numbering or bullet format.\"},\"description\":\"Predefined list style preset. Overrides \'kind\' with a specific numbering or bullet format.\"},{\"name\":\"style\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"style\",\"flag\":\"style-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"const\":1},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"level\":{\"type\":\"number\"},\"numFmt\":{\"type\":\"string\"},\"customFormat\":{\"type\":\"string\",\"description\":\"New formats use 2\u{2013}4 digit zero-padded samples; other values must already exist in the document.\"},\"lvlText\":{\"type\":\"string\"},\"start\":{\"type\":\"number\"},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"indents\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"number\"},\"hanging\":{\"type\":\"number\"},\"firstLine\":{\"type\":\"number\"}},\"additionalProperties\":false},\"trailingCharacter\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"space\"},{\"const\":\"nothing\"}]},\"markerFont\":{\"type\":\"string\"},\"pictureBulletId\":{\"type\":\"number\"},\"tabStopAt\":{\"type\":\"json\"}},\"additionalProperties\":false,\"required\":[\"level\"]}}},\"additionalProperties\":false,\"required\":[\"version\",\"levels\"]}},{\"name\":\"sequence\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"sequence\",\"flag\":\"sequence-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"mode\":{\"const\":\"new\"},\"startAt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"mode\"]},{\"type\":\"object\",\"properties\":{\"mode\":{\"const\":\"continuePrevious\"}},\"additionalProperties\":false,\"required\":[\"mode\"]}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.create\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"create\",\"hasFailureResult\":true},\"doc.lists.attach\":{\"operationId\":\"doc.lists.attach\",\"sdkSurface\":\"document\",\"command\":\"lists attach\",\"commandTokens\":[\"lists\",\"attach\"],\"category\":\"lists\",\"description\":\"Convert non-list paragraphs to list items under an existing list sequence.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"to\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]}]}},{\"name\":\"attachTo\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"attachTo\",\"flag\":\"attach-to-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.attach\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"attach\",\"hasFailureResult\":true},\"doc.lists.detach\":{\"operationId\":\"doc.lists.detach\",\"sdkSurface\":\"document\",\"command\":\"lists detach\",\"commandTokens\":[\"lists\",\"detach\"],\"category\":\"lists\",\"description\":\"Remove numbering properties from list items, converting them to plain paragraphs.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.detach\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"detach\",\"hasFailureResult\":true},\"doc.lists.delete\":{\"operationId\":\"doc.lists.delete\",\"sdkSurface\":\"document\",\"command\":\"lists delete\",\"commandTokens\":[\"lists\",\"delete\"],\"category\":\"lists\",\"description\":\"Delete the entire list that contains the targeted list item. Removes ALL items in the same numbered sequence (the contiguous run of list items sharing the target\'s numbering) AND their text content from the document. Pass any single list item from the list as `target`; the op walks adjacent siblings to find the full list. Use this for \\\"remove the list\\\" / \\\"delete this list\\\" intents and for the cleanup step of a list-to-table conversion.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"delete\",\"hasFailureResult\":true},\"doc.lists.indent\":{\"operationId\":\"doc.lists.indent\",\"sdkSurface\":\"document\",\"command\":\"lists indent\",\"commandTokens\":[\"lists\",\"indent\"],\"category\":\"lists\",\"description\":\"Increase the indentation level of a list item.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.indent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"indent\",\"hasFailureResult\":true},\"doc.lists.outdent\":{\"operationId\":\"doc.lists.outdent\",\"sdkSurface\":\"document\",\"command\":\"lists outdent\",\"commandTokens\":[\"lists\",\"outdent\"],\"category\":\"lists\",\"description\":\"Decrease the indentation level of a list item.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.outdent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"outdent\",\"hasFailureResult\":true},\"doc.lists.join\":{\"operationId\":\"doc.lists.join\",\"sdkSurface\":\"document\",\"command\":\"lists join\",\"commandTokens\":[\"lists\",\"join\"],\"category\":\"lists\",\"description\":\"Merge two adjacent list sequences into one.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"direction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"direction\",\"flag\":\"direction\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"withPrevious\"},{\"const\":\"withNext\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.join\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.canJoin\":{\"operationId\":\"doc.lists.canJoin\",\"sdkSurface\":\"document\",\"command\":\"lists can-join\",\"commandTokens\":[\"lists\",\"can-join\"],\"category\":\"lists\",\"description\":\"Check whether two adjacent list sequences can be joined.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"direction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"direction\",\"flag\":\"direction\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"withPrevious\"},{\"const\":\"withNext\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.canJoin\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.lists.separate\":{\"operationId\":\"doc.lists.separate\",\"sdkSurface\":\"document\",\"command\":\"lists separate\",\"commandTokens\":[\"lists\",\"separate\"],\"category\":\"lists\",\"description\":\"Split a list sequence at the target item, creating a new sequence from that point forward.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"copyOverrides\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"copyOverrides\",\"flag\":\"copy-overrides\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.separate\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.merge\":{\"operationId\":\"doc.lists.merge\",\"sdkSurface\":\"document\",\"command\":\"lists merge\",\"commandTokens\":[\"lists\",\"merge\"],\"category\":\"lists\",\"description\":\"Compound: merge two adjacent list sequences into one. Reassigns numId on the absorbed sequence (no strict abstractNumId check: absorbed items adopt the absorbing definition) and deletes empty paragraphs between the two sequences. Use this instead of lists.join for the user-facing \\\"merge these lists\\\" intent.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"direction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"direction\",\"flag\":\"direction\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"withPrevious\"},{\"const\":\"withNext\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.merge\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"merge\",\"hasFailureResult\":true},\"doc.lists.split\":{\"operationId\":\"doc.lists.split\",\"sdkSurface\":\"document\",\"command\":\"lists split\",\"commandTokens\":[\"lists\",\"split\"],\"category\":\"lists\",\"description\":\"Compound: split a list sequence at the target item into two independent sequences. Runs lists.separate then (by default) lists.setValue(1) so the new half starts numbering fresh at 1. Pass restartNumbering:false for raw separate semantics (new half continues the previous count).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"restartNumbering\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"restartNumbering\",\"flag\":\"restart-numbering\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"lists.split\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"split\",\"hasFailureResult\":true},\"doc.lists.setLevel\":{\"operationId\":\"doc.lists.setLevel\",\"sdkSurface\":\"document\",\"command\":\"lists set-level\",\"commandTokens\":[\"lists\",\"set-level\"],\"category\":\"lists\",\"description\":\"Set the absolute nesting level (0..8) of a list item.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevel\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"set_level\",\"hasFailureResult\":true},\"doc.lists.setValue\":{\"operationId\":\"doc.lists.setValue\",\"sdkSurface\":\"document\",\"command\":\"lists set-value\",\"commandTokens\":[\"lists\",\"set-value\"],\"category\":\"lists\",\"description\":\"Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"value\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"value\",\"flag\":\"value-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setValue\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"set_value\",\"hasFailureResult\":true},\"doc.lists.continuePrevious\":{\"operationId\":\"doc.lists.continuePrevious\",\"sdkSurface\":\"document\",\"command\":\"lists continue-previous\",\"commandTokens\":[\"lists\",\"continue-previous\"],\"category\":\"lists\",\"description\":\"Continue numbering from the nearest compatible previous list sequence.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.continuePrevious\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"continue_previous\",\"hasFailureResult\":true},\"doc.lists.canContinuePrevious\":{\"operationId\":\"doc.lists.canContinuePrevious\",\"sdkSurface\":\"document\",\"command\":\"lists can-continue-previous\",\"commandTokens\":[\"lists\",\"can-continue-previous\"],\"category\":\"lists\",\"description\":\"Check whether the target sequence can continue numbering from a previous compatible sequence.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.canContinuePrevious\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.lists.setLevelRestart\":{\"operationId\":\"doc.lists.setLevelRestart\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-restart\",\"commandTokens\":[\"lists\",\"set-level-restart\"],\"category\":\"lists\",\"description\":\"Set the restart behavior for a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"restartAfterLevel\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"restartAfterLevel\",\"flag\":\"restart-after-level-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"scope\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"scope\",\"flag\":\"scope\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"definition\"},{\"const\":\"instance\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelRestart\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.convertToText\":{\"operationId\":\"doc.lists.convertToText\",\"sdkSurface\":\"document\",\"command\":\"lists convert-to-text\",\"commandTokens\":[\"lists\",\"convert-to-text\"],\"category\":\"lists\",\"description\":\"Convert list items to plain paragraphs, optionally prepending the rendered marker text.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"includeMarker\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeMarker\",\"flag\":\"include-marker\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"node-id\",\"description\":\"Node ID of the target list item.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.convertToText\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.applyTemplate\":{\"operationId\":\"doc.lists.applyTemplate\",\"sdkSurface\":\"document\",\"command\":\"lists apply-template\",\"commandTokens\":[\"lists\",\"apply-template\"],\"category\":\"lists\",\"description\":\"Advanced alias for lists.applyStyle. Apply a captured ListTemplate to the target list (abstract-scoped, no clone-on-write).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"template\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"template\",\"flag\":\"template-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"const\":1},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"level\":{\"type\":\"number\"},\"numFmt\":{\"type\":\"string\"},\"customFormat\":{\"type\":\"string\",\"description\":\"New formats use 2\u{2013}4 digit zero-padded samples; other values must already exist in the document.\"},\"lvlText\":{\"type\":\"string\"},\"start\":{\"type\":\"number\"},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"indents\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"number\"},\"hanging\":{\"type\":\"number\"},\"firstLine\":{\"type\":\"number\"}},\"additionalProperties\":false},\"trailingCharacter\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"space\"},{\"const\":\"nothing\"}]},\"markerFont\":{\"type\":\"string\"},\"pictureBulletId\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"level\"]}}},\"additionalProperties\":false,\"required\":[\"version\",\"levels\"]}},{\"name\":\"levels\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levels\",\"flag\":\"levels-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.applyTemplate\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.applyPreset\":{\"operationId\":\"doc.lists.applyPreset\",\"sdkSurface\":\"document\",\"command\":\"lists apply-preset\",\"commandTokens\":[\"lists\",\"apply-preset\"],\"category\":\"lists\",\"description\":\"Apply a built-in list formatting preset to the target list.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preset\",\"flag\":\"preset\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"decimalParenthesis\"},{\"const\":\"lowerLetter\"},{\"const\":\"lowerLetterParenthesis\"},{\"const\":\"upperLetter\"},{\"const\":\"upperLetterParenthesis\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"disc\"},{\"const\":\"circle\"},{\"const\":\"square\"},{\"const\":\"dash\"}]}},{\"name\":\"levels\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levels\",\"flag\":\"levels-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.applyPreset\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setType\":{\"operationId\":\"doc.lists.setType\",\"sdkSurface\":\"document\",\"command\":\"lists set-type\",\"commandTokens\":[\"lists\",\"set-type\"],\"category\":\"lists\",\"description\":\"Convert a list to ordered or bullet and merge adjacent compatible sequences to preserve continuous numbering.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"ordered\"},{\"const\":\"bullet\"}]}},{\"name\":\"continuity\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"continuity\",\"flag\":\"continuity\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"none\"}],\"description\":\"Numbering continuity: \'preserve\' keeps numbering; \'none\' restarts.\"},\"description\":\"Numbering continuity: \'preserve\' keeps numbering; \'none\' restarts.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setType\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"list\",\"intentAction\":\"set_type\",\"hasFailureResult\":true},\"doc.lists.captureTemplate\":{\"operationId\":\"doc.lists.captureTemplate\",\"sdkSurface\":\"document\",\"command\":\"lists capture-template\",\"commandTokens\":[\"lists\",\"capture-template\"],\"category\":\"lists\",\"description\":\"Advanced alias for lists.getStyle. Capture list formatting from the abstract definition only (does not merge lvlOverride formatting).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"levels\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levels\",\"flag\":\"levels-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.captureTemplate\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.lists.setLevelNumbering\":{\"operationId\":\"doc.lists.setLevelNumbering\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-numbering\",\"commandTokens\":[\"lists\",\"set-level-numbering\"],\"category\":\"lists\",\"description\":\"Advanced alias for lists.setLevelNumberStyle/setLevelText/setLevelStart. Set format, pattern, start, and legal numbering in one call (abstract-scoped, no clone-on-write).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"numFmt\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"numFmt\",\"flag\":\"num-fmt\",\"required\":false},{\"name\":\"customFormat\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"customFormat\",\"flag\":\"custom-format\",\"required\":false,\"description\":\"New formats use 2\u{2013}4 digit zero-padded samples; other values must already exist in the document.\"},{\"name\":\"lvlText\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lvlText\",\"flag\":\"lvl-text\",\"required\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"start\",\"flag\":\"start\",\"required\":false},{\"name\":\"isLgl\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"isLgl\",\"flag\":\"is-lgl\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelNumbering\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelBullet\":{\"operationId\":\"doc.lists.setLevelBullet\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-bullet\",\"commandTokens\":[\"lists\",\"set-level-bullet\"],\"category\":\"lists\",\"description\":\"Set the bullet marker text for a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"markerText\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"markerText\",\"flag\":\"marker-text\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelBullet\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelPictureBullet\":{\"operationId\":\"doc.lists.setLevelPictureBullet\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-picture-bullet\",\"commandTokens\":[\"lists\",\"set-level-picture-bullet\"],\"category\":\"lists\",\"description\":\"Set a picture bullet for a specific list level by its OOXML lvlPicBulletId.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"pictureBulletId\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"pictureBulletId\",\"flag\":\"picture-bullet-id\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelPictureBullet\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelAlignment\":{\"operationId\":\"doc.lists.setLevelAlignment\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-alignment\",\"commandTokens\":[\"lists\",\"set-level-alignment\"],\"category\":\"lists\",\"description\":\"Set the marker alignment (left, center, right) for a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelAlignment\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelIndents\":{\"operationId\":\"doc.lists.setLevelIndents\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-indents\",\"commandTokens\":[\"lists\",\"set-level-indents\"],\"category\":\"lists\",\"description\":\"Set the paragraph indentation values (left, hanging, firstLine) for a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"left\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"left\",\"flag\":\"left\",\"required\":false},{\"name\":\"hanging\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"hanging\",\"flag\":\"hanging\",\"required\":false},{\"name\":\"firstLine\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"firstLine\",\"flag\":\"first-line\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelIndents\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelTrailingCharacter\":{\"operationId\":\"doc.lists.setLevelTrailingCharacter\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-trailing-character\",\"commandTokens\":[\"lists\",\"set-level-trailing-character\"],\"category\":\"lists\",\"description\":\"Set the trailing character (tab, space, nothing) after the marker for a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"trailingCharacter\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"trailingCharacter\",\"flag\":\"trailing-character\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"space\"},{\"const\":\"nothing\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelTrailingCharacter\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelMarkerFont\":{\"operationId\":\"doc.lists.setLevelMarkerFont\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-marker-font\",\"commandTokens\":[\"lists\",\"set-level-marker-font\"],\"category\":\"lists\",\"description\":\"Set the font family used for the marker character at a specific list level.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"fontFamily\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"fontFamily\",\"flag\":\"font-family\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelMarkerFont\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.clearLevelOverrides\":{\"operationId\":\"doc.lists.clearLevelOverrides\",\"sdkSurface\":\"document\",\"command\":\"lists clear-level-overrides\",\"commandTokens\":[\"lists\",\"clear-level-overrides\"],\"category\":\"lists\",\"description\":\"Remove instance-level overrides for a specific list level, restoring abstract definition values.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"input-json\",\"description\":\"Operation input as JSON object.\"}],\"constraints\":null,\"documentApiOperationId\":\"lists.clearLevelOverrides\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.getStyle\":{\"operationId\":\"doc.lists.getStyle\",\"sdkSurface\":\"document\",\"command\":\"lists get-style\",\"commandTokens\":[\"lists\",\"get-style\"],\"category\":\"lists\",\"description\":\"Read the effective reusable style of a list, including instance-level overrides. Returns a ListStyle that can be applied to other lists via lists.applyStyle.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"levels\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levels\",\"flag\":\"levels-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}],\"constraints\":null,\"documentApiOperationId\":\"lists.getStyle\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.lists.applyStyle\":{\"operationId\":\"doc.lists.applyStyle\",\"sdkSurface\":\"document\",\"command\":\"lists apply-style\",\"commandTokens\":[\"lists\",\"apply-style\"],\"category\":\"lists\",\"description\":\"Apply a reusable list style to the target list. Sequence-local: if the abstract definition is shared with other lists, it is cloned first to avoid affecting them.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"style\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"style\",\"flag\":\"style-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"const\":1},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"level\":{\"type\":\"number\"},\"numFmt\":{\"type\":\"string\"},\"customFormat\":{\"type\":\"string\",\"description\":\"New formats use 2\u{2013}4 digit zero-padded samples; other values must already exist in the document.\"},\"lvlText\":{\"type\":\"string\"},\"start\":{\"type\":\"number\"},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"indents\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"number\"},\"hanging\":{\"type\":\"number\"},\"firstLine\":{\"type\":\"number\"}},\"additionalProperties\":false},\"trailingCharacter\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"space\"},{\"const\":\"nothing\"}]},\"markerFont\":{\"type\":\"string\"},\"pictureBulletId\":{\"type\":\"number\"},\"tabStopAt\":{\"type\":\"json\"}},\"additionalProperties\":false,\"required\":[\"level\"]}}},\"additionalProperties\":false,\"required\":[\"version\",\"levels\"]}},{\"name\":\"levels\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levels\",\"flag\":\"levels-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}],\"constraints\":null,\"documentApiOperationId\":\"lists.applyStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.restartAt\":{\"operationId\":\"doc.lists.restartAt\",\"sdkSurface\":\"document\",\"command\":\"lists restart-at\",\"commandTokens\":[\"lists\",\"restart-at\"],\"category\":\"lists\",\"description\":\"Restart numbering at the target list item with a specific value. If the item is mid-sequence, it is separated first.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"startAt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"startAt\",\"flag\":\"start-at\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"lists.restartAt\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelNumberStyle\":{\"operationId\":\"doc.lists.setLevelNumberStyle\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-number-style\",\"commandTokens\":[\"lists\",\"set-level-number-style\"],\"category\":\"lists\",\"description\":\"Set the numbering style (e.g. decimal, lowerLetter, upperRoman) for a specific list level. Rejects \\\"bullet\\\": use setLevelBullet instead. Sequence-local: clones shared definitions.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":true},{\"name\":\"numberStyle\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"numberStyle\",\"flag\":\"number-style\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelNumberStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelText\":{\"operationId\":\"doc.lists.setLevelText\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-text\",\"commandTokens\":[\"lists\",\"set-level-text\"],\"category\":\"lists\",\"description\":\"Set the level text pattern (e.g. \\\"%1.\\\", \\\"(%1)\\\") for a specific list level. Uses OOXML level-placeholder syntax. Sequence-local: clones shared definitions.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":true},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelText\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelStart\":{\"operationId\":\"doc.lists.setLevelStart\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-start\",\"commandTokens\":[\"lists\",\"set-level-start\"],\"category\":\"lists\",\"description\":\"Set the start value for a specific list level. Rejects bullet levels and non-positive values. Sequence-local: clones shared definitions.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":true},{\"name\":\"startAt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"startAt\",\"flag\":\"start-at\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelStart\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.setLevelLayout\":{\"operationId\":\"doc.lists.setLevelLayout\",\"sdkSurface\":\"document\",\"command\":\"lists set-level-layout\",\"commandTokens\":[\"lists\",\"set-level-layout\"],\"category\":\"lists\",\"description\":\"Set the layout properties (alignment, indentation, trailing character, tab stop) for a specific list level. Accepts partial updates: omitted fields are left unchanged. Sequence-local: clones shared definitions.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":true},{\"name\":\"layout\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"layout\",\"flag\":\"layout-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"alignedAt\":{\"type\":\"number\"},\"textIndentAt\":{\"type\":\"number\"},\"followCharacter\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"space\"},{\"const\":\"nothing\"}]},\"tabStopAt\":{\"type\":\"json\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"lists.setLevelLayout\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.lists.getState\":{\"operationId\":\"doc.lists.getState\",\"sdkSurface\":\"document\",\"command\":\"lists get-state\",\"commandTokens\":[\"lists\",\"get-state\"],\"category\":\"lists\",\"description\":\"Read the numbering-aware list state for a paragraph (numId, ilvl, abstract reference, level format). Returns null when the target is not a list item. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.getState\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.lists.apply\":{\"operationId\":\"doc.lists.apply\",\"sdkSurface\":\"document\",\"command\":\"lists apply\",\"commandTokens\":[\"lists\",\"apply\"],\"category\":\"lists\",\"description\":\"Apply a numbering definition to a paragraph. When `/word/numbering.xml` is absent it is materialized atomically together with the package content-type override and document relationship. Seeds bullet or ordered single-level definitions when no `reuseNumId` is provided. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"seed\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"seed\",\"flag\":\"seed\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"bullet\"},{\"const\":\"ordered\"}]}},{\"name\":\"reuseNumId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"reuseNumId\",\"flag\":\"reuse-num-id\",\"required\":false},{\"name\":\"ilvl\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"ilvl\",\"flag\":\"ilvl\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"lists.apply\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.lists.continue\":{\"operationId\":\"doc.lists.continue\",\"sdkSurface\":\"document\",\"command\":\"lists continue\",\"commandTokens\":[\"lists\",\"continue\"],\"category\":\"lists\",\"description\":\"Continue from the previous compatible list item in the same story. Adopts the previous paragraph\'s numId+ilvl. Rejects with named reasons when no compatible previous item exists or when an intervening structural boundary blocks the continuation. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.continue\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.lists.restart\":{\"operationId\":\"doc.lists.restart\",\"sdkSurface\":\"document\",\"command\":\"lists restart\",\"commandTokens\":[\"lists\",\"restart\"],\"category\":\"lists\",\"description\":\"Restart numbering at a list item. Creates a new `<w:num>` that references the existing `<w:abstractNumId>` with a `<w:lvlOverride><w:startOverride/></w:lvlOverride>`. Distant paragraphs sharing the old numId are intentionally untouched. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"startAt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"startAt\",\"flag\":\"start-at\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"lists.restart\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.lists.remove\":{\"operationId\":\"doc.lists.remove\",\"sdkSurface\":\"document\",\"command\":\"lists remove\",\"commandTokens\":[\"lists\",\"remove\"],\"category\":\"lists\",\"description\":\"Strip the `<w:numPr>` from a list-item paragraph. The numbering definition in `/word/numbering.xml` is intentionally NOT modified; orphan cleanup is handled by the export-side stripper. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"listItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"lists.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.comments.create\":{\"operationId\":\"doc.comments.create\",\"sdkSurface\":\"document\",\"command\":\"comments create\",\"commandTokens\":[\"comments\",\"create\"],\"category\":\"comments\",\"description\":\"Create a new comment thread (or reply when parentCommentId is given). Accepts TextAddress / TextTarget anchors, or a TrackedChangeCommentTarget that names a logical tracked-change id. The tracked-change target accepts both the explicit kind form and the Labs-compatible trackedChangeId-only form; the adapter normalizes it to a Word-compatible content anchor on the requested revision side. Callers may supply a durable externalId, or use the v1-compatible caller-supplied commentId alias, plus author fields and arbitrary JSON metadata for integration correlation. The caller-owned id remains distinct from the generated Word-compatible commentId.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"description\":\"Comment text content.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"trackedChange\",\"description\":\"Optional discriminator. Omit it for the Labs-compatible { trackedChangeId } shape.\"},\"trackedChangeId\":{\"type\":\"string\"},\"side\":{\"oneOf\":[{\"const\":\"inserted\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Which revision side to anchor the comment on. Optional for grouped replacements (defaults to inserted) and paired moves (defaults to destination); required for separate replacements where both sides are reviewed independently.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"trackedChangeId\"]},{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Text to find and anchor the comment to. The adapter resolves the first body/story match.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"text\"]}],\"description\":\"Text range to anchor the comment. Accepts either a single-block TextAddress {kind:\'text\', blockId, range}, a multi-segment TextTarget {kind:\'text\', segments:[{blockId, range}, ...]} for selections that span blocks, a SelectionTarget {kind:\'selection\', start, end} returned by query.match, a TextSearchCommentTarget {text, story?}, or a TrackedChangeCommentTarget ({kind:\'trackedChange\', trackedChangeId, side?} or {trackedChangeId, side?}) that names a logical tracked-change id as a convenience anchor .\"},\"description\":\"Text range to anchor the comment. Accepts either a single-block TextAddress {kind:\'text\', blockId, range}, a multi-segment TextTarget {kind:\'text\', segments:[{blockId, range}, ...]} for selections that span blocks, a SelectionTarget {kind:\'selection\', start, end} returned by query.match, a TextSearchCommentTarget {text, story?}, or a TrackedChangeCommentTarget ({kind:\'trackedChange\', trackedChangeId, side?} or {trackedChangeId, side?}) that names a logical tracked-change id as a convenience anchor .\"},{\"name\":\"trackedChangeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"trackedChangeId\",\"flag\":\"tracked-change-id\",\"required\":false,\"description\":\"Compatibility shorthand for target: { trackedChangeId }. Used only when target is omitted.\"},{\"name\":\"side\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"side\",\"flag\":\"side\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"inserted\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional side for the top-level trackedChangeId shorthand.\"},\"description\":\"Optional side for the top-level trackedChangeId shorthand.\"},{\"name\":\"story\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"story\",\"flag\":\"story-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Optional story for the top-level trackedChangeId shorthand.\"},{\"name\":\"parentId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"parentCommentId\",\"flag\":\"parent-id\",\"required\":false,\"description\":\"Parent comment ID for creating a threaded reply.\"},{\"name\":\"commentId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"commentId\",\"flag\":\"comment-id\",\"required\":false,\"description\":\"Compatibility alias for externalId, matching the caller-supplied commentId accepted by the v1 editor. V2 still generates a separate Word-compatible commentId.\"},{\"name\":\"externalId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"externalId\",\"flag\":\"external-id\",\"required\":false,\"description\":\"Caller-owned durable, document-unique integration id. Kept separate from the generated Word-compatible commentId.\"},{\"name\":\"author\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"author\",\"flag\":\"author\",\"required\":false,\"description\":\"Author display name. Defaults to the configured session author.\"},{\"name\":\"authorId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"authorId\",\"flag\":\"author-id\",\"required\":false,\"description\":\"Stable caller-owned author id.\"},{\"name\":\"authorEmail\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"authorEmail\",\"flag\":\"author-email\",\"required\":false,\"description\":\"Caller-owned author email.\"},{\"name\":\"authorImage\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"authorImage\",\"flag\":\"author-image\",\"required\":false,\"description\":\"Caller-owned author image URL.\"},{\"name\":\"metadata\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"metadata\",\"flag\":\"metadata-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{},\"additionalProperties\":true,\"description\":\"Caller-owned JSON metadata persisted with the comment.\"},\"description\":\"Caller-owned JSON metadata persisted with the comment.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"comments.create\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"inputAliases\":{\"parentId\":\"parentCommentId\"},\"intentGroup\":\"comment\",\"intentAction\":\"create\",\"hasFailureResult\":true},\"doc.comments.patch\":{\"operationId\":\"doc.comments.patch\",\"sdkSurface\":\"document\",\"command\":\"comments patch\",\"commandTokens\":[\"comments\",\"patch\"],\"category\":\"comments\",\"description\":\"Patch exactly one field on an existing comment (`text`, `target`, `status`, or `isInternal`). The `target` branch accepts a plain TextAddress or a TrackedChangeCommentTarget, with or without `kind: \\\"trackedChange\\\"`, that names a logical tracked-change id. The legacy `isInternal` input sets or clears the `sdcom:internal` attribute for v1 backward compatibility. Multi-field patches and no-op edits are rejected with `INVALID_INPUT`; reply target / status patches are rejected with `INVALID_CONTEXT`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"commentId\",\"flag\":\"id\",\"required\":false},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false,\"description\":\"Updated comment text.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"trackedChange\",\"description\":\"Optional discriminator. Omit it for the Labs-compatible { trackedChangeId } shape.\"},\"trackedChangeId\":{\"type\":\"string\"},\"side\":{\"oneOf\":[{\"const\":\"inserted\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Which revision side to anchor the comment on. Optional for grouped replacements (defaults to inserted) and paired moves (defaults to destination); required for separate replacements where both sides are reviewed independently.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"trackedChangeId\"]},{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Text to find and anchor the comment to. The adapter resolves the first body/story match.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"text\"]}],\"description\":\"New anchor for the comment. Accepts a plain TextAddress, a SelectionTarget {kind:\'selection\', start, end}, a TextSearchCommentTarget {text, story?}, or a TrackedChangeCommentTarget, with or without kind, that names a logical tracked-change id as a convenience re-anchor target .\"},\"description\":\"New anchor for the comment. Accepts a plain TextAddress, a SelectionTarget {kind:\'selection\', start, end}, a TextSearchCommentTarget {text, story?}, or a TrackedChangeCommentTarget, with or without kind, that names a logical tracked-change id as a convenience re-anchor target .\"},{\"name\":\"status\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"status\",\"flag\":\"status\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"resolved\"},{\"const\":\"active\"}],\"description\":\"Set comment status. Use \'resolved\' to resolve a comment, or \'active\' to reopen a previously resolved comment (lifecycle inverse).\"},\"description\":\"Set comment status. Use \'resolved\' to resolve a comment, or \'active\' to reopen a previously resolved comment (lifecycle inverse).\"},{\"name\":\"isInternal\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"isInternal\",\"flag\":\"is-internal\",\"required\":false,\"description\":\"Legacy v1/document-api compatibility field. V2 adapters set or clear the target comment `sdcom:internal` attribute and preserve the field in the schema so v1 callers keep their input shape.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\",\"agentVisible\":false},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\",\"agentVisible\":false},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\",\"agentVisible\":false}],\"constraints\":null,\"documentApiOperationId\":\"comments.patch\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"inputAliases\":{\"id\":\"commentId\"},\"intentGroup\":\"comment\",\"intentAction\":\"update\",\"hasFailureResult\":true},\"doc.comments.delete\":{\"operationId\":\"doc.comments.delete\",\"sdkSurface\":\"document\",\"command\":\"comments delete\",\"commandTokens\":[\"comments\",\"delete\"],\"category\":\"comments\",\"description\":\"Remove the targeted comment or reply by ID. Deleting a root does not delete descendant replies.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"commentId\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"comments.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"inputAliases\":{\"id\":\"commentId\"},\"intentGroup\":\"comment\",\"intentAction\":\"delete\",\"hasFailureResult\":true},\"doc.comments.get\":{\"operationId\":\"doc.comments.get\",\"sdkSurface\":\"document\",\"command\":\"comments get\",\"commandTokens\":[\"comments\",\"get\"],\"category\":\"comments\",\"description\":\"Retrieve a single comment thread by ID.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"comment\",\"documentApiResultKey\":\"comment\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"commentId\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"comments.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"inputAliases\":{\"id\":\"commentId\"},\"intentGroup\":\"comment\",\"intentAction\":\"get\",\"hasFailureResult\":false},\"doc.comments.list\":{\"operationId\":\"doc.comments.list\",\"sdkSurface\":\"document\",\"command\":\"comments list\",\"commandTokens\":[\"comments\",\"list\"],\"category\":\"comments\",\"description\":\"List all comment threads in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"includeResolved\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeResolved\",\"flag\":\"include-resolved\",\"required\":false,\"description\":\"When true, includes resolved comments in results. Default: false.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false,\"description\":\"Maximum number of comments to return.\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false,\"description\":\"Number of comments to skip for pagination.\"}],\"constraints\":null,\"documentApiOperationId\":\"comments.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"comment\",\"intentAction\":\"list\",\"hasFailureResult\":false},\"doc.trackChanges.list\":{\"operationId\":\"doc.trackChanges.list\",\"sdkSurface\":\"document\",\"command\":\"track-changes list\",\"commandTokens\":[\"track-changes\",\"list\"],\"category\":\"trackChanges\",\"description\":\"List tracked changes in the document. Body-only by default; pass `in: <StoryLocator>` or `in: \\\"all\\\"` to widen scope.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false,\"description\":\"Maximum number of tracked changes to return.\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false,\"description\":\"Number of tracked changes to skip for pagination.\"},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"insertion\"},{\"const\":\"deletion\"},{\"const\":\"replacement\"},{\"const\":\"formatting\"},{\"const\":\"move\"},{\"const\":\"structural\"},{\"const\":\"insert\"},{\"const\":\"delete\"},{\"const\":\"format\"}],\"description\":\"Filter by change type. Canonical values: \'insertion\', \'deletion\', \'replacement\', \'formatting\', \'move\', \'structural\'. Legacy aliases \'insert\', \'delete\', and \'format\' remain accepted during migration.\"},\"description\":\"Filter by change type. Canonical values: \'insertion\', \'deletion\', \'replacement\', \'formatting\', \'move\', \'structural\'. Legacy aliases \'insert\', \'delete\', and \'format\' remain accepted during migration.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"const\":\"all\"}],\"description\":\"Story scope. Omit for body only, pass a StoryLocator for a single story, or \'all\' for body + every revision-capable non-body story.\"},\"description\":\"Story scope. Omit for body only, pass a StoryLocator for a single story, or \'all\' for body + every revision-capable non-body story.\"}],\"constraints\":null,\"documentApiOperationId\":\"trackChanges.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"track_changes\",\"intentAction\":\"list\",\"hasFailureResult\":false},\"doc.trackChanges.get\":{\"operationId\":\"doc.trackChanges.get\",\"sdkSurface\":\"document\",\"command\":\"track-changes get\",\"commandTokens\":[\"track-changes\",\"get\"],\"category\":\"trackChanges\",\"description\":\"Retrieve a single tracked change by SuperDoc logical id.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"change\",\"documentApiResultKey\":\"change\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true},{\"name\":\"story\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"story\",\"flag\":\"story-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}],\"constraints\":null,\"documentApiOperationId\":\"trackChanges.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.trackChanges.decide\":{\"operationId\":\"doc.trackChanges.decide\",\"sdkSurface\":\"document\",\"command\":\"track-changes decide\",\"commandTokens\":[\"track-changes\",\"decide\"],\"category\":\"trackChanges\",\"description\":\"Accept or reject tracked changes by logical id, by several logical ids atomically, by selected text range, by logical anchor range ({ anchor, relativeStart, relativeEnd }), or every active change in the document. Range targets may include overlap / side selectors and may partially resolve a change, splitting surviving content into new fragments with stable ids. Legacy `{ id, range: { kind: \\\"partial\\\", ... } }` targets are promoted only when the active adapter supports `decide()`; legacy fallback adapters fail closed with `INVALID_INPUT`. `input.expectedRevision` is accepted as a compatibility alias for mutation options.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"receipt\",\"documentApiResultKey\":\"receipt\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"decision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"decision\",\"flag\":\"decision\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"accept\"},{\"const\":\"reject\"}]}},{\"name\":\"commentRetention\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"commentRetention\",\"flag\":\"comment-retention\",\"required\":false,\"description\":\"Keep erased comment anchors as points instead of deleting their threads.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"required\":false,\"description\":\"Backward-compatible alias for options.expectedRevision. Explicit mutation options take precedence when both are supplied.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"id\"},\"id\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"side\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"inserted\"},{\"const\":\"delete\"},{\"const\":\"deleted\"}]},\"moveRole\":{\"oneOf\":[{\"const\":\"pair\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional move pairing assertion. \'pair\' requires the resolved tracked change to be a paired move; \'source\' / \'destination\' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"id\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"ids\"},\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1,\"description\":\"Logical tracked-change ids resolved atomically in one decision and history unit.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"ids\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"range\"},\"range\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}],\"description\":\"Coordinate space of the TextTarget offsets. Omitted preserves legacy tracked-space behavior.\"},\"overlap\":{\"type\":\"string\",\"description\":\"Optional logical overlap selector for callers that already resolved an ambiguous overlap surface. Adapter-owned interpretation.\"},\"side\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"inserted\"},{\"const\":\"delete\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional revision side for grouped replacement or move targets.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"part\":{\"type\":\"string\",\"description\":\"Compatibility alias used by older range callers; interpretation is adapter-owned.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"range\"},\"range\":{\"type\":\"object\",\"properties\":{\"anchor\":{\"type\":\"string\"},\"relativeStart\":{\"type\":\"number\"},\"relativeEnd\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"anchor\",\"relativeStart\",\"relativeEnd\"]},\"overlap\":{\"type\":\"string\",\"description\":\"Optional logical overlap selector for callers that already resolved an ambiguous overlap surface. Adapter-owned interpretation.\"},\"side\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"inserted\"},{\"const\":\"delete\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional revision side for grouped replacement or move targets.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"part\":{\"type\":\"string\",\"description\":\"Compatibility alias used by older range callers; interpretation is adapter-owned.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"range\"},\"anchor\":{\"type\":\"string\"},\"relativeStart\":{\"type\":\"number\"},\"relativeEnd\":{\"type\":\"number\"},\"overlap\":{\"type\":\"string\",\"description\":\"Optional logical overlap selector for callers that already resolved an ambiguous overlap surface. Adapter-owned interpretation.\"},\"side\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"inserted\"},{\"const\":\"delete\"},{\"const\":\"deleted\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional revision side for grouped replacement or move targets.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"part\":{\"type\":\"string\",\"description\":\"Compatibility alias used by older range callers; interpretation is adapter-owned.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"anchor\",\"relativeStart\",\"relativeEnd\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"all\"},\"story\":{\"oneOf\":[{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"const\":\"all\"}],\"description\":\"Optional explicit bulk filter. Omit or pass \'all\' to target every revision-capable story, or pass a StoryLocator to scope the decision to one story.\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"moveRole\":{\"oneOf\":[{\"const\":\"pair\"},{\"const\":\"source\"},{\"const\":\"destination\"}],\"description\":\"Optional move pairing assertion. \'pair\' requires the resolved tracked change to be a paired move; \'source\' / \'destination\' further narrow to a specific half. When the assertion does not hold the decide adapter fails closed.\"}},\"additionalProperties\":false,\"required\":[\"id\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"partial\"},\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"id\",\"range\"]},{\"type\":\"object\",\"properties\":{\"scope\":{\"oneOf\":[{\"const\":\"all\"}]},\"story\":{\"oneOf\":[{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"const\":\"all\"}],\"description\":\"Optional explicit bulk filter. Omit or pass \'all\' to target every revision-capable story, or pass a StoryLocator to scope the decision to one story.\"}},\"additionalProperties\":false,\"required\":[\"scope\"]}],\"description\":\"Decision target. Canonical shapes: { kind: \'id\', id, story? } (one whole logical tracked change), { kind: \'ids\', ids } (several whole logical tracked changes in one atomic history unit), { kind: \'range\', range: TextTarget, coordinateSpace?, overlap?, side?, story?, part? } or { kind: \'range\', range: { anchor, relativeStart, relativeEnd }, overlap?, side?, story?, part? } (resolves only the selected overlap; may split fragments), { kind: \'all\' } (every active tracked change). Legacy { id, story? } / { id, range: { kind: \'partial\', start, end } } / { scope: \'all\' } shapes are accepted and transparently promoted to canonical targets.\"},\"description\":\"Decision target. Canonical shapes: { kind: \'id\', id, story? } (one whole logical tracked change), { kind: \'ids\', ids } (several whole logical tracked changes in one atomic history unit), { kind: \'range\', range: TextTarget, coordinateSpace?, overlap?, side?, story?, part? } or { kind: \'range\', range: { anchor, relativeStart, relativeEnd }, overlap?, side?, story?, part? } (resolves only the selected overlap; may split fragments), { kind: \'all\' } (every active tracked change). Legacy { id, story? } / { id, range: { kind: \'partial\', start, end } } / { scope: \'all\' } shapes are accepted and transparently promoted to canonical targets.\"}],\"constraints\":null,\"documentApiOperationId\":\"trackChanges.decide\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"track_changes\",\"intentAction\":\"decide\",\"hasFailureResult\":true},\"doc.query.match\":{\"operationId\":\"doc.query.match\",\"sdkSurface\":\"document\",\"command\":\"query match\",\"commandTokens\":[\"query\",\"match\"],\"category\":\"core\",\"description\":\"Deterministic selector-based search returning mutation-grade addresses and text ranges. Use this to discover targets before any mutation.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"select\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"select\",\"flag\":\"select-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}],\"description\":\"Search selector. Use {type:\'text\', pattern:\'...\'} for text search or {type:\'node\', nodeType:\'paragraph\'|\'heading\'|...} for node search.\"},\"description\":\"Search selector. Use {type:\'text\', pattern:\'...\'} for text search or {type:\'node\', nodeType:\'paragraph\'|\'heading\'|...} for node search.\"},{\"name\":\"within\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"within\",\"flag\":\"within-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"description\":\"Limit search scope to within a specific block: {kind:\'block\', nodeType:\'...\', nodeId:\'...\'}.\"},{\"name\":\"require\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"require\",\"flag\":\"require\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"any\"},{\"const\":\"first\"},{\"const\":\"last\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}],\"description\":\"Match cardinality: \'any\' (all matches), \'first\' (only first), \'last\' (final scoped match, without limit/offset), \'exactlyOne\' (fail if != 1), \'all\' (fail if 0). For \'last\', page.offset reports the selected match\'s ordinal in the full set.\"},\"description\":\"Match cardinality: \'any\' (all matches), \'first\' (only first), \'last\' (final scoped match, without limit/offset), \'exactlyOne\' (fail if != 1), \'all\' (fail if 0). For \'last\', page.offset reports the selected match\'s ordinal in the full set.\"},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"strict\"},{\"const\":\"candidates\"}],\"description\":\"Search mode: \'strict\' (default, exact matching) or \'candidates\' (returns scored potential matches).\"},\"description\":\"Search mode: \'strict\' (default, exact matching) or \'candidates\' (returns scored potential matches).\"},{\"name\":\"includeNodes\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeNodes\",\"flag\":\"include-nodes\",\"required\":false,\"description\":\"When true, includes full node data in results. Default: false.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false,\"description\":\"Maximum number of matches to return.\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false,\"description\":\"Number of matches to skip for pagination.\"}],\"constraints\":null,\"documentApiOperationId\":\"query.match\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"search\",\"intentAction\":\"match\",\"hasFailureResult\":false},\"doc.ranges.resolve\":{\"operationId\":\"doc.ranges.resolve\",\"sdkSurface\":\"document\",\"command\":\"ranges resolve\",\"commandTokens\":[\"ranges\",\"resolve\"],\"category\":\"core\",\"description\":\"Resolve two explicit anchors into a contiguous document range. Returns a transparent SelectionTarget, handle metadata, and preview metadata. handle.ref is nullable and present only when the resolved range is mutation-ready; callers must check handle.ref !== null and/or coversFullTarget before using it for mutations. Stateless and deterministic.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"},\"edge\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"edge\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"point\"},\"point\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"point\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"boundary\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"ref\",\"boundary\"]}]}},{\"name\":\"end\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"end\",\"flag\":\"end-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"},\"edge\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"edge\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"point\"},\"point\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"point\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"boundary\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"ref\",\"boundary\"]}]}},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"ranges.resolve\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.selection.current\":{\"operationId\":\"doc.selection.current\",\"sdkSurface\":\"document\",\"command\":\"selection current\",\"commandTokens\":[\"selection\",\"current\"],\"category\":\"core\",\"description\":\"Read the editor\'s current selection as a portable SelectionInfo with text targets or V2 browser table/cell metadata. Primitive for building custom comments UIs, floating toolbars, and other selection-driven components without reaching into ProseMirror internals.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"includeText\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeText\",\"flag\":\"include-text\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"selection.current\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.selection.releaseSnapshot\":{\"operationId\":\"doc.selection.releaseSnapshot\",\"sdkSurface\":\"document\",\"command\":\"selection release-snapshot\",\"commandTokens\":[\"selection\",\"release-snapshot\"],\"category\":\"core\",\"description\":\"Release a retained exact-selection snapshot without changing document content or Undo history. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"snapshotId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"snapshotId\",\"flag\":\"snapshot-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"selection.releaseSnapshot\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.selection.extractOoxml\":{\"operationId\":\"doc.selection.extractOoxml\",\"sdkSurface\":\"document\",\"command\":\"selection extract-ooxml\",\"commandTokens\":[\"selection\",\"extract-ooxml\"],\"category\":\"core\",\"description\":\"Capture a nonempty current or addressed selection as portable OOXML with native dependencies. Optional retain:true keeps an exact same-session restoration handle for one complete standalone body paragraph; release it when unused. Unsupported retained contexts and collaboration reject.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"retain\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"retain\",\"flag\":\"retain\",\"required\":false},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"tableCells\"},\"selectionMode\":{\"const\":\"cells\"},\"isRectangular\":{\"const\":true},\"tableId\":{\"type\":\"string\"},\"start\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"end\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"tableId\",\"start\",\"end\"]}]}},{\"name\":\"selection\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"selection\",\"flag\":\"selection-json\",\"required\":false,\"schema\":{\"const\":\"current\"}}],\"constraints\":null,\"documentApiOperationId\":\"selection.extractOoxml\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.mutations.beginTemporary\":{\"operationId\":\"doc.mutations.beginTemporary\",\"sdkSurface\":\"document\",\"command\":\"mutations begin-temporary\",\"commandTokens\":[\"mutations\",\"begin-temporary\"],\"category\":\"core\",\"description\":\"Apply temporary text and review operations without changing undo history.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"onNativeEdit\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"onNativeEdit\",\"flag\":\"on-native-edit\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"cancel\"},{\"const\":\"preserve\"}]}},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":true},{\"name\":\"operations\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"operations\",\"flag\":\"operations-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"operation\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"delete\"},{\"const\":\"blocks.delete\"},{\"const\":\"trackChanges.decide\"},{\"const\":\"comments.create\"}]},\"input\":{\"type\":\"object\",\"properties\":{}},\"options\":{\"type\":\"object\",\"properties\":{}}},\"additionalProperties\":false,\"required\":[\"operation\",\"input\"]},\"minItems\":1}}],\"constraints\":null,\"documentApiOperationId\":\"mutations.beginTemporary\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.mutations.replaceTemporary\":{\"operationId\":\"doc.mutations.replaceTemporary\",\"sdkSurface\":\"document\",\"command\":\"mutations replace-temporary\",\"commandTokens\":[\"mutations\",\"replace-temporary\"],\"category\":\"core\",\"description\":\"Replace an active temporary preview against its original document state.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"onNativeEdit\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"onNativeEdit\",\"flag\":\"on-native-edit\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"cancel\"},{\"const\":\"preserve\"}]}},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":true},{\"name\":\"operations\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"operations\",\"flag\":\"operations-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"operation\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"delete\"},{\"const\":\"blocks.delete\"},{\"const\":\"trackChanges.decide\"},{\"const\":\"comments.create\"}]},\"input\":{\"type\":\"object\",\"properties\":{}},\"options\":{\"type\":\"object\",\"properties\":{}}},\"additionalProperties\":false,\"required\":[\"operation\",\"input\"]},\"minItems\":1}},{\"name\":\"previewId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"previewId\",\"flag\":\"preview-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"mutations.replaceTemporary\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.mutations.rollbackTemporary\":{\"operationId\":\"doc.mutations.rollbackTemporary\",\"sdkSurface\":\"document\",\"command\":\"mutations rollback-temporary\",\"commandTokens\":[\"mutations\",\"rollback-temporary\"],\"category\":\"core\",\"description\":\"Restore the original document and release a temporary preview.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"previewId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"previewId\",\"flag\":\"preview-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"mutations.rollbackTemporary\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.mutations.commitTemporary\":{\"operationId\":\"doc.mutations.commitTemporary\",\"sdkSurface\":\"document\",\"command\":\"mutations commit-temporary\",\"commandTokens\":[\"mutations\",\"commit-temporary\"],\"category\":\"core\",\"description\":\"Commit the visible temporary preview as one undo entry, optionally applying final operations atomically.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"previewId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"previewId\",\"flag\":\"preview-id\",\"required\":true},{\"name\":\"operations\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"operations\",\"flag\":\"operations-json\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"operation\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"delete\"},{\"const\":\"blocks.delete\"},{\"const\":\"trackChanges.decide\"},{\"const\":\"comments.create\"}]},\"input\":{\"type\":\"object\",\"properties\":{}},\"options\":{\"type\":\"object\",\"properties\":{}}},\"additionalProperties\":false,\"required\":[\"operation\",\"input\"]},\"minItems\":1}}],\"constraints\":null,\"documentApiOperationId\":\"mutations.commitTemporary\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":false,\"hasFailureResult\":true},\"doc.mutations.preview\":{\"operationId\":\"doc.mutations.preview\",\"sdkSurface\":\"document\",\"command\":\"mutations preview\",\"commandTokens\":[\"mutations\",\"preview\"],\"category\":\"core\",\"description\":\"Dry-run a mutation plan, returning resolved targets without applying changes.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"author\",\"flag\":\"author-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"name\"],\"description\":\"Display author for one tracked body text plan. Accepts only name; does not change the session user or inherit its email. Unsupported step combinations are rejected before mutation.\"},\"description\":\"Display author for one tracked body text plan. Accepts only name; does not change the session user or inherit its email. Unsupported step combinations are rejected before mutation.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"required\":false,\"description\":\"Document revision for optimistic concurrency. Mutation fails if document was modified since this revision.\"},{\"name\":\"atomic\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"atomic\",\"flag\":\"atomic\",\"required\":true,\"description\":\"Must be true. All steps execute as one atomic transaction.\"},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"changeMode\",\"flag\":\"change-mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"direct\"},{\"const\":\"tracked\"}],\"description\":\"Required. Use \'direct\' for immediate edits or \'tracked\' for suggestions. Must always be provided.\"},\"description\":\"Required. Use \'direct\' for immediate edits or \'tracked\' for suggestions. Must always be provided.\"},{\"name\":\"steps\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"steps\",\"flag\":\"steps-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.rewrite\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"replacement\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]},{\"type\":\"object\",\"properties\":{\"blocks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]}}},\"additionalProperties\":false,\"required\":[\"blocks\"]}]},\"replacementMode\":{\"oneOf\":[{\"const\":\"literal\"},{\"const\":\"regex-template\"}]},\"caseHandling\":{\"oneOf\":[{\"const\":\"exact\"},{\"const\":\"preserve-match\"}]},\"style\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"set\"},{\"const\":\"clear\"},{\"const\":\"merge\"}]},\"requireUniform\":{\"type\":\"boolean\"},\"onNonUniform\":{\"oneOf\":[{\"const\":\"error\"},{\"const\":\"useLeadingRun\"},{\"const\":\"majority\"},{\"const\":\"union\"}]},\"setMarks\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"italic\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"underline\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"strike\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"mode\"]},\"paragraph\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"set\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false,\"required\":[\"mode\"]}},\"additionalProperties\":false,\"required\":[\"inline\"]}},\"additionalProperties\":false,\"required\":[\"replacement\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.insert\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"position\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]},\"content\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]},\"style\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"inherit\"},{\"const\":\"set\"},{\"const\":\"clear\"}]},\"setMarks\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"italic\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"underline\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"strike\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"mode\"]}},\"additionalProperties\":false,\"required\":[\"inline\"]}},\"additionalProperties\":false,\"required\":[\"position\",\"content\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.delete\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"behavior\":{\"oneOf\":[{\"const\":\"selection\"},{\"const\":\"exact\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"format.apply\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"italic\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"strike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"underline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"},{\"type\":\"object\",\"properties\":{\"style\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"themeColor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false}]},\"highlight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fontSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"fontFamily\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"letterSpacing\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vertAlign\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]},\"position\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"dstrike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"smallCaps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"caps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shading\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"border\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"sz\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"space\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"outline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shadow\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"emboss\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"imprint\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"charScale\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"kerning\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"webHidden\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"specVanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rtl\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"bCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"iCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"eastAsianLayout\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"combine\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"combineBrackets\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"vert\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vertCompress\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"em\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fitText\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"snapToGrid\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"lang\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"bidi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"oMath\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rStyle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"rFonts\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"ascii\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"asciiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsiaTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"csTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hint\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"fontSizeCs\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"ligatures\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numForm\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numSpacing\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"stylisticSets\":{\"oneOf\":[{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"val\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"id\"]},\"minItems\":1},{\"type\":\"json\"}]},\"contextualAlternates\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"justify\"}],\"description\":\"Set paragraph alignment on the target block(s). Can be combined with inline formatting in the same step.\"},\"scope\":{\"oneOf\":[{\"const\":\"match\"},{\"const\":\"block\"}],\"description\":\"When \\\"block\\\", inline formatting expands to cover the entire parent paragraph(s), not just the matched text. Use \\\"block\\\" after markdown inserts to format whole paragraphs with a short identifying pattern. Default: \\\"match\\\".\"}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"structural.replace\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"content\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}]},\"nestingPolicy\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"}},\"additionalProperties\":false,\"required\":[\"content\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"assert\"},\"where\":{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\"]},\"args\":{\"type\":\"object\",\"properties\":{\"expectCount\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"expectCount\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"comments.patch\"},\"args\":{\"type\":\"object\",\"properties\":{\"commentId\":{\"type\":\"string\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]}},\"additionalProperties\":false,\"required\":[\"commentId\",\"target\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"trackChanges.decide\"},\"args\":{\"type\":\"object\",\"properties\":{\"decision\":{\"oneOf\":[{\"const\":\"accept\"},{\"const\":\"reject\"}]},\"commentRetention\":{\"const\":\"point\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"id\"},\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"id\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"ids\"},\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1}},\"additionalProperties\":false,\"required\":[\"kind\",\"ids\"]}]}},\"additionalProperties\":false,\"required\":[\"decision\",\"target\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"args\"]}]},\"description\":\"Ordered array of mutation steps. Each step needs \'op\' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use \'where\'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions.\"},\"description\":\"Ordered array of mutation steps. Each step needs \'op\' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use \'where\'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions.\"},{\"name\":\"detail\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"detail\",\"flag\":\"detail-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"offset\":{\"type\":\"number\"},\"limit\":{\"type\":\"number\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"mutations.preview\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"mutations\",\"intentAction\":\"preview\",\"hasFailureResult\":false},\"doc.mutations.apply\":{\"operationId\":\"doc.mutations.apply\",\"sdkSurface\":\"document\",\"command\":\"mutations apply\",\"commandTokens\":[\"mutations\",\"apply\"],\"category\":\"core\",\"description\":\"Execute a mutation plan atomically against the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"expectedRevision\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"changeMode\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"author\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"author\",\"flag\":\"author-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"name\"],\"description\":\"Display author for one tracked body text plan. Accepts only name; does not change the session user or inherit its email. Unsupported step combinations are rejected before mutation.\"},\"description\":\"Display author for one tracked body text plan. Accepts only name; does not change the session user or inherit its email. Unsupported step combinations are rejected before mutation.\"},{\"name\":\"atomic\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"atomic\",\"flag\":\"atomic\",\"required\":true,\"description\":\"Must be true. All steps execute as one atomic transaction.\"},{\"name\":\"steps\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"steps\",\"flag\":\"steps-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.rewrite\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"replacement\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]},{\"type\":\"object\",\"properties\":{\"blocks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]}}},\"additionalProperties\":false,\"required\":[\"blocks\"]}]},\"replacementMode\":{\"oneOf\":[{\"const\":\"literal\"},{\"const\":\"regex-template\"}]},\"caseHandling\":{\"oneOf\":[{\"const\":\"exact\"},{\"const\":\"preserve-match\"}]},\"style\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"set\"},{\"const\":\"clear\"},{\"const\":\"merge\"}]},\"requireUniform\":{\"type\":\"boolean\"},\"onNonUniform\":{\"oneOf\":[{\"const\":\"error\"},{\"const\":\"useLeadingRun\"},{\"const\":\"majority\"},{\"const\":\"union\"}]},\"setMarks\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"italic\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"underline\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"strike\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"mode\"]},\"paragraph\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"preserve\"},{\"const\":\"set\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false,\"required\":[\"mode\"]}},\"additionalProperties\":false,\"required\":[\"inline\"]}},\"additionalProperties\":false,\"required\":[\"replacement\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.insert\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"position\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]},\"content\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]},\"style\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"mode\":{\"oneOf\":[{\"const\":\"inherit\"},{\"const\":\"set\"},{\"const\":\"clear\"}]},\"setMarks\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"italic\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"underline\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]},\"strike\":{\"oneOf\":[{\"const\":\"on\"},{\"const\":\"off\"},{\"const\":\"clear\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"mode\"]}},\"additionalProperties\":false,\"required\":[\"inline\"]}},\"additionalProperties\":false,\"required\":[\"position\",\"content\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"text.delete\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"behavior\":{\"oneOf\":[{\"const\":\"selection\"},{\"const\":\"exact\"}]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"format.apply\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"inline\":{\"type\":\"object\",\"properties\":{\"bold\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"italic\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"strike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"underline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"},{\"type\":\"object\",\"properties\":{\"style\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"themeColor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false}]},\"highlight\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fontSize\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"fontFamily\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"letterSpacing\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vertAlign\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"superscript\"},{\"const\":\"subscript\"},{\"const\":\"baseline\"}]},{\"type\":\"json\"}]},\"position\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"dstrike\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"smallCaps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"caps\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shading\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"fill\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"border\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"sz\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"color\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"space\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"outline\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"shadow\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"emboss\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"imprint\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"charScale\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"kerning\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"vanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"webHidden\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"specVanish\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rtl\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"bCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"iCs\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"eastAsianLayout\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"combine\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"combineBrackets\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"vert\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"vertCompress\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"em\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"fitText\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"id\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"snapToGrid\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"lang\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"val\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"bidi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"oMath\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]},\"rStyle\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"rFonts\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"ascii\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsi\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsia\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"cs\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"asciiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hAnsiTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"eastAsiaTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"csTheme\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"hint\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},{\"type\":\"json\"}]},\"fontSizeCs\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]},\"ligatures\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numForm\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"numSpacing\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"stylisticSets\":{\"oneOf\":[{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"val\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"id\"]},\"minItems\":1},{\"type\":\"json\"}]},\"contextualAlternates\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"json\"}]}},\"additionalProperties\":false},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"},{\"const\":\"justify\"}],\"description\":\"Set paragraph alignment on the target block(s). Can be combined with inline formatting in the same step.\"},\"scope\":{\"oneOf\":[{\"const\":\"match\"},{\"const\":\"block\"}],\"description\":\"When \\\"block\\\", inline formatting expands to cover the entire parent paragraph(s), not just the matched text. Use \\\"block\\\" after markdown inserts to format whole paragraphs with a short identifying pattern. Default: \\\"match\\\".\"}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"structural.replace\"},\"where\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"require\":{\"oneOf\":[{\"const\":\"first\"},{\"const\":\"exactlyOne\"},{\"const\":\"all\"}]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\",\"require\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"ref\"},\"ref\":{\"type\":\"string\"},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"ref\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"target\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"target\"]},{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"by\",\"nodeType\",\"nodeId\"]}]},\"args\":{\"type\":\"object\",\"properties\":{\"content\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}]},\"nestingPolicy\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"}},\"additionalProperties\":false,\"required\":[\"content\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"assert\"},\"where\":{\"type\":\"object\",\"properties\":{\"by\":{\"const\":\"select\"},\"select\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"text\",\"description\":\"Must be \'text\' for text pattern search.\"},\"pattern\":{\"type\":\"string\",\"description\":\"Text to match. In regex mode, patterns are validated for syntax, maximum length, and safety before execution.\"},\"mode\":{\"oneOf\":[{\"const\":\"contains\"},{\"const\":\"regex\"}],\"description\":\"Match mode: \'contains\' (literal substring, recommended for literal text) or \'regex\' (validated regular expression).\"},\"caseSensitive\":{\"type\":\"boolean\",\"description\":\"Case-sensitive matching. Default: false.\"},\"wholeWord\":{\"type\":\"boolean\",\"description\":\"Require word-boundary matches. Default: false.\"},\"includeDeletedText\":{\"type\":\"boolean\",\"description\":\"When true, includes text from pending tracked deletions. Default: false.\"}},\"additionalProperties\":false,\"required\":[\"type\",\"pattern\"]},{\"type\":\"object\",\"properties\":{\"type\":{\"const\":\"node\",\"description\":\"Must be \'node\' for node type search.\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"},{\"const\":\"run\"},{\"const\":\"bookmark\"},{\"const\":\"comment\"},{\"const\":\"hyperlink\"},{\"const\":\"footnoteRef\"},{\"const\":\"endnoteRef\"},{\"const\":\"crossRef\"},{\"const\":\"indexEntry\"},{\"const\":\"citation\"},{\"const\":\"authorityEntry\"},{\"const\":\"sequenceField\"},{\"const\":\"tab\"},{\"const\":\"lineBreak\"}],\"description\":\"Block type to match (paragraph, heading, table, listItem, etc.).\"},\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}],\"description\":\"Filter: \'block\' or \'inline\'.\"}},\"additionalProperties\":false,\"required\":[\"type\"]}]},\"within\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"by\",\"select\"]},\"args\":{\"type\":\"object\",\"properties\":{\"expectCount\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"expectCount\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"where\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"comments.patch\"},\"args\":{\"type\":\"object\",\"properties\":{\"commentId\":{\"type\":\"string\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]}},\"additionalProperties\":false,\"required\":[\"commentId\",\"target\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"args\"]},{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"op\":{\"const\":\"trackChanges.decide\"},\"args\":{\"type\":\"object\",\"properties\":{\"decision\":{\"oneOf\":[{\"const\":\"accept\"},{\"const\":\"reject\"}]},\"commentRetention\":{\"const\":\"point\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"id\"},\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"id\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"ids\"},\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1}},\"additionalProperties\":false,\"required\":[\"kind\",\"ids\"]}]}},\"additionalProperties\":false,\"required\":[\"decision\",\"target\"]}},\"additionalProperties\":false,\"required\":[\"id\",\"op\",\"args\"]}]},\"description\":\"Ordered array of mutation steps. Each step needs \'op\' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use \'where\'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions.\"},\"description\":\"Ordered array of mutation steps. Each step needs \'op\' (text.rewrite, text.insert, text.delete, format.apply, structural.replace, assert, comments.patch, or trackChanges.decide). Core steps use \'where\'; review steps use explicit native args and require direct body-only plans with relocations before decisions. Check runtime capabilities for operation-specific content and targeting restrictions.\"}],\"constraints\":null,\"documentApiOperationId\":\"mutations.apply\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"mutations\",\"intentAction\":\"apply\",\"hasFailureResult\":true},\"doc.plan.execute\":{\"operationId\":\"doc.plan.execute\",\"sdkSurface\":\"document\",\"command\":\"plan execute\",\"commandTokens\":[\"plan\",\"execute\"],\"category\":\"core\",\"description\":\"Execute 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.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"atomic\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"atomic\",\"flag\":\"atomic\",\"required\":false,\"description\":\"Opt in to host-supported all-or-nothing execution. Check host support and operation restrictions.\"},{\"name\":\"entries\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"entries\",\"flag\":\"entries-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"operationId\":{\"type\":\"string\"},\"input\":{\"type\":\"json\"},\"options\":{\"type\":\"json\"},\"captureAs\":{\"type\":\"string\"},\"expect\":{\"type\":\"object\",\"properties\":{\"success\":{\"type\":\"boolean\"},\"failureCode\":{\"type\":\"string\"},\"failureMessageIncludes\":{\"type\":\"string\"},\"allowFailureMessageIncludes\":{\"type\":\"string\"}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"operationId\"]}}},{\"name\":\"captureReturns\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"captureReturns\",\"flag\":\"capture-returns-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"*\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]}}],\"constraints\":null,\"documentApiOperationId\":\"plan.execute\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.capabilities.get\":{\"operationId\":\"doc.capabilities.get\",\"sdkSurface\":\"document\",\"command\":\"capabilities\",\"commandTokens\":[\"capabilities\"],\"category\":\"core\",\"description\":\"Query runtime capabilities supported by the current document engine.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":\"capabilities\",\"documentApiResultKey\":\"capabilities\",\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"capabilities.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.capabilities.check\":{\"operationId\":\"doc.capabilities.check\",\"sdkSurface\":\"document\",\"command\":\"capabilities check\",\"commandTokens\":[\"capabilities\",\"check\"],\"category\":\"core\",\"description\":\"Check an exact HTML or Markdown insert, replace, or detailed projection against the current document without mutating it.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"operation\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"operation\",\"flag\":\"operation\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"projectHtml\"},{\"const\":\"projectMarkdown\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"input\",\"flag\":\"input-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]},\"value\":{\"type\":\"string\"},\"type\":{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]},\"placement\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"},{\"const\":\"insideStart\"},{\"const\":\"insideEnd\"}]}},\"additionalProperties\":false,\"required\":[\"target\",\"value\",\"type\"]},{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"ref\":{\"type\":\"string\"},\"value\":{\"type\":\"string\"},\"type\":{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]},\"placement\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"},{\"const\":\"insideStart\"},{\"const\":\"insideEnd\"}]}},\"additionalProperties\":false,\"required\":[\"ref\",\"value\",\"type\"]},{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"value\":{\"type\":\"string\"},\"type\":{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]},\"placement\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"},{\"const\":\"insideStart\"},{\"const\":\"insideEnd\"}]}},\"additionalProperties\":false,\"required\":[\"value\",\"type\"]},{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"target\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]},\"value\":{\"type\":\"string\"},\"type\":{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]},\"nestingPolicy\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"}},\"additionalProperties\":false,\"required\":[\"target\",\"value\",\"type\"]},{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"ref\":{\"type\":\"string\"},\"value\":{\"type\":\"string\"},\"type\":{\"oneOf\":[{\"const\":\"html\"},{\"const\":\"markdown\"}]},\"nestingPolicy\":{\"type\":\"object\",\"properties\":{\"tables\":{\"oneOf\":[{\"const\":\"forbid\"},{\"const\":\"allow\"}]}},\"additionalProperties\":false,\"description\":\"Controls nesting behavior. tables: \'allow\' permits inserting tables inside other tables.\"}},\"additionalProperties\":false,\"required\":[\"ref\",\"value\",\"type\"]},{\"type\":\"object\",\"properties\":{\"in\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"reviewMode\":{\"oneOf\":[{\"const\":\"final\"},{\"const\":\"original\"},{\"const\":\"redline\"}]},\"scope\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}]},\"includeSourceMap\":{\"type\":\"boolean\"}},\"additionalProperties\":false}]}},{\"name\":\"options\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"options\",\"flag\":\"options-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"changeMode\":{\"oneOf\":[{\"const\":\"direct\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"changeMode\":{\"oneOf\":[{\"const\":\"direct\"},{\"const\":\"tracked\"}]},\"replaceMode\":{\"const\":\"contents\"},\"expectedSnapshotId\":{\"type\":\"string\"}},\"additionalProperties\":false}]}}],\"constraints\":null,\"documentApiOperationId\":\"capabilities.check\",\"mutates\":false,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"edit\",\"intentAction\":\"check_support\",\"hasFailureResult\":false},\"doc.capabilities.resolve\":{\"operationId\":\"doc.capabilities.resolve\",\"sdkSurface\":\"document\",\"command\":\"capabilities resolve\",\"commandTokens\":[\"capabilities\",\"resolve\"],\"category\":\"core\",\"description\":\"Resolve availability, tracked-mode support, and dry-run support for one concrete operation request.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"operationId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"operationId\",\"flag\":\"operation-id\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"get\"},{\"const\":\"find\"},{\"const\":\"getNode\"},{\"const\":\"getNodeById\"},{\"const\":\"getText\"},{\"const\":\"getMarkdown\"},{\"const\":\"getHtml\"},{\"const\":\"projectMarkdown\"},{\"const\":\"projectHtml\"},{\"const\":\"markdownToFragment\"},{\"const\":\"htmlToFragment\"},{\"const\":\"info\"},{\"const\":\"extract\"},{\"const\":\"clearContent\"},{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"delete\"},{\"const\":\"formatRange\"},{\"const\":\"blocks.findText\"},{\"const\":\"blocks.list\"},{\"const\":\"blocks.delete\"},{\"const\":\"blocks.deleteRange\"},{\"const\":\"blocks.split\"},{\"const\":\"blocks.merge\"},{\"const\":\"blocks.move\"},{\"const\":\"format.apply\"},{\"const\":\"format.bold\"},{\"const\":\"format.italic\"},{\"const\":\"format.strike\"},{\"const\":\"format.underline\"},{\"const\":\"format.highlight\"},{\"const\":\"format.color\"},{\"const\":\"format.fontSize\"},{\"const\":\"format.fontFamily\"},{\"const\":\"format.letterSpacing\"},{\"const\":\"format.vertAlign\"},{\"const\":\"format.position\"},{\"const\":\"format.dstrike\"},{\"const\":\"format.smallCaps\"},{\"const\":\"format.caps\"},{\"const\":\"format.shading\"},{\"const\":\"format.border\"},{\"const\":\"format.outline\"},{\"const\":\"format.shadow\"},{\"const\":\"format.emboss\"},{\"const\":\"format.imprint\"},{\"const\":\"format.charScale\"},{\"const\":\"format.kerning\"},{\"const\":\"format.vanish\"},{\"const\":\"format.webHidden\"},{\"const\":\"format.specVanish\"},{\"const\":\"format.rtl\"},{\"const\":\"format.cs\"},{\"const\":\"format.bCs\"},{\"const\":\"format.iCs\"},{\"const\":\"format.eastAsianLayout\"},{\"const\":\"format.em\"},{\"const\":\"format.fitText\"},{\"const\":\"format.snapToGrid\"},{\"const\":\"format.lang\"},{\"const\":\"format.oMath\"},{\"const\":\"format.rStyle\"},{\"const\":\"format.rFonts\"},{\"const\":\"format.fontSizeCs\"},{\"const\":\"format.ligatures\"},{\"const\":\"format.numForm\"},{\"const\":\"format.numSpacing\"},{\"const\":\"format.stylisticSets\"},{\"const\":\"format.contextualAlternates\"},{\"const\":\"format.readSelection\"},{\"const\":\"styles.apply\"},{\"const\":\"styles.create\"},{\"const\":\"styles.getCatalog\"},{\"const\":\"styles.getTheme\"},{\"const\":\"templates.apply\"},{\"const\":\"create.paragraph\"},{\"const\":\"create.heading\"},{\"const\":\"create.sectionBreak\"},{\"const\":\"sections.list\"},{\"const\":\"sections.get\"},{\"const\":\"sections.setBreakType\"},{\"const\":\"sections.setPageMargins\"},{\"const\":\"sections.setHeaderFooterMargins\"},{\"const\":\"sections.setPageSetup\"},{\"const\":\"sections.setColumns\"},{\"const\":\"sections.setLineNumbering\"},{\"const\":\"sections.setPageNumbering\"},{\"const\":\"sections.setTitlePage\"},{\"const\":\"sections.setOddEvenHeadersFooters\"},{\"const\":\"sections.setVerticalAlign\"},{\"const\":\"sections.setSectionDirection\"},{\"const\":\"sections.setHeaderFooterRef\"},{\"const\":\"sections.clearHeaderFooterRef\"},{\"const\":\"sections.setLinkToPrevious\"},{\"const\":\"sections.setPageBorders\"},{\"const\":\"sections.clearPageBorders\"},{\"const\":\"styles.paragraph.setStyle\"},{\"const\":\"styles.paragraph.setStyleRef\"},{\"const\":\"styles.paragraph.clearStyle\"},{\"const\":\"format.paragraph.resetDirectFormatting\"},{\"const\":\"format.paragraph.setAlignment\"},{\"const\":\"format.paragraph.clearAlignment\"},{\"const\":\"format.paragraph.setIndentation\"},{\"const\":\"format.paragraph.clearIndentation\"},{\"const\":\"format.paragraph.setSpacing\"},{\"const\":\"format.paragraph.clearSpacing\"},{\"const\":\"format.paragraph.setKeepOptions\"},{\"const\":\"format.paragraph.setOutlineLevel\"},{\"const\":\"format.paragraph.setFlowOptions\"},{\"const\":\"format.paragraph.setTabStop\"},{\"const\":\"format.paragraph.clearTabStop\"},{\"const\":\"format.paragraph.clearAllTabStops\"},{\"const\":\"format.paragraph.setBorder\"},{\"const\":\"format.paragraph.clearBorder\"},{\"const\":\"format.paragraph.setShading\"},{\"const\":\"format.paragraph.clearShading\"},{\"const\":\"format.paragraph.setMarkRunProps\"},{\"const\":\"format.paragraph.setDirection\"},{\"const\":\"format.paragraph.clearDirection\"},{\"const\":\"format.paragraph.setNumbering\"},{\"const\":\"lists.list\"},{\"const\":\"lists.get\"},{\"const\":\"lists.insert\"},{\"const\":\"lists.create\"},{\"const\":\"lists.attach\"},{\"const\":\"lists.detach\"},{\"const\":\"lists.delete\"},{\"const\":\"lists.indent\"},{\"const\":\"lists.outdent\"},{\"const\":\"lists.join\"},{\"const\":\"lists.canJoin\"},{\"const\":\"lists.separate\"},{\"const\":\"lists.merge\"},{\"const\":\"lists.split\"},{\"const\":\"lists.setLevel\"},{\"const\":\"lists.setValue\"},{\"const\":\"lists.continuePrevious\"},{\"const\":\"lists.canContinuePrevious\"},{\"const\":\"lists.setLevelRestart\"},{\"const\":\"lists.convertToText\"},{\"const\":\"lists.applyTemplate\"},{\"const\":\"lists.applyPreset\"},{\"const\":\"lists.setType\"},{\"const\":\"lists.captureTemplate\"},{\"const\":\"lists.setLevelNumbering\"},{\"const\":\"lists.setLevelBullet\"},{\"const\":\"lists.setLevelPictureBullet\"},{\"const\":\"lists.setLevelAlignment\"},{\"const\":\"lists.setLevelIndents\"},{\"const\":\"lists.setLevelTrailingCharacter\"},{\"const\":\"lists.setLevelMarkerFont\"},{\"const\":\"lists.clearLevelOverrides\"},{\"const\":\"lists.getStyle\"},{\"const\":\"lists.applyStyle\"},{\"const\":\"lists.restartAt\"},{\"const\":\"lists.setLevelNumberStyle\"},{\"const\":\"lists.setLevelText\"},{\"const\":\"lists.setLevelStart\"},{\"const\":\"lists.setLevelLayout\"},{\"const\":\"lists.getState\"},{\"const\":\"lists.apply\"},{\"const\":\"lists.continue\"},{\"const\":\"lists.restart\"},{\"const\":\"lists.remove\"},{\"const\":\"comments.create\"},{\"const\":\"comments.patch\"},{\"const\":\"comments.delete\"},{\"const\":\"comments.get\"},{\"const\":\"comments.list\"},{\"const\":\"trackChanges.list\"},{\"const\":\"trackChanges.get\"},{\"const\":\"trackChanges.decide\"},{\"const\":\"query.match\"},{\"const\":\"ranges.resolve\"},{\"const\":\"selection.current\"},{\"const\":\"selection.releaseSnapshot\"},{\"const\":\"selection.extractOoxml\"},{\"const\":\"mutations.beginTemporary\"},{\"const\":\"mutations.replaceTemporary\"},{\"const\":\"mutations.rollbackTemporary\"},{\"const\":\"mutations.commitTemporary\"},{\"const\":\"mutations.preview\"},{\"const\":\"mutations.apply\"},{\"const\":\"plan.execute\"},{\"const\":\"capabilities.get\"},{\"const\":\"capabilities.check\"},{\"const\":\"capabilities.resolve\"},{\"const\":\"create.table\"},{\"const\":\"tables.convertFromText\"},{\"const\":\"tables.delete\"},{\"const\":\"tables.clearContents\"},{\"const\":\"tables.move\"},{\"const\":\"tables.split\"},{\"const\":\"tables.convertToText\"},{\"const\":\"tables.setLayout\"},{\"const\":\"tables.insertRow\"},{\"const\":\"tables.deleteRow\"},{\"const\":\"tables.moveRow\"},{\"const\":\"tables.setRowHeight\"},{\"const\":\"tables.distributeRows\"},{\"const\":\"tables.setRowOptions\"},{\"const\":\"tables.insertColumn\"},{\"const\":\"tables.deleteColumn\"},{\"const\":\"tables.moveColumn\"},{\"const\":\"tables.setColumnWidth\"},{\"const\":\"tables.distributeColumns\"},{\"const\":\"tables.insertCell\"},{\"const\":\"tables.deleteCell\"},{\"const\":\"tables.mergeCells\"},{\"const\":\"tables.unmergeCells\"},{\"const\":\"tables.splitCell\"},{\"const\":\"tables.setCellProperties\"},{\"const\":\"tables.setCellText\"},{\"const\":\"tables.sort\"},{\"const\":\"tables.setAltText\"},{\"const\":\"tables.setStyle\"},{\"const\":\"tables.clearStyle\"},{\"const\":\"tables.setStyleOption\"},{\"const\":\"tables.setBorder\"},{\"const\":\"tables.clearBorder\"},{\"const\":\"tables.applyBorderPreset\"},{\"const\":\"tables.setShading\"},{\"const\":\"tables.clearShading\"},{\"const\":\"tables.setTablePadding\"},{\"const\":\"tables.setCellPadding\"},{\"const\":\"tables.setCellSpacing\"},{\"const\":\"tables.clearCellSpacing\"},{\"const\":\"tables.applyStyle\"},{\"const\":\"tables.setBorders\"},{\"const\":\"tables.setTableOptions\"},{\"const\":\"tables.applyPreset\"},{\"const\":\"tables.get\"},{\"const\":\"tables.getCells\"},{\"const\":\"tables.getProperties\"},{\"const\":\"tables.getStyles\"},{\"const\":\"tables.setDefaultStyle\"},{\"const\":\"tables.clearDefaultStyle\"},{\"const\":\"create.tableOfContents\"},{\"const\":\"toc.list\"},{\"const\":\"toc.get\"},{\"const\":\"toc.configure\"},{\"const\":\"toc.update\"},{\"const\":\"toc.remove\"},{\"const\":\"toc.markEntry\"},{\"const\":\"toc.unmarkEntry\"},{\"const\":\"toc.listEntries\"},{\"const\":\"toc.getEntry\"},{\"const\":\"toc.editEntry\"},{\"const\":\"history.get\"},{\"const\":\"history.undo\"},{\"const\":\"history.redo\"},{\"const\":\"create.image\"},{\"const\":\"images.list\"},{\"const\":\"images.get\"},{\"const\":\"images.delete\"},{\"const\":\"images.move\"},{\"const\":\"images.convertToInline\"},{\"const\":\"images.convertToFloating\"},{\"const\":\"images.setSize\"},{\"const\":\"images.setWrapType\"},{\"const\":\"images.setWrapSide\"},{\"const\":\"images.setWrapDistances\"},{\"const\":\"images.setPosition\"},{\"const\":\"images.setAnchorOptions\"},{\"const\":\"images.setZOrder\"},{\"const\":\"images.scale\"},{\"const\":\"images.setLockAspectRatio\"},{\"const\":\"images.rotate\"},{\"const\":\"images.flip\"},{\"const\":\"images.crop\"},{\"const\":\"images.resetCrop\"},{\"const\":\"images.replaceSource\"},{\"const\":\"images.setAltText\"},{\"const\":\"images.setDecorative\"},{\"const\":\"images.setName\"},{\"const\":\"images.setHyperlink\"},{\"const\":\"images.insertCaption\"},{\"const\":\"images.updateCaption\"},{\"const\":\"images.removeCaption\"},{\"const\":\"hyperlinks.list\"},{\"const\":\"hyperlinks.get\"},{\"const\":\"hyperlinks.wrap\"},{\"const\":\"hyperlinks.insert\"},{\"const\":\"hyperlinks.patch\"},{\"const\":\"hyperlinks.remove\"},{\"const\":\"headerFooters.list\"},{\"const\":\"headerFooters.get\"},{\"const\":\"headerFooters.resolve\"},{\"const\":\"headerFooters.refs.set\"},{\"const\":\"headerFooters.refs.clear\"},{\"const\":\"headerFooters.refs.setLinkedToPrevious\"},{\"const\":\"headerFooters.parts.list\"},{\"const\":\"headerFooters.parts.create\"},{\"const\":\"headerFooters.parts.delete\"},{\"const\":\"headerFooters.pageNumbers.get\"},{\"const\":\"headerFooters.pageNumbers.insert\"},{\"const\":\"headerFooters.pageNumbers.set\"},{\"const\":\"headerFooters.pageNumbers.remove\"},{\"const\":\"watermarks.apply\"},{\"const\":\"watermarks.list\"},{\"const\":\"watermarks.insert\"},{\"const\":\"watermarks.replace\"},{\"const\":\"watermarks.remove\"},{\"const\":\"create.contentControl\"},{\"const\":\"contentControls.list\"},{\"const\":\"contentControls.get\"},{\"const\":\"contentControls.listInRange\"},{\"const\":\"contentControls.selectByTag\"},{\"const\":\"contentControls.selectByTitle\"},{\"const\":\"contentControls.listChildren\"},{\"const\":\"contentControls.getParent\"},{\"const\":\"contentControls.wrap\"},{\"const\":\"contentControls.unwrap\"},{\"const\":\"contentControls.delete\"},{\"const\":\"contentControls.copy\"},{\"const\":\"contentControls.move\"},{\"const\":\"contentControls.patch\"},{\"const\":\"contentControls.setLockMode\"},{\"const\":\"contentControls.setType\"},{\"const\":\"contentControls.getContent\"},{\"const\":\"contentControls.replaceContent\"},{\"const\":\"contentControls.clearContent\"},{\"const\":\"contentControls.appendContent\"},{\"const\":\"contentControls.prependContent\"},{\"const\":\"contentControls.insertBefore\"},{\"const\":\"contentControls.insertAfter\"},{\"const\":\"contentControls.getBinding\"},{\"const\":\"contentControls.setBinding\"},{\"const\":\"contentControls.clearBinding\"},{\"const\":\"contentControls.getRawProperties\"},{\"const\":\"contentControls.patchRawProperties\"},{\"const\":\"contentControls.validateWordCompatibility\"},{\"const\":\"contentControls.normalizeWordCompatibility\"},{\"const\":\"contentControls.normalizeTagPayload\"},{\"const\":\"contentControls.text.setMultiline\"},{\"const\":\"contentControls.text.setValue\"},{\"const\":\"contentControls.text.clearValue\"},{\"const\":\"contentControls.date.setValue\"},{\"const\":\"contentControls.date.clearValue\"},{\"const\":\"contentControls.date.setDisplayFormat\"},{\"const\":\"contentControls.date.setDisplayLocale\"},{\"const\":\"contentControls.date.setStorageFormat\"},{\"const\":\"contentControls.date.setCalendar\"},{\"const\":\"contentControls.checkbox.getState\"},{\"const\":\"contentControls.checkbox.setState\"},{\"const\":\"contentControls.checkbox.toggle\"},{\"const\":\"contentControls.checkbox.setSymbolPair\"},{\"const\":\"contentControls.choiceList.getItems\"},{\"const\":\"contentControls.choiceList.setItems\"},{\"const\":\"contentControls.choiceList.setSelected\"},{\"const\":\"contentControls.repeatingSection.listItems\"},{\"const\":\"contentControls.repeatingSection.insertItemBefore\"},{\"const\":\"contentControls.repeatingSection.insertItemAfter\"},{\"const\":\"contentControls.repeatingSection.cloneItem\"},{\"const\":\"contentControls.repeatingSection.deleteItem\"},{\"const\":\"contentControls.repeatingSection.setAllowInsertDelete\"},{\"const\":\"contentControls.group.wrap\"},{\"const\":\"contentControls.group.ungroup\"},{\"const\":\"bookmarks.list\"},{\"const\":\"bookmarks.get\"},{\"const\":\"bookmarks.insert\"},{\"const\":\"bookmarks.rename\"},{\"const\":\"bookmarks.remove\"},{\"const\":\"footnotes.list\"},{\"const\":\"footnotes.get\"},{\"const\":\"footnotes.insert\"},{\"const\":\"footnotes.update\"},{\"const\":\"footnotes.remove\"},{\"const\":\"footnotes.configure\"},{\"const\":\"clipboard.parse\"},{\"const\":\"clipboard.insert\"},{\"const\":\"clipboard.serializeSelection\"},{\"const\":\"crossRefs.list\"},{\"const\":\"crossRefs.get\"},{\"const\":\"crossRefs.insert\"},{\"const\":\"crossRefs.rebuild\"},{\"const\":\"crossRefs.remove\"},{\"const\":\"index.list\"},{\"const\":\"index.get\"},{\"const\":\"index.insert\"},{\"const\":\"index.configure\"},{\"const\":\"index.rebuild\"},{\"const\":\"index.remove\"},{\"const\":\"index.entries.list\"},{\"const\":\"index.entries.get\"},{\"const\":\"index.entries.insert\"},{\"const\":\"index.entries.update\"},{\"const\":\"index.entries.remove\"},{\"const\":\"captions.list\"},{\"const\":\"captions.get\"},{\"const\":\"captions.insert\"},{\"const\":\"captions.update\"},{\"const\":\"captions.remove\"},{\"const\":\"captions.configure\"},{\"const\":\"fields.list\"},{\"const\":\"fields.get\"},{\"const\":\"fields.insert\"},{\"const\":\"fields.rebuild\"},{\"const\":\"fields.remove\"},{\"const\":\"citations.list\"},{\"const\":\"citations.get\"},{\"const\":\"citations.insert\"},{\"const\":\"citations.update\"},{\"const\":\"citations.remove\"},{\"const\":\"citations.sources.list\"},{\"const\":\"citations.sources.get\"},{\"const\":\"citations.sources.insert\"},{\"const\":\"citations.sources.update\"},{\"const\":\"citations.sources.remove\"},{\"const\":\"citations.bibliography.get\"},{\"const\":\"citations.bibliography.insert\"},{\"const\":\"citations.bibliography.rebuild\"},{\"const\":\"citations.bibliography.configure\"},{\"const\":\"citations.bibliography.remove\"},{\"const\":\"authorities.list\"},{\"const\":\"authorities.get\"},{\"const\":\"authorities.insert\"},{\"const\":\"authorities.configure\"},{\"const\":\"authorities.rebuild\"},{\"const\":\"authorities.remove\"},{\"const\":\"authorities.entries.list\"},{\"const\":\"authorities.entries.get\"},{\"const\":\"authorities.entries.insert\"},{\"const\":\"authorities.entries.update\"},{\"const\":\"authorities.entries.remove\"},{\"const\":\"diff.capture\"},{\"const\":\"diff.compare\"},{\"const\":\"diff.apply\"},{\"const\":\"export.toDocx\"},{\"const\":\"protection.get\"},{\"const\":\"protection.setEditingRestriction\"},{\"const\":\"protection.clearEditingRestriction\"},{\"const\":\"permissionRanges.list\"},{\"const\":\"permissionRanges.get\"},{\"const\":\"permissionRanges.create\"},{\"const\":\"permissionRanges.remove\"},{\"const\":\"permissionRanges.updatePrincipal\"},{\"const\":\"customXml.parts.list\"},{\"const\":\"customXml.parts.get\"},{\"const\":\"customXml.parts.create\"},{\"const\":\"customXml.parts.patch\"},{\"const\":\"customXml.parts.remove\"},{\"const\":\"metadata.attach\"},{\"const\":\"metadata.list\"},{\"const\":\"metadata.get\"},{\"const\":\"metadata.update\"},{\"const\":\"metadata.remove\"},{\"const\":\"metadata.resolve\"}]}},{\"name\":\"input\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"input\",\"flag\":\"input-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"options\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"options\",\"flag\":\"options-json\",\"required\":false,\"schema\":{\"type\":\"json\"}}],\"constraints\":null,\"documentApiOperationId\":\"capabilities.resolve\",\"mutates\":false,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.create.table\":{\"operationId\":\"doc.create.table\",\"sdkSurface\":\"document\",\"command\":\"create table\",\"commandTokens\":[\"create\",\"table\"],\"category\":\"create\",\"description\":\"Create a new table at the target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"rows\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rows\",\"flag\":\"rows\",\"required\":true},{\"name\":\"columns\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columns\",\"flag\":\"columns\",\"required\":true},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inParagraph\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"offset\":{\"type\":\"number\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\",\"offset\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"create.table\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"create\",\"intentAction\":\"table\",\"hasFailureResult\":true},\"doc.tables.convertFromText\":{\"operationId\":\"doc.tables.convertFromText\",\"sdkSurface\":\"document\",\"command\":\"tables convert-from-text\",\"commandTokens\":[\"tables\",\"convert-from-text\"],\"category\":\"tables\",\"description\":\"Convert a text range into a table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"delimiter\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"delimiter\",\"flag\":\"delimiter-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"comma\"},{\"const\":\"paragraph\"}]},{\"type\":\"object\",\"properties\":{\"custom\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"custom\"]}]}},{\"name\":\"columns\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columns\",\"flag\":\"columns\",\"required\":false},{\"name\":\"inferColumns\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"inferColumns\",\"flag\":\"infer-columns\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.convertFromText\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.delete\":{\"operationId\":\"doc.tables.delete\",\"sdkSurface\":\"document\",\"command\":\"tables delete\",\"commandTokens\":[\"tables\",\"delete\"],\"category\":\"tables\",\"description\":\"Delete the target table from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"delete\",\"hasFailureResult\":true},\"doc.tables.clearContents\":{\"operationId\":\"doc.tables.clearContents\",\"sdkSurface\":\"document\",\"command\":\"tables clear-contents\",\"commandTokens\":[\"tables\",\"clear-contents\"],\"category\":\"tables\",\"description\":\"Clear the contents of the target table or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearContents\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.move\":{\"operationId\":\"doc.tables.move\",\"sdkSurface\":\"document\",\"command\":\"tables move\",\"commandTokens\":[\"tables\",\"move\"],\"category\":\"tables\",\"description\":\"Move a table to a new position in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.move\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.split\":{\"operationId\":\"doc.tables.split\",\"sdkSurface\":\"document\",\"command\":\"tables split\",\"commandTokens\":[\"tables\",\"split\"],\"category\":\"tables\",\"description\":\"Split a table into two tables at the target row.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.split\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.convertToText\":{\"operationId\":\"doc.tables.convertToText\",\"sdkSurface\":\"document\",\"command\":\"tables convert-to-text\",\"commandTokens\":[\"tables\",\"convert-to-text\"],\"category\":\"tables\",\"description\":\"Convert a table back to plain text.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"delimiter\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"delimiter\",\"flag\":\"delimiter\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"tab\"},{\"const\":\"comma\"},{\"const\":\"paragraph\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.convertToText\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setLayout\":{\"operationId\":\"doc.tables.setLayout\",\"sdkSurface\":\"document\",\"command\":\"tables set-layout\",\"commandTokens\":[\"tables\",\"set-layout\"],\"category\":\"tables\",\"description\":\"Set the layout mode of the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"preferredWidth\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"preferredWidth\",\"flag\":\"preferred-width\",\"required\":false},{\"name\":\"preferredWidthType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preferredWidthType\",\"flag\":\"preferred-width-type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"dxa\"},{\"const\":\"auto\"},{\"const\":\"pct\"}]}},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]}},{\"name\":\"leftIndentPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"leftIndentPt\",\"flag\":\"left-indent-pt\",\"required\":false},{\"name\":\"autoFitMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"autoFitMode\",\"flag\":\"auto-fit-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"fixedWidth\"},{\"const\":\"fitContents\"},{\"const\":\"fitWindow\"}]}},{\"name\":\"tableDirection\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tableDirection\",\"flag\":\"table-direction\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"ltr\"},{\"const\":\"rtl\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.setLayout\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_layout\",\"hasFailureResult\":true},\"doc.tables.insertRow\":{\"operationId\":\"doc.tables.insertRow\",\"sdkSurface\":\"document\",\"command\":\"tables insert-row\",\"commandTokens\":[\"tables\",\"insert-row\"],\"category\":\"tables\",\"description\":\"Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"above\"},{\"const\":\"below\"}]}},{\"name\":\"count\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"count\",\"flag\":\"count\",\"required\":false},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.insertRow\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"insert_row\",\"hasFailureResult\":true},\"doc.tables.deleteRow\":{\"operationId\":\"doc.tables.deleteRow\",\"sdkSurface\":\"document\",\"command\":\"tables delete-row\",\"commandTokens\":[\"tables\",\"delete-row\"],\"category\":\"tables\",\"description\":\"Delete a row from the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.deleteRow\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"delete_row\",\"hasFailureResult\":true},\"doc.tables.moveRow\":{\"operationId\":\"doc.tables.moveRow\",\"sdkSurface\":\"document\",\"command\":\"tables move-row\",\"commandTokens\":[\"tables\",\"move-row\"],\"category\":\"tables\",\"description\":\"Move a row to a new position within the same table. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"first\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"last\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"rowIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"rowIndex\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"rowIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"rowIndex\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]}]}},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.moveRow\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"move_row\",\"hasFailureResult\":true},\"doc.tables.setRowHeight\":{\"operationId\":\"doc.tables.setRowHeight\",\"sdkSurface\":\"document\",\"command\":\"tables set-row-height\",\"commandTokens\":[\"tables\",\"set-row-height\"],\"category\":\"tables\",\"description\":\"Set the height of a table row.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"heightPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"heightPt\",\"flag\":\"height-pt\",\"required\":true},{\"name\":\"rule\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"rule\",\"flag\":\"rule\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"atLeast\"},{\"const\":\"exact\"},{\"const\":\"auto\"}]}},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setRowHeight\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_row\",\"hasFailureResult\":true},\"doc.tables.distributeRows\":{\"operationId\":\"doc.tables.distributeRows\",\"sdkSurface\":\"document\",\"command\":\"tables distribute-rows\",\"commandTokens\":[\"tables\",\"distribute-rows\"],\"category\":\"tables\",\"description\":\"Distribute row heights evenly across the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.distributeRows\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setRowOptions\":{\"operationId\":\"doc.tables.setRowOptions\",\"sdkSurface\":\"document\",\"command\":\"tables set-row-options\",\"commandTokens\":[\"tables\",\"set-row-options\"],\"category\":\"tables\",\"description\":\"Set options on a table row such as header repeat or page break.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableRow\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"allowBreakAcrossPages\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"allowBreakAcrossPages\",\"flag\":\"allow-break-across-pages\",\"required\":false},{\"name\":\"repeatHeader\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"repeatHeader\",\"flag\":\"repeat-header\",\"required\":false},{\"name\":\"gridBefore\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"gridBefore\",\"flag\":\"grid-before\",\"required\":false},{\"name\":\"gridAfter\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"gridAfter\",\"flag\":\"grid-after\",\"required\":false},{\"name\":\"wBefore\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"wBefore\",\"flag\":\"w-before-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\"},\"type\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"dxa\"},{\"const\":\"nil\"},{\"const\":\"pct\"}]}},\"additionalProperties\":false,\"required\":[\"value\",\"type\"]}},{\"name\":\"wAfter\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"wAfter\",\"flag\":\"w-after-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"number\"},\"type\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"dxa\"},{\"const\":\"nil\"},{\"const\":\"pct\"}]}},\"additionalProperties\":false,\"required\":[\"value\",\"type\"]}},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setRowOptions\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_row_options\",\"hasFailureResult\":true},\"doc.tables.insertColumn\":{\"operationId\":\"doc.tables.insertColumn\",\"sdkSurface\":\"document\",\"command\":\"tables insert-column\",\"commandTokens\":[\"tables\",\"insert-column\"],\"category\":\"tables\",\"description\":\"Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":false},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"first\"},{\"const\":\"last\"}]}},{\"name\":\"count\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"count\",\"flag\":\"count\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.insertColumn\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"insert_column\",\"hasFailureResult\":true},\"doc.tables.deleteColumn\":{\"operationId\":\"doc.tables.deleteColumn\",\"sdkSurface\":\"document\",\"command\":\"tables delete-column\",\"commandTokens\":[\"tables\",\"delete-column\"],\"category\":\"tables\",\"description\":\"Delete a column from the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.deleteColumn\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"delete_column\",\"hasFailureResult\":true},\"doc.tables.moveColumn\":{\"operationId\":\"doc.tables.moveColumn\",\"sdkSurface\":\"document\",\"command\":\"tables move-column\",\"commandTokens\":[\"tables\",\"move-column\"],\"category\":\"tables\",\"description\":\"Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":true},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"first\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"last\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"columnIndex\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"columnIndex\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.moveColumn\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"move_column\",\"hasFailureResult\":true},\"doc.tables.setColumnWidth\":{\"operationId\":\"doc.tables.setColumnWidth\",\"sdkSurface\":\"document\",\"command\":\"tables set-column-width\",\"commandTokens\":[\"tables\",\"set-column-width\"],\"category\":\"tables\",\"description\":\"Set the width of a table column.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":true},{\"name\":\"widthPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"widthPt\",\"flag\":\"width-pt\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setColumnWidth\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_column\",\"hasFailureResult\":true},\"doc.tables.distributeColumns\":{\"operationId\":\"doc.tables.distributeColumns\",\"sdkSurface\":\"document\",\"command\":\"tables distribute-columns\",\"commandTokens\":[\"tables\",\"distribute-columns\"],\"category\":\"tables\",\"description\":\"Distribute column widths evenly across the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"columnRange\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"columnRange\",\"flag\":\"column-range-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.distributeColumns\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.insertCell\":{\"operationId\":\"doc.tables.insertCell\",\"sdkSurface\":\"document\",\"command\":\"tables insert-cell\",\"commandTokens\":[\"tables\",\"insert-cell\"],\"category\":\"tables\",\"description\":\"Insert a new cell into a table row.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"shiftRight\"},{\"const\":\"shiftDown\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.insertCell\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.deleteCell\":{\"operationId\":\"doc.tables.deleteCell\",\"sdkSurface\":\"document\",\"command\":\"tables delete-cell\",\"commandTokens\":[\"tables\",\"delete-cell\"],\"category\":\"tables\",\"description\":\"Delete a cell from a table row.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"shiftLeft\"},{\"const\":\"shiftUp\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.deleteCell\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.mergeCells\":{\"operationId\":\"doc.tables.mergeCells\",\"sdkSurface\":\"document\",\"command\":\"tables merge-cells\",\"commandTokens\":[\"tables\",\"merge-cells\"],\"category\":\"tables\",\"description\":\"Merge a range of table cells into one.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]}},{\"name\":\"end\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"end\",\"flag\":\"end-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"rowIndex\":{\"type\":\"number\"},\"columnIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"rowIndex\",\"columnIndex\"]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.mergeCells\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"merge_cells\",\"hasFailureResult\":true},\"doc.tables.unmergeCells\":{\"operationId\":\"doc.tables.unmergeCells\",\"sdkSurface\":\"document\",\"command\":\"tables unmerge-cells\",\"commandTokens\":[\"tables\",\"unmerge-cells\"],\"category\":\"tables\",\"description\":\"Unmerge a previously merged table cell.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.unmergeCells\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"unmerge_cells\",\"hasFailureResult\":true},\"doc.tables.splitCell\":{\"operationId\":\"doc.tables.splitCell\",\"sdkSurface\":\"document\",\"command\":\"tables split-cell\",\"commandTokens\":[\"tables\",\"split-cell\"],\"category\":\"tables\",\"description\":\"Split a table cell into multiple cells.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"rows\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rows\",\"flag\":\"rows\",\"required\":true},{\"name\":\"columns\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columns\",\"flag\":\"columns\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.splitCell\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setCellProperties\":{\"operationId\":\"doc.tables.setCellProperties\",\"sdkSurface\":\"document\",\"command\":\"tables set-cell-properties\",\"commandTokens\":[\"tables\",\"set-cell-properties\"],\"category\":\"tables\",\"description\":\"Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action \\\"set_cell_text\\\" instead.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"preferredWidthPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"preferredWidthPt\",\"flag\":\"preferred-width-pt\",\"required\":false},{\"name\":\"preferredWidthType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preferredWidthType\",\"flag\":\"preferred-width-type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":\"dxa\"},{\"const\":\"pct\"}]}},{\"name\":\"verticalAlign\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"verticalAlign\",\"flag\":\"vertical-align\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]}},{\"name\":\"wrapText\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"wrapText\",\"flag\":\"wrap-text\",\"required\":false},{\"name\":\"fitText\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"fitText\",\"flag\":\"fit-text\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setCellProperties\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_cell\",\"hasFailureResult\":true},\"doc.tables.setCellText\":{\"operationId\":\"doc.tables.setCellText\",\"sdkSurface\":\"document\",\"command\":\"tables set-cell-text\",\"commandTokens\":[\"tables\",\"set-cell-text\"],\"category\":\"tables\",\"description\":\"Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}]}},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setCellText\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_cell_text\",\"hasFailureResult\":true},\"doc.tables.sort\":{\"operationId\":\"doc.tables.sort\",\"sdkSurface\":\"document\",\"command\":\"tables sort\",\"commandTokens\":[\"tables\",\"sort\"],\"category\":\"tables\",\"description\":\"Sort table rows by a column value.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"keys\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"keys\",\"flag\":\"keys-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"columnIndex\":{\"type\":\"number\"},\"direction\":{\"oneOf\":[{\"const\":\"ascending\"},{\"const\":\"descending\"}]},\"type\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"number\"},{\"const\":\"date\"}]}},\"additionalProperties\":false,\"required\":[\"columnIndex\",\"direction\",\"type\"]},\"minItems\":1,\"description\":\"At least one sort key is required.\"},\"description\":\"At least one sort key is required.\"}],\"constraints\":null,\"documentApiOperationId\":\"tables.sort\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setAltText\":{\"operationId\":\"doc.tables.setAltText\",\"sdkSurface\":\"document\",\"command\":\"tables set-alt-text\",\"commandTokens\":[\"tables\",\"set-alt-text\"],\"category\":\"tables\",\"description\":\"Set the alternative text description for a table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"title\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"title\",\"flag\":\"title\",\"required\":false},{\"name\":\"description\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"description\",\"flag\":\"description\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setAltText\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setStyle\":{\"operationId\":\"doc.tables.setStyle\",\"sdkSurface\":\"document\",\"command\":\"tables set-style\",\"commandTokens\":[\"tables\",\"set-style\"],\"category\":\"tables\",\"description\":\"Apply a named table style to the target table, or clear the style when styleId is omitted.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setStyle\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.clearStyle\":{\"operationId\":\"doc.tables.clearStyle\",\"sdkSurface\":\"document\",\"command\":\"tables clear-style\",\"commandTokens\":[\"tables\",\"clear-style\"],\"category\":\"tables\",\"description\":\"Remove the applied table style, reverting to defaults.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setStyleOption\":{\"operationId\":\"doc.tables.setStyleOption\",\"sdkSurface\":\"document\",\"command\":\"tables set-style-option\",\"commandTokens\":[\"tables\",\"set-style-option\"],\"category\":\"tables\",\"description\":\"Toggle a conditional style option such as banded rows or first column.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"flag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"flag\",\"flag\":\"flag\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"headerRow\"},{\"const\":\"lastRow\"},{\"const\":\"totalRow\"},{\"const\":\"firstColumn\"},{\"const\":\"lastColumn\"},{\"const\":\"bandedRows\"},{\"const\":\"bandedColumns\"}]}},{\"name\":\"enabled\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"enabled\",\"flag\":\"enabled\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setStyleOption\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setBorder\":{\"operationId\":\"doc.tables.setBorder\",\"sdkSurface\":\"document\",\"command\":\"tables set-border\",\"commandTokens\":[\"tables\",\"set-border\"],\"category\":\"tables\",\"description\":\"Set border properties on a table or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"table\"},{\"const\":\"tableCell\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"edge\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"edge\",\"flag\":\"edge\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"bottom\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"insideH\"},{\"const\":\"insideV\"},{\"const\":\"diagonalDown\"},{\"const\":\"diagonalUp\"}]}},{\"name\":\"lineStyle\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lineStyle\",\"flag\":\"line-style\",\"required\":true},{\"name\":\"lineWeightPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"lineWeightPt\",\"flag\":\"line-weight-pt\",\"required\":true},{\"name\":\"color\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"color\",\"flag\":\"color\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setBorder\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.clearBorder\":{\"operationId\":\"doc.tables.clearBorder\",\"sdkSurface\":\"document\",\"command\":\"tables clear-border\",\"commandTokens\":[\"tables\",\"clear-border\"],\"category\":\"tables\",\"description\":\"Remove border formatting from a table or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"table\"},{\"const\":\"tableCell\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"edge\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"edge\",\"flag\":\"edge\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"bottom\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"insideH\"},{\"const\":\"insideV\"},{\"const\":\"diagonalDown\"},{\"const\":\"diagonalUp\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearBorder\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.applyBorderPreset\":{\"operationId\":\"doc.tables.applyBorderPreset\",\"sdkSurface\":\"document\",\"command\":\"tables apply-border-preset\",\"commandTokens\":[\"tables\",\"apply-border-preset\"],\"category\":\"tables\",\"description\":\"Apply a border preset (e.g. all borders, outside only) to a table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preset\",\"flag\":\"preset\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"box\"},{\"const\":\"all\"},{\"const\":\"none\"},{\"const\":\"grid\"},{\"const\":\"custom\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.applyBorderPreset\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setShading\":{\"operationId\":\"doc.tables.setShading\",\"sdkSurface\":\"document\",\"command\":\"tables set-shading\",\"commandTokens\":[\"tables\",\"set-shading\"],\"category\":\"tables\",\"description\":\"Set the background shading color on a table or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"table\"},{\"const\":\"tableCell\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"color\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"color\",\"flag\":\"color-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.setShading\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_shading\",\"hasFailureResult\":true},\"doc.tables.clearShading\":{\"operationId\":\"doc.tables.clearShading\",\"sdkSurface\":\"document\",\"command\":\"tables clear-shading\",\"commandTokens\":[\"tables\",\"clear-shading\"],\"category\":\"tables\",\"description\":\"Remove shading from a table or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"table\"},{\"const\":\"tableCell\"}]},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearShading\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setTablePadding\":{\"operationId\":\"doc.tables.setTablePadding\",\"sdkSurface\":\"document\",\"command\":\"tables set-table-padding\",\"commandTokens\":[\"tables\",\"set-table-padding\"],\"category\":\"tables\",\"description\":\"Set default cell padding for the entire table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"topPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"topPt\",\"flag\":\"top-pt\",\"required\":true},{\"name\":\"rightPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rightPt\",\"flag\":\"right-pt\",\"required\":true},{\"name\":\"bottomPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"bottomPt\",\"flag\":\"bottom-pt\",\"required\":true},{\"name\":\"leftPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"leftPt\",\"flag\":\"left-pt\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setTablePadding\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setCellPadding\":{\"operationId\":\"doc.tables.setCellPadding\",\"sdkSurface\":\"document\",\"command\":\"tables set-cell-padding\",\"commandTokens\":[\"tables\",\"set-cell-padding\"],\"category\":\"tables\",\"description\":\"Set padding on a specific table cell or cell range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableCell\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"topPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"topPt\",\"flag\":\"top-pt\",\"required\":false},{\"name\":\"rightPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rightPt\",\"flag\":\"right-pt\",\"required\":false},{\"name\":\"bottomPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"bottomPt\",\"flag\":\"bottom-pt\",\"required\":false},{\"name\":\"leftPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"leftPt\",\"flag\":\"left-pt\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.setCellPadding\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.setCellSpacing\":{\"operationId\":\"doc.tables.setCellSpacing\",\"sdkSurface\":\"document\",\"command\":\"tables set-cell-spacing\",\"commandTokens\":[\"tables\",\"set-cell-spacing\"],\"category\":\"tables\",\"description\":\"Set the cell spacing for the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"spacingPt\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"spacingPt\",\"flag\":\"spacing-pt\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setCellSpacing\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.clearCellSpacing\":{\"operationId\":\"doc.tables.clearCellSpacing\",\"sdkSurface\":\"document\",\"command\":\"tables clear-cell-spacing\",\"commandTokens\":[\"tables\",\"clear-cell-spacing\"],\"category\":\"tables\",\"description\":\"Remove custom cell spacing from the target table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearCellSpacing\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.applyStyle\":{\"operationId\":\"doc.tables.applyStyle\",\"sdkSurface\":\"document\",\"command\":\"tables apply-style\",\"commandTokens\":[\"tables\",\"apply-style\"],\"category\":\"tables\",\"description\":\"Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass `styleOptions` with the flags you want to set or clear (omitted flags stay unchanged). For \\\"format the first row as a header\\\" use `styleOptions: { headerRow: true }`. Optional `styleId` applies a named table style. Leave it unset unless you have a styleId from `superdoc_get_content` (no need to invent one).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":false},{\"name\":\"styleOptions\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"styleOptions\",\"flag\":\"style-options-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"headerRow\":{\"type\":\"boolean\"},\"lastRow\":{\"type\":\"boolean\"},\"totalRow\":{\"type\":\"boolean\"},\"firstColumn\":{\"type\":\"boolean\"},\"lastColumn\":{\"type\":\"boolean\"},\"bandedRows\":{\"type\":\"boolean\"},\"bandedColumns\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"tables.applyStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_style_options\",\"hasFailureResult\":true},\"doc.tables.setBorders\":{\"operationId\":\"doc.tables.setBorders\",\"sdkSurface\":\"document\",\"command\":\"tables set-borders\",\"commandTokens\":[\"tables\",\"set-borders\"],\"category\":\"tables\",\"description\":\"Set borders on a table using a target set or per-edge patch.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"applyTo\"},{\"const\":\"edges\"}]}},{\"name\":\"applyTo\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"applyTo\",\"flag\":\"apply-to\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"all\"},{\"const\":\"outside\"},{\"const\":\"inside\"},{\"const\":\"top\"},{\"const\":\"bottom\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"insideH\"},{\"const\":\"insideV\"}]}},{\"name\":\"border\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"border\",\"flag\":\"border-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]}},{\"name\":\"edges\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"edges\",\"flag\":\"edges-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"top\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]},\"bottom\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]},\"left\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]},\"right\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]},\"insideH\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]},\"insideV\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"lineStyle\":{\"type\":\"string\"},\"lineWeightPt\":{\"type\":\"number\"},\"color\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"lineStyle\",\"lineWeightPt\",\"color\"]},{\"type\":\"json\"}]}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"tables.setBorders\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_borders\",\"hasFailureResult\":true},\"doc.tables.setTableOptions\":{\"operationId\":\"doc.tables.setTableOptions\",\"sdkSurface\":\"document\",\"command\":\"tables set-table-options\",\"commandTokens\":[\"tables\",\"set-table-options\"],\"category\":\"tables\",\"description\":\"Set table-level default cell margins and/or cell spacing.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"defaultCellMargins\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"defaultCellMargins\",\"flag\":\"default-cell-margins-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"topPt\":{\"type\":\"number\"},\"rightPt\":{\"type\":\"number\"},\"bottomPt\":{\"type\":\"number\"},\"leftPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"topPt\",\"rightPt\",\"bottomPt\",\"leftPt\"]}},{\"name\":\"cellSpacingPt\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"cellSpacingPt\",\"flag\":\"cell-spacing-pt-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"tables.setTableOptions\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"intentGroup\":\"table\",\"intentAction\":\"set_options\",\"hasFailureResult\":true},\"doc.tables.applyPreset\":{\"operationId\":\"doc.tables.applyPreset\",\"sdkSurface\":\"document\",\"command\":\"tables apply-preset\",\"commandTokens\":[\"tables\",\"apply-preset\"],\"category\":\"tables\",\"description\":\"Apply a named visual preset to a table. Presets: \\\"grid\\\" (1pt black borders all around), \\\"minimal\\\" (no outer borders, hairline grey row separators + thicker bottom), \\\"striped\\\" (banded rows on, 0.5pt grey borders), \\\"accent\\\" (filled header row + thick accent top/bottom; defaults to dark blue, override with `accentColor`). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and `superdoc_mutations` (intentionally NOT exposed as a top-level action on `superdoc_table`. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"preset\",\"flag\":\"preset\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"grid\"},{\"const\":\"minimal\"},{\"const\":\"striped\"},{\"const\":\"accent\"}]}},{\"name\":\"accentColor\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"accentColor\",\"flag\":\"accent-color\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.applyPreset\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.get\":{\"operationId\":\"doc.tables.get\",\"sdkSurface\":\"document\",\"command\":\"tables get\",\"commandTokens\":[\"tables\",\"get\"],\"category\":\"tables\",\"description\":\"Retrieve table structure and dimensions by locator.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.tables.getCells\":{\"operationId\":\"doc.tables.getCells\",\"sdkSurface\":\"document\",\"command\":\"tables get-cells\",\"commandTokens\":[\"tables\",\"get-cells\"],\"category\":\"tables\",\"description\":\"Retrieve cell information for a table, optionally filtered by row or column.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false},{\"name\":\"rowIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"rowIndex\",\"flag\":\"row-index\",\"required\":false},{\"name\":\"columnIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"columnIndex\",\"flag\":\"column-index\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.getCells\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.tables.getProperties\":{\"operationId\":\"doc.tables.getProperties\",\"sdkSurface\":\"document\",\"command\":\"tables get-properties\",\"commandTokens\":[\"tables\",\"get-properties\"],\"category\":\"tables\",\"description\":\"Retrieve layout and style properties of a table.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"table\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"nodeId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"nodeId\",\"flag\":\"node-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"tables.getProperties\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.tables.getStyles\":{\"operationId\":\"doc.tables.getStyles\",\"sdkSurface\":\"document\",\"command\":\"tables get-styles\",\"commandTokens\":[\"tables\",\"get-styles\"],\"category\":\"tables\",\"description\":\"List all table styles and the document-level default table style setting.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"tables.getStyles\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.tables.setDefaultStyle\":{\"operationId\":\"doc.tables.setDefaultStyle\",\"sdkSurface\":\"document\",\"command\":\"tables set-default-style\",\"commandTokens\":[\"tables\",\"set-default-style\"],\"category\":\"tables\",\"description\":\"Set the document-level default table style (w:defaultTableStyle in settings.xml).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"styleId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleId\",\"flag\":\"style-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"tables.setDefaultStyle\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.tables.clearDefaultStyle\":{\"operationId\":\"doc.tables.clearDefaultStyle\",\"sdkSurface\":\"document\",\"command\":\"tables clear-default-style\",\"commandTokens\":[\"tables\",\"clear-default-style\"],\"category\":\"tables\",\"description\":\"Remove the document-level default table style setting.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"}],\"constraints\":null,\"documentApiOperationId\":\"tables.clearDefaultStyle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.create.tableOfContents\":{\"operationId\":\"doc.create.tableOfContents\",\"sdkSurface\":\"document\",\"command\":\"create table-of-contents\",\"commandTokens\":[\"create\",\"table-of-contents\"],\"category\":\"create\",\"description\":\"Insert a new table of contents at the target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}},{\"name\":\"config\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"config\",\"flag\":\"config-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"outlineLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"useAppliedOutlineLevel\":{\"type\":\"boolean\"},\"tcFieldIdentifier\":{\"type\":\"string\"},\"tcFieldLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"hyperlinks\":{\"type\":\"boolean\"},\"hideInWebView\":{\"type\":\"boolean\"},\"omitPageNumberLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"separator\":{\"type\":\"string\"},\"includePageNumbers\":{\"type\":\"boolean\"},\"tabLeader\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"hyphen\"},{\"const\":\"underscore\"},{\"const\":\"middleDot\"}]},\"rightAlignPageNumbers\":{\"type\":\"boolean\"}},\"additionalProperties\":false}},{\"name\":\"instruction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"instruction\",\"flag\":\"instruction\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"create.tableOfContents\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.list\":{\"operationId\":\"doc.toc.list\",\"sdkSurface\":\"document\",\"command\":\"toc list\",\"commandTokens\":[\"toc\",\"list\"],\"category\":\"toc\",\"description\":\"List all tables of contents in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"toc.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.toc.get\":{\"operationId\":\"doc.toc.get\",\"sdkSurface\":\"document\",\"command\":\"toc get\",\"commandTokens\":[\"toc\",\"get\"],\"category\":\"toc\",\"description\":\"Retrieve details of a specific table of contents.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfContents\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"toc.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.toc.configure\":{\"operationId\":\"doc.toc.configure\",\"sdkSurface\":\"document\",\"command\":\"toc configure\",\"commandTokens\":[\"toc\",\"configure\"],\"category\":\"toc\",\"description\":\"Update the configuration switches of a table of contents.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfContents\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"outlineLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"useAppliedOutlineLevel\":{\"type\":\"boolean\"},\"tcFieldIdentifier\":{\"type\":\"string\"},\"tcFieldLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"hyperlinks\":{\"type\":\"boolean\"},\"hideInWebView\":{\"type\":\"boolean\"},\"omitPageNumberLevels\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"separator\":{\"type\":\"string\"},\"includePageNumbers\":{\"type\":\"boolean\"},\"tabLeader\":{\"oneOf\":[{\"const\":\"none\"},{\"const\":\"dot\"},{\"const\":\"hyphen\"},{\"const\":\"underscore\"},{\"const\":\"middleDot\"}]},\"rightAlignPageNumbers\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"toc.configure\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.update\":{\"operationId\":\"doc.toc.update\",\"sdkSurface\":\"document\",\"command\":\"toc update\",\"commandTokens\":[\"toc\",\"update\"],\"category\":\"toc\",\"description\":\"Rebuild or refresh the materialized content of a table of contents.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfContents\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"all\"},{\"const\":\"pageNumbers\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"toc.update\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.remove\":{\"operationId\":\"doc.toc.remove\",\"sdkSurface\":\"document\",\"command\":\"toc remove\",\"commandTokens\":[\"toc\",\"remove\"],\"category\":\"toc\",\"description\":\"Remove a table of contents from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfContents\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"toc.remove\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.markEntry\":{\"operationId\":\"doc.toc.markEntry\",\"sdkSurface\":\"document\",\"command\":\"toc mark-entry\",\"commandTokens\":[\"toc\",\"mark-entry\"],\"category\":\"toc\",\"description\":\"Insert a TC (table of contents entry) field at the target paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline-insert\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"nodeType\",\"nodeId\"]},\"position\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"anchor\"]}},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true},{\"name\":\"level\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"level\",\"flag\":\"level\",\"required\":false},{\"name\":\"tableIdentifier\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tableIdentifier\",\"flag\":\"table-identifier\",\"required\":false},{\"name\":\"omitPageNumber\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"omitPageNumber\",\"flag\":\"omit-page-number\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"toc.markEntry\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.unmarkEntry\":{\"operationId\":\"doc.toc.unmarkEntry\",\"sdkSurface\":\"document\",\"command\":\"toc unmark-entry\",\"commandTokens\":[\"toc\",\"unmark-entry\"],\"category\":\"toc\",\"description\":\"Remove a TC (table of contents entry) field from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"tableOfContentsEntry\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"toc.unmarkEntry\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.toc.listEntries\":{\"operationId\":\"doc.toc.listEntries\",\"sdkSurface\":\"document\",\"command\":\"toc list-entries\",\"commandTokens\":[\"toc\",\"list-entries\"],\"category\":\"toc\",\"description\":\"List all TC (table of contents entry) fields in the document body.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"tableIdentifier\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tableIdentifier\",\"flag\":\"table-identifier\",\"required\":false},{\"name\":\"levelRange\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"levelRange\",\"flag\":\"level-range-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"number\"},\"to\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"toc.listEntries\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.toc.getEntry\":{\"operationId\":\"doc.toc.getEntry\",\"sdkSurface\":\"document\",\"command\":\"toc get-entry\",\"commandTokens\":[\"toc\",\"get-entry\"],\"category\":\"toc\",\"description\":\"Retrieve details of a specific TC (table of contents entry) field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"tableOfContentsEntry\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"toc.getEntry\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.toc.editEntry\":{\"operationId\":\"doc.toc.editEntry\",\"sdkSurface\":\"document\",\"command\":\"toc edit-entry\",\"commandTokens\":[\"toc\",\"edit-entry\"],\"category\":\"toc\",\"description\":\"Update the properties of a TC (table of contents entry) field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"tableOfContentsEntry\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"},\"level\":{\"type\":\"number\"},\"tableIdentifier\":{\"type\":\"string\"},\"omitPageNumber\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"toc.editEntry\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.history.get\":{\"operationId\":\"doc.history.get\",\"sdkSurface\":\"document\",\"command\":\"history get\",\"commandTokens\":[\"history\",\"get\"],\"category\":\"history\",\"description\":\"Query the current undo/redo history state of the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"history.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.history.undo\":{\"operationId\":\"doc.history.undo\",\"sdkSurface\":\"document\",\"command\":\"history undo\",\"commandTokens\":[\"history\",\"undo\"],\"category\":\"history\",\"description\":\"Undo the most recent history-safe mutation in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"}],\"constraints\":null,\"documentApiOperationId\":\"history.undo\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"edit\",\"intentAction\":\"undo\",\"hasFailureResult\":true},\"doc.history.redo\":{\"operationId\":\"doc.history.redo\",\"sdkSurface\":\"document\",\"command\":\"history redo\",\"commandTokens\":[\"history\",\"redo\"],\"category\":\"history\",\"description\":\"Redo the most recently undone action in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"}],\"constraints\":null,\"documentApiOperationId\":\"history.redo\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"intentGroup\":\"edit\",\"intentAction\":\"redo\",\"hasFailureResult\":true},\"doc.create.image\":{\"operationId\":\"doc.create.image\",\"sdkSurface\":\"document\",\"command\":\"create image\",\"commandTokens\":[\"create\",\"image\"],\"category\":\"create\",\"description\":\"Insert a new image at the target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},{\"name\":\"src\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"src\",\"flag\":\"src\",\"required\":true},{\"name\":\"alt\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alt\",\"flag\":\"alt\",\"required\":false},{\"name\":\"title\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"title\",\"flag\":\"title\",\"required\":false},{\"name\":\"size\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"size\",\"flag\":\"size-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"width\":{\"type\":\"number\"},\"height\":{\"type\":\"number\"}},\"additionalProperties\":false}},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inParagraph\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inContentControl\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"position\":{\"oneOf\":[{\"const\":\"start\"},{\"const\":\"end\"}]},\"replaceContent\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"create.image\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.list\":{\"operationId\":\"doc.images.list\",\"sdkSurface\":\"document\",\"command\":\"images list\",\"commandTokens\":[\"images\",\"list\"],\"category\":\"images\",\"description\":\"List all images in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"images.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.images.get\":{\"operationId\":\"doc.images.get\",\"sdkSurface\":\"document\",\"command\":\"images get\",\"commandTokens\":[\"images\",\"get\"],\"category\":\"images\",\"description\":\"Get details for a specific image by its stable ID.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.images.delete\":{\"operationId\":\"doc.images.delete\",\"sdkSurface\":\"document\",\"command\":\"images delete\",\"commandTokens\":[\"images\",\"delete\"],\"category\":\"images\",\"description\":\"Delete an image from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.move\":{\"operationId\":\"doc.images.move\",\"sdkSurface\":\"document\",\"command\":\"images move\",\"commandTokens\":[\"images\",\"move\"],\"category\":\"images\",\"description\":\"Move an image to a new location in the document. Tracked-mode authoring supports safe sole inline-image body paragraphs and emits paired `<w:moveFrom>` / `<w:moveTo>` wrappers with explicit move range marker identity.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"to\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"to\",\"flag\":\"to-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inParagraph\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"images.move\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"conditional\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":true,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.convertToInline\":{\"operationId\":\"doc.images.convertToInline\",\"sdkSurface\":\"document\",\"command\":\"images convert-to-inline\",\"commandTokens\":[\"images\",\"convert-to-inline\"],\"category\":\"images\",\"description\":\"Convert a floating image to inline placement.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.convertToInline\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.convertToFloating\":{\"operationId\":\"doc.images.convertToFloating\",\"sdkSurface\":\"document\",\"command\":\"images convert-to-floating\",\"commandTokens\":[\"images\",\"convert-to-floating\"],\"category\":\"images\",\"description\":\"Convert an inline image to floating placement.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.convertToFloating\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setSize\":{\"operationId\":\"doc.images.setSize\",\"sdkSurface\":\"document\",\"command\":\"images set-size\",\"commandTokens\":[\"images\",\"set-size\"],\"category\":\"images\",\"description\":\"Set explicit width/height for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"size\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"size\",\"flag\":\"size-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"width\":{\"type\":\"number\"},\"height\":{\"type\":\"number\"},\"unit\":{\"oneOf\":[{\"const\":\"px\"},{\"const\":\"pt\"},{\"const\":\"twip\"}]}},\"additionalProperties\":false,\"required\":[\"width\",\"height\"]}}],\"constraints\":null,\"documentApiOperationId\":\"images.setSize\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setWrapType\":{\"operationId\":\"doc.images.setWrapType\",\"sdkSurface\":\"document\",\"command\":\"images set-wrap-type\",\"commandTokens\":[\"images\",\"set-wrap-type\"],\"category\":\"images\",\"description\":\"Set the text wrapping type for a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"None\"},{\"const\":\"Square\"},{\"const\":\"Through\"},{\"const\":\"Tight\"},{\"const\":\"TopAndBottom\"},{\"const\":\"Inline\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"images.setWrapType\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setWrapSide\":{\"operationId\":\"doc.images.setWrapSide\",\"sdkSurface\":\"document\",\"command\":\"images set-wrap-side\",\"commandTokens\":[\"images\",\"set-wrap-side\"],\"category\":\"images\",\"description\":\"Set which side(s) text wraps around a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"side\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"side\",\"flag\":\"side\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"bothSides\"},{\"const\":\"left\"},{\"const\":\"right\"},{\"const\":\"largest\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"images.setWrapSide\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setWrapDistances\":{\"operationId\":\"doc.images.setWrapDistances\",\"sdkSurface\":\"document\",\"command\":\"images set-wrap-distances\",\"commandTokens\":[\"images\",\"set-wrap-distances\"],\"category\":\"images\",\"description\":\"Set the text-wrap distance margins for a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"distances\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"distances\",\"flag\":\"distances-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"distTop\":{\"type\":\"number\"},\"distBottom\":{\"type\":\"number\"},\"distLeft\":{\"type\":\"number\"},\"distRight\":{\"type\":\"number\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"images.setWrapDistances\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setPosition\":{\"operationId\":\"doc.images.setPosition\",\"sdkSurface\":\"document\",\"command\":\"images set-position\",\"commandTokens\":[\"images\",\"set-position\"],\"category\":\"images\",\"description\":\"Set the anchor position for a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"position\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"position\",\"flag\":\"position-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"hRelativeFrom\":{\"type\":\"string\"},\"vRelativeFrom\":{\"type\":\"string\"},\"alignH\":{\"type\":\"string\"},\"alignV\":{\"type\":\"string\"},\"marginOffset\":{\"type\":\"object\",\"properties\":{\"horizontal\":{\"type\":\"number\"},\"top\":{\"type\":\"number\"}},\"additionalProperties\":false}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"images.setPosition\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setAnchorOptions\":{\"operationId\":\"doc.images.setAnchorOptions\",\"sdkSurface\":\"document\",\"command\":\"images set-anchor-options\",\"commandTokens\":[\"images\",\"set-anchor-options\"],\"category\":\"images\",\"description\":\"Set anchor behavior options for a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"options\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"options\",\"flag\":\"options-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"behindDoc\":{\"type\":\"boolean\"},\"allowOverlap\":{\"type\":\"boolean\"},\"layoutInCell\":{\"type\":\"boolean\"},\"lockAnchor\":{\"type\":\"boolean\"},\"simplePos\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"images.setAnchorOptions\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setZOrder\":{\"operationId\":\"doc.images.setZOrder\",\"sdkSurface\":\"document\",\"command\":\"images set-z-order\",\"commandTokens\":[\"images\",\"set-z-order\"],\"category\":\"images\",\"description\":\"Set the z-order (relativeHeight) for a floating image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"zOrder\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"zOrder\",\"flag\":\"z-order-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"relativeHeight\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeHeight\"]}}],\"constraints\":null,\"documentApiOperationId\":\"images.setZOrder\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.scale\":{\"operationId\":\"doc.images.scale\",\"sdkSurface\":\"document\",\"command\":\"images scale\",\"commandTokens\":[\"images\",\"scale\"],\"category\":\"images\",\"description\":\"Scale an image by a uniform factor applied to both dimensions.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"factor\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"factor\",\"flag\":\"factor\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.scale\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setLockAspectRatio\":{\"operationId\":\"doc.images.setLockAspectRatio\",\"sdkSurface\":\"document\",\"command\":\"images set-lock-aspect-ratio\",\"commandTokens\":[\"images\",\"set-lock-aspect-ratio\"],\"category\":\"images\",\"description\":\"Lock or unlock the aspect ratio for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"locked\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"locked\",\"flag\":\"locked\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.setLockAspectRatio\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.rotate\":{\"operationId\":\"doc.images.rotate\",\"sdkSurface\":\"document\",\"command\":\"images rotate\",\"commandTokens\":[\"images\",\"rotate\"],\"category\":\"images\",\"description\":\"Set the absolute rotation angle for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"angle\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"angle\",\"flag\":\"angle\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.rotate\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.flip\":{\"operationId\":\"doc.images.flip\",\"sdkSurface\":\"document\",\"command\":\"images flip\",\"commandTokens\":[\"images\",\"flip\"],\"category\":\"images\",\"description\":\"Set horizontal and/or vertical flip state for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"horizontal\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"horizontal\",\"flag\":\"horizontal\",\"required\":false},{\"name\":\"vertical\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"vertical\",\"flag\":\"vertical\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"images.flip\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.crop\":{\"operationId\":\"doc.images.crop\",\"sdkSurface\":\"document\",\"command\":\"images crop\",\"commandTokens\":[\"images\",\"crop\"],\"category\":\"images\",\"description\":\"Apply rectangular edge-percentage crop to an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"crop\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"crop\",\"flag\":\"crop-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"number\"},\"top\":{\"type\":\"number\"},\"right\":{\"type\":\"number\"},\"bottom\":{\"type\":\"number\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"images.crop\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.resetCrop\":{\"operationId\":\"doc.images.resetCrop\",\"sdkSurface\":\"document\",\"command\":\"images reset-crop\",\"commandTokens\":[\"images\",\"reset-crop\"],\"category\":\"images\",\"description\":\"Remove all cropping from an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.resetCrop\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.replaceSource\":{\"operationId\":\"doc.images.replaceSource\",\"sdkSurface\":\"document\",\"command\":\"images replace-source\",\"commandTokens\":[\"images\",\"replace-source\"],\"category\":\"images\",\"description\":\"Replace the image source while preserving identity and placement.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"src\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"src\",\"flag\":\"src\",\"required\":true},{\"name\":\"resetSize\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"resetSize\",\"flag\":\"reset-size\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"images.replaceSource\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setAltText\":{\"operationId\":\"doc.images.setAltText\",\"sdkSurface\":\"document\",\"command\":\"images set-alt-text\",\"commandTokens\":[\"images\",\"set-alt-text\"],\"category\":\"images\",\"description\":\"Set the accessibility description (alt text) for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"description\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"description\",\"flag\":\"description\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.setAltText\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setDecorative\":{\"operationId\":\"doc.images.setDecorative\",\"sdkSurface\":\"document\",\"command\":\"images set-decorative\",\"commandTokens\":[\"images\",\"set-decorative\"],\"category\":\"images\",\"description\":\"Mark or unmark an image as decorative.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"decorative\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"decorative\",\"flag\":\"decorative\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.setDecorative\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setName\":{\"operationId\":\"doc.images.setName\",\"sdkSurface\":\"document\",\"command\":\"images set-name\",\"commandTokens\":[\"images\",\"set-name\"],\"category\":\"images\",\"description\":\"Set the object name for an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"name\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"name\",\"flag\":\"name\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.setName\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.setHyperlink\":{\"operationId\":\"doc.images.setHyperlink\",\"sdkSurface\":\"document\",\"command\":\"images set-hyperlink\",\"commandTokens\":[\"images\",\"set-hyperlink\"],\"category\":\"images\",\"description\":\"Set or remove the hyperlink attached to an image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"url\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"url\",\"flag\":\"url-json\",\"required\":true,\"schema\":{\"type\":\"json\"}},{\"name\":\"tooltip\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tooltip\",\"flag\":\"tooltip\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"images.setHyperlink\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.insertCaption\":{\"operationId\":\"doc.images.insertCaption\",\"sdkSurface\":\"document\",\"command\":\"images insert-caption\",\"commandTokens\":[\"images\",\"insert-caption\"],\"category\":\"images\",\"description\":\"Insert a caption paragraph below the image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.insertCaption\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.updateCaption\":{\"operationId\":\"doc.images.updateCaption\",\"sdkSurface\":\"document\",\"command\":\"images update-caption\",\"commandTokens\":[\"images\",\"update-caption\"],\"category\":\"images\",\"description\":\"Update the text of an existing caption paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.updateCaption\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.images.removeCaption\":{\"operationId\":\"doc.images.removeCaption\",\"sdkSurface\":\"document\",\"command\":\"images remove-caption\",\"commandTokens\":[\"images\",\"remove-caption\"],\"category\":\"images\",\"description\":\"Remove the caption paragraph from below the image.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"imageId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"imageId\",\"flag\":\"image-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"images.removeCaption\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.hyperlinks.list\":{\"operationId\":\"doc.hyperlinks.list\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks list\",\"commandTokens\":[\"hyperlinks\",\"list\"],\"category\":\"core\",\"description\":\"List all hyperlinks in the document, with optional filtering by href, anchor, or display text.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"within\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"within\",\"flag\":\"within-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"hrefPattern\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"hrefPattern\",\"flag\":\"href-pattern\",\"required\":false},{\"name\":\"anchor\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"anchor\",\"flag\":\"anchor\",\"required\":false},{\"name\":\"textPattern\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"textPattern\",\"flag\":\"text-pattern\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.hyperlinks.get\":{\"operationId\":\"doc.hyperlinks.get\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks get\",\"commandTokens\":[\"hyperlinks\",\"get\"],\"category\":\"core\",\"description\":\"Retrieve details of a specific hyperlink by its inline address.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"hyperlink\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.hyperlinks.wrap\":{\"operationId\":\"doc.hyperlinks.wrap\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks wrap\",\"commandTokens\":[\"hyperlinks\",\"wrap\"],\"category\":\"core\",\"description\":\"Wrap an existing text range with a hyperlink. A range inside one pending tracked insertion is linked without authoring a revision: the insertion keeps its author and date and is split at the range boundaries. Ranges that cross a revision boundary or touch deleted, moved or several revisions are refused.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]}},{\"name\":\"link\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"link\",\"flag\":\"link-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"destination\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"anchor\":{\"type\":\"string\"},\"docLocation\":{\"type\":\"string\"}},\"additionalProperties\":false},\"tooltip\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"rel\":{\"type\":\"string\",\"description\":\"Browser relationship tokens kept for the current editing session; not persisted in DOCX or reviewed by Word.\"}},\"additionalProperties\":false,\"required\":[\"destination\"]}}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.wrap\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.hyperlinks.insert\":{\"operationId\":\"doc.hyperlinks.insert\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks insert\",\"commandTokens\":[\"hyperlinks\",\"insert\"],\"category\":\"core\",\"description\":\"Insert new linked text at a target position.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"range\"]}},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":true},{\"name\":\"link\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"link\",\"flag\":\"link-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"destination\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"anchor\":{\"type\":\"string\"},\"docLocation\":{\"type\":\"string\"}},\"additionalProperties\":false},\"tooltip\":{\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"rel\":{\"type\":\"string\",\"description\":\"Browser relationship tokens kept for the current editing session; not persisted in DOCX or reviewed by Word.\"}},\"additionalProperties\":false,\"required\":[\"destination\"]}}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.hyperlinks.patch\":{\"operationId\":\"doc.hyperlinks.patch\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks patch\",\"commandTokens\":[\"hyperlinks\",\"patch\"],\"category\":\"core\",\"description\":\"Update hyperlink metadata (destination, tooltip, target, rel) without changing display text.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"hyperlink\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"href\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"anchor\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"docLocation\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"tooltip\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"target\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]},\"rel\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}],\"description\":\"Session-only browser relationship tokens. Null or an empty string clears them; omission preserves them. Changes are undoable but do not create Word revisions.\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.patch\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.hyperlinks.remove\":{\"operationId\":\"doc.hyperlinks.remove\",\"sdkSurface\":\"document\",\"command\":\"hyperlinks remove\",\"commandTokens\":[\"hyperlinks\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a hyperlink. Mode \'unwrap\' preserves display text; \'deleteText\' removes the linked content entirely.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"hyperlink\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"unwrap\"},{\"const\":\"deleteText\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"hyperlinks.remove\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.list\":{\"operationId\":\"doc.headerFooters.list\",\"sdkSurface\":\"document\",\"command\":\"header-footers list\",\"commandTokens\":[\"header-footers\",\"list\"],\"category\":\"core\",\"description\":\"List header/footer slot entries across sections.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"section\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"section\",\"flag\":\"section-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.headerFooters.get\":{\"operationId\":\"doc.headerFooters.get\",\"sdkSurface\":\"document\",\"command\":\"header-footers get\",\"commandTokens\":[\"header-footers\",\"get\"],\"category\":\"core\",\"description\":\"Get a single header/footer slot entry by address.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.headerFooters.resolve\":{\"operationId\":\"doc.headerFooters.resolve\",\"sdkSurface\":\"document\",\"command\":\"header-footers resolve\",\"commandTokens\":[\"header-footers\",\"resolve\"],\"category\":\"core\",\"description\":\"Resolve the effective header/footer reference for a slot, walking the section inheritance chain.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.resolve\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.headerFooters.refs.set\":{\"operationId\":\"doc.headerFooters.refs.set\",\"sdkSurface\":\"document\",\"command\":\"header-footers refs set\",\"commandTokens\":[\"header-footers\",\"refs\",\"set\"],\"category\":\"core\",\"description\":\"Set an explicit header/footer reference on a section slot.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}},{\"name\":\"refId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"refId\",\"flag\":\"ref-id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.refs.set\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.refs.clear\":{\"operationId\":\"doc.headerFooters.refs.clear\",\"sdkSurface\":\"document\",\"command\":\"header-footers refs clear\",\"commandTokens\":[\"header-footers\",\"refs\",\"clear\"],\"category\":\"core\",\"description\":\"Clear an explicit header/footer reference from a section slot.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.refs.clear\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.refs.setLinkedToPrevious\":{\"operationId\":\"doc.headerFooters.refs.setLinkedToPrevious\",\"sdkSurface\":\"document\",\"command\":\"header-footers refs set-linked-to-previous\",\"commandTokens\":[\"header-footers\",\"refs\",\"set-linked-to-previous\"],\"category\":\"core\",\"description\":\"Link or unlink a header/footer slot to/from the previous section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}},{\"name\":\"linked\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"linked\",\"flag\":\"linked\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.refs.setLinkedToPrevious\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.parts.list\":{\"operationId\":\"doc.headerFooters.parts.list\",\"sdkSurface\":\"document\",\"command\":\"header-footers parts list\",\"commandTokens\":[\"header-footers\",\"parts\",\"list\"],\"category\":\"core\",\"description\":\"List unique header/footer part records from document relationships.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.parts.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.headerFooters.parts.create\":{\"operationId\":\"doc.headerFooters.parts.create\",\"sdkSurface\":\"document\",\"command\":\"header-footers parts create\",\"commandTokens\":[\"header-footers\",\"parts\",\"create\"],\"category\":\"core\",\"description\":\"Create a new independent header/footer part, optionally cloned from an existing part.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"sourceRefId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"sourceRefId\",\"flag\":\"source-ref-id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.parts.create\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.parts.delete\":{\"operationId\":\"doc.headerFooters.parts.delete\",\"sdkSurface\":\"document\",\"command\":\"header-footers parts delete\",\"commandTokens\":[\"header-footers\",\"parts\",\"delete\"],\"category\":\"core\",\"description\":\"Delete a header/footer part and its associated relationship when no section slots reference it.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"refId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.parts.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.pageNumbers.get\":{\"operationId\":\"doc.headerFooters.pageNumbers.get\",\"sdkSurface\":\"document\",\"command\":\"header-footers page-numbers get\",\"commandTokens\":[\"header-footers\",\"page-numbers\",\"get\"],\"category\":\"core\",\"description\":\"Read where a section shows page numbers, their alignment, the first-page choice, and the section\'s number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"section\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"section\",\"flag\":\"section-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.pageNumbers.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.headerFooters.pageNumbers.insert\":{\"operationId\":\"doc.headerFooters.pageNumbers.insert\",\"sdkSurface\":\"document\",\"command\":\"header-footers page-numbers insert\",\"commandTokens\":[\"header-footers\",\"page-numbers\",\"insert\"],\"category\":\"core\",\"description\":\"Atomically number a section\'s pages with a live PAGE field in its header or footer, with alignment, a first-page choice, and an optional number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"section\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"section\",\"flag\":\"section-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]}},{\"name\":\"showOnFirstPage\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"showOnFirstPage\",\"flag\":\"show-on-first-page\",\"required\":false},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"lowerLetter\"},{\"const\":\"upperLetter\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"numberInDash\"},{\"const\":\"hebrew1\"},{\"const\":\"hebrew2\"}]}},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.pageNumbers.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.pageNumbers.set\":{\"operationId\":\"doc.headerFooters.pageNumbers.set\",\"sdkSurface\":\"document\",\"command\":\"header-footers page-numbers set\",\"commandTokens\":[\"header-footers\",\"page-numbers\",\"set\"],\"category\":\"core\",\"description\":\"Atomically add a section\'s page numbers or change them: move them between header and footer, realign them, show or hide them on the first page, and set the number style and start. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"section\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"section\",\"flag\":\"section-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}},{\"name\":\"alignment\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alignment\",\"flag\":\"alignment\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]}},{\"name\":\"showOnFirstPage\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"showOnFirstPage\",\"flag\":\"show-on-first-page\",\"required\":false},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"lowerLetter\"},{\"const\":\"upperLetter\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"numberInDash\"},{\"const\":\"hebrew1\"},{\"const\":\"hebrew2\"}]}},{\"name\":\"start\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"start\",\"flag\":\"start\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"number\"},{\"type\":\"json\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.pageNumbers.set\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.headerFooters.pageNumbers.remove\":{\"operationId\":\"doc.headerFooters.pageNumbers.remove\",\"sdkSurface\":\"document\",\"command\":\"header-footers page-numbers remove\",\"commandTokens\":[\"header-footers\",\"page-numbers\",\"remove\"],\"category\":\"core\",\"description\":\"Atomically remove a section\'s PAGE fields from its header, footer, or both, keeping other header and footer content. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"section\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"section\",\"flag\":\"section-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"headerFooters.pageNumbers.remove\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.watermarks.apply\":{\"operationId\":\"doc.watermarks.apply\",\"sdkSurface\":\"document\",\"command\":\"watermarks apply\",\"commandTokens\":[\"watermarks\",\"apply\"],\"category\":\"core\",\"description\":\"Atomically insert, replace, or remove selected watermarks in explicit scopes while preserving surrounding headers. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlots\"},\"slots\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"const\":\"header\"},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]},\"minItems\":1}},\"additionalProperties\":false,\"required\":[\"kind\",\"slots\"]}]}},{\"name\":\"action\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"action\",\"flag\":\"action\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"insert\"},{\"const\":\"replace\"},{\"const\":\"remove\"}]}},{\"name\":\"watermark\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"watermark\",\"flag\":\"watermark-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"text\":{\"type\":\"string\"},\"fontFamily\":{\"type\":\"string\"},\"fontSizePt\":{\"oneOf\":[{\"const\":\"auto\"},{\"type\":\"number\"}]},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"color\":{\"type\":\"string\"},\"opacity\":{\"type\":\"number\"},\"orientation\":{\"oneOf\":[{\"const\":\"horizontal\"},{\"const\":\"diagonal\"}]},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"text\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"picture\"},\"src\":{\"type\":\"string\"},\"scalePercent\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":50},{\"const\":100},{\"const\":150},{\"const\":200},{\"const\":500}]},\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"lockAspectRatio\":{\"type\":\"boolean\"},\"washout\":{\"type\":\"boolean\"},\"opacity\":{\"type\":\"number\"},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"src\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"picture\"},\"src\":{\"type\":\"json\"},\"scalePercent\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":50},{\"const\":100},{\"const\":150},{\"const\":200},{\"const\":500}]},\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"lockAspectRatio\":{\"type\":\"boolean\"},\"washout\":{\"type\":\"boolean\"},\"opacity\":{\"type\":\"number\"},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false},\"source\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"existing\"},\"watermarkId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"watermarkId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"source\"]}]}},{\"name\":\"watermarkIds\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"watermarkIds\",\"flag\":\"watermark-ids\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1}}],\"constraints\":null,\"documentApiOperationId\":\"watermarks.apply\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.watermarks.list\":{\"operationId\":\"doc.watermarks.list\",\"sdkSurface\":\"document\",\"command\":\"watermarks list\",\"commandTokens\":[\"watermarks\",\"list\"],\"category\":\"core\",\"description\":\"List Word-compatible text and picture watermarks and their effective header scopes. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"const\":\"header\"},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"watermarks.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.watermarks.insert\":{\"operationId\":\"doc.watermarks.insert\",\"sdkSurface\":\"document\",\"command\":\"watermarks insert\",\"commandTokens\":[\"watermarks\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a Word-compatible text or picture watermark into a header scope. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"const\":\"header\"},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"section\",\"headerFooterKind\",\"variant\"]}]}},{\"name\":\"watermark\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"watermark\",\"flag\":\"watermark-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"text\":{\"type\":\"string\"},\"fontFamily\":{\"type\":\"string\"},\"fontSizePt\":{\"oneOf\":[{\"const\":\"auto\"},{\"type\":\"number\"}]},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"color\":{\"type\":\"string\"},\"opacity\":{\"type\":\"number\"},\"orientation\":{\"oneOf\":[{\"const\":\"horizontal\"},{\"const\":\"diagonal\"}]},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"text\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"picture\"},\"src\":{\"type\":\"string\"},\"scalePercent\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":50},{\"const\":100},{\"const\":150},{\"const\":200},{\"const\":500}]},\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"lockAspectRatio\":{\"type\":\"boolean\"},\"washout\":{\"type\":\"boolean\"},\"opacity\":{\"type\":\"number\"},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"src\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"watermarks.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.watermarks.replace\":{\"operationId\":\"doc.watermarks.replace\",\"sdkSurface\":\"document\",\"command\":\"watermarks replace\",\"commandTokens\":[\"watermarks\",\"replace\"],\"category\":\"core\",\"description\":\"Replace an existing watermark while retaining its stable identity and owner scope. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"watermark\"},\"watermarkId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"watermarkId\"]}},{\"name\":\"watermark\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"watermark\",\"flag\":\"watermark-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"text\":{\"type\":\"string\"},\"fontFamily\":{\"type\":\"string\"},\"fontSizePt\":{\"oneOf\":[{\"const\":\"auto\"},{\"type\":\"number\"}]},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"color\":{\"type\":\"string\"},\"opacity\":{\"type\":\"number\"},\"orientation\":{\"oneOf\":[{\"const\":\"horizontal\"},{\"const\":\"diagonal\"}]},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"text\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"picture\"},\"src\":{\"type\":\"string\"},\"scalePercent\":{\"oneOf\":[{\"const\":\"auto\"},{\"const\":50},{\"const\":100},{\"const\":150},{\"const\":200},{\"const\":500}]},\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"lockAspectRatio\":{\"type\":\"boolean\"},\"washout\":{\"type\":\"boolean\"},\"opacity\":{\"type\":\"number\"},\"placement\":{\"type\":\"object\",\"properties\":{\"widthPt\":{\"type\":\"number\"},\"heightPt\":{\"type\":\"number\"},\"rotationDegrees\":{\"type\":\"number\"},\"behindText\":{\"type\":\"boolean\"},\"horizontal\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"left\"},{\"const\":\"center\"},{\"const\":\"right\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]},\"vertical\":{\"type\":\"object\",\"properties\":{\"relativeFrom\":{\"oneOf\":[{\"const\":\"page\"},{\"const\":\"margin\"}]},\"alignment\":{\"oneOf\":[{\"const\":\"top\"},{\"const\":\"center\"},{\"const\":\"bottom\"}]},\"offsetPt\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"relativeFrom\"]}},\"additionalProperties\":false}},\"additionalProperties\":false,\"required\":[\"kind\",\"src\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"watermarks.replace\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.watermarks.remove\":{\"operationId\":\"doc.watermarks.remove\",\"sdkSurface\":\"document\",\"command\":\"watermarks remove\",\"commandTokens\":[\"watermarks\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a watermark without removing unrelated header content. Available on v2-backed sessions only; v1-backed sessions currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"watermark\"},\"watermarkId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"watermarkId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"watermarks.remove\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.create.contentControl\":{\"operationId\":\"doc.create.contentControl\",\"sdkSurface\":\"document\",\"command\":\"create content-control\",\"commandTokens\":[\"create\",\"content-control\"],\"category\":\"core\",\"description\":\"Create a new content control (SDT) in the document, optionally seeded with plain text or structured block preset content.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]}},{\"name\":\"controlType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"controlType\",\"flag\":\"control-type\",\"required\":false},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":false},{\"name\":\"alias\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alias\",\"flag\":\"alias\",\"required\":false},{\"name\":\"lockMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lockMode\",\"flag\":\"lock-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"unlocked\"},{\"const\":\"sdtLocked\"},{\"const\":\"contentLocked\"},{\"const\":\"sdtContentLocked\"}]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":false},{\"name\":\"html\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"html\",\"flag\":\"html\",\"required\":false},{\"name\":\"json\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"json\",\"flag\":\"json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}]}}],\"constraints\":{\"mutuallyExclusive\":[[\"at\",\"target\"],[\"content\",\"html\",\"json\"]],\"forbiddenWhen\":[{\"param\":\"html\",\"whenParam\":\"kind\",\"equals\":\"inline\"},{\"param\":\"json\",\"whenParam\":\"kind\",\"equals\":\"inline\"}]},\"documentApiOperationId\":\"create.contentControl\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.list\":{\"operationId\":\"doc.contentControls.list\",\"sdkSurface\":\"document\",\"command\":\"content-controls list\",\"commandTokens\":[\"content-controls\",\"list\"],\"category\":\"core\",\"description\":\"List all content controls in the document with optional type/tag filtering.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"controlType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"controlType\",\"flag\":\"control-type\",\"required\":false},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.get\":{\"operationId\":\"doc.contentControls.get\",\"sdkSurface\":\"document\",\"command\":\"content-controls get\",\"commandTokens\":[\"content-controls\",\"get\"],\"category\":\"core\",\"description\":\"Retrieve a single content control by target.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.listInRange\":{\"operationId\":\"doc.contentControls.listInRange\",\"sdkSurface\":\"document\",\"command\":\"content-controls list-in-range\",\"commandTokens\":[\"content-controls\",\"list-in-range\"],\"category\":\"core\",\"description\":\"List content controls within a block range.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"startBlockId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"startBlockId\",\"flag\":\"start-block-id\",\"required\":true},{\"name\":\"endBlockId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"endBlockId\",\"flag\":\"end-block-id\",\"required\":true},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.listInRange\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.selectByTag\":{\"operationId\":\"doc.contentControls.selectByTag\",\"sdkSurface\":\"document\",\"command\":\"content-controls select-by-tag\",\"commandTokens\":[\"content-controls\",\"select-by-tag\"],\"category\":\"core\",\"description\":\"Select content controls matching a specific tag value.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":true},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.selectByTag\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.selectByTitle\":{\"operationId\":\"doc.contentControls.selectByTitle\",\"sdkSurface\":\"document\",\"command\":\"content-controls select-by-title\",\"commandTokens\":[\"content-controls\",\"select-by-title\"],\"category\":\"core\",\"description\":\"Select content controls matching a specific title (alias) value.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"title\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"title\",\"flag\":\"title\",\"required\":true},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.selectByTitle\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.listChildren\":{\"operationId\":\"doc.contentControls.listChildren\",\"sdkSurface\":\"document\",\"command\":\"content-controls list-children\",\"commandTokens\":[\"content-controls\",\"list-children\"],\"category\":\"core\",\"description\":\"List direct child content controls nested inside the target.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.listChildren\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.getParent\":{\"operationId\":\"doc.contentControls.getParent\",\"sdkSurface\":\"document\",\"command\":\"content-controls get-parent\",\"commandTokens\":[\"content-controls\",\"get-parent\"],\"category\":\"core\",\"description\":\"Get the parent content control of the target, if any.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.getParent\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.wrap\":{\"operationId\":\"doc.contentControls.wrap\",\"sdkSurface\":\"document\",\"command\":\"content-controls wrap\",\"commandTokens\":[\"content-controls\",\"wrap\"],\"category\":\"core\",\"description\":\"Wrap existing content with a new content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"kind\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"kind\",\"flag\":\"kind\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]}},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"tag\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"tag\",\"flag\":\"tag\",\"required\":false},{\"name\":\"alias\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"alias\",\"flag\":\"alias\",\"required\":false},{\"name\":\"lockMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lockMode\",\"flag\":\"lock-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"unlocked\"},{\"const\":\"sdtLocked\"},{\"const\":\"contentLocked\"},{\"const\":\"sdtContentLocked\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.wrap\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.unwrap\":{\"operationId\":\"doc.contentControls.unwrap\",\"sdkSurface\":\"document\",\"command\":\"content-controls unwrap\",\"commandTokens\":[\"content-controls\",\"unwrap\"],\"category\":\"core\",\"description\":\"Remove the content control wrapper, preserving its content in place.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.unwrap\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.delete\":{\"operationId\":\"doc.contentControls.delete\",\"sdkSurface\":\"document\",\"command\":\"content-controls delete\",\"commandTokens\":[\"content-controls\",\"delete\"],\"category\":\"core\",\"description\":\"Delete a content control and its content. Set overrideDeletionLock to remove a deletion-locked target without first unlocking it.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"overrideDeletionLock\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"overrideDeletionLock\",\"flag\":\"override-deletion-lock\",\"required\":false,\"description\":\"Override only the target wrapper deletion lock. Document and ancestor protection still apply.\"}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.delete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.copy\":{\"operationId\":\"doc.contentControls.copy\",\"sdkSurface\":\"document\",\"command\":\"content-controls copy\",\"commandTokens\":[\"content-controls\",\"copy\"],\"category\":\"core\",\"description\":\"Copy a content control to a destination position. Copied SDTs receive new IDs.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.copy\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.move\":{\"operationId\":\"doc.contentControls.move\",\"sdkSurface\":\"document\",\"command\":\"content-controls move\",\"commandTokens\":[\"content-controls\",\"move\"],\"category\":\"core\",\"description\":\"Move a content control to a new position: before or after another SDT, to the document start or end, or to an arbitrary caret inside a paragraph (the inParagraph destination) for drag-and-drop. Direct moves preserve the original ID; tracked-mode authoring supports safe top-level block SDTs (SDT-to-SDT destinations only) and remaps the destination SDT ID to avoid duplicate live anchors.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"destination\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"destination\",\"flag\":\"destination-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inParagraph\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.move\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.patch\":{\"operationId\":\"doc.contentControls.patch\",\"sdkSurface\":\"document\",\"command\":\"content-controls patch\",\"commandTokens\":[\"content-controls\",\"patch\"],\"category\":\"core\",\"description\":\"Patch metadata properties on a content control (tag, alias, appearance, color, etc.). V2 does not support placeholder or showingPlaceholder; defining either field rejects the entire patch without changing properties or content.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"alias\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"alias\",\"flag\":\"alias-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"tag\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"tag\",\"flag\":\"tag-json\",\"required\":false,\"schema\":{\"type\":\"json\"}},{\"name\":\"appearance\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"appearance\",\"flag\":\"appearance\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"boundingBox\"},{\"const\":\"tags\"},{\"const\":\"hidden\"}]}},{\"name\":\"color\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"color\",\"flag\":\"color\",\"required\":false},{\"name\":\"placeholder\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"placeholder\",\"flag\":\"placeholder-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"json\"}]}},{\"name\":\"showingPlaceholder\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"showingPlaceholder\",\"flag\":\"showing-placeholder\",\"required\":false},{\"name\":\"temporary\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"temporary\",\"flag\":\"temporary\",\"required\":false},{\"name\":\"tabIndex\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"tabIndex\",\"flag\":\"tab-index\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.patch\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.setLockMode\":{\"operationId\":\"doc.contentControls.setLockMode\",\"sdkSurface\":\"document\",\"command\":\"content-controls set-lock-mode\",\"commandTokens\":[\"content-controls\",\"set-lock-mode\"],\"category\":\"core\",\"description\":\"Set the lock mode on a content control. In non-collaborative V2 sessions, addToHistory: false excludes this lock change while retaining the lock across Undo/Redo.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"lockMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"lockMode\",\"flag\":\"lock-mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"unlocked\"},{\"const\":\"sdtLocked\"},{\"const\":\"contentLocked\"},{\"const\":\"sdtContentLocked\"}]}},{\"name\":\"addToHistory\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"addToHistory\",\"flag\":\"add-to-history\",\"required\":false,\"description\":\"Exclude this lock change from history when false (non-collaborative V2 only). Defaults to true.\"}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.setLockMode\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.setType\":{\"operationId\":\"doc.contentControls.setType\",\"sdkSurface\":\"document\",\"command\":\"content-controls set-type\",\"commandTokens\":[\"content-controls\",\"set-type\"],\"category\":\"core\",\"description\":\"Transition a content control to a different semantic type. Metadata-only; no implicit content rewrite.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"controlType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"controlType\",\"flag\":\"control-type\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.setType\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.getContent\":{\"operationId\":\"doc.contentControls.getContent\",\"sdkSurface\":\"document\",\"command\":\"content-controls get-content\",\"commandTokens\":[\"content-controls\",\"get-content\"],\"category\":\"core\",\"description\":\"Get the text content of a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.getContent\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.replaceContent\":{\"operationId\":\"doc.contentControls.replaceContent\",\"sdkSurface\":\"document\",\"command\":\"content-controls replace-content\",\"commandTokens\":[\"content-controls\",\"replace-content\"],\"category\":\"core\",\"description\":\"Replace the entire content of a content control. For direct V2 edits, overrideContentLock replaces locked content in one history entry while preserving the target lock and identity.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"html\"},{\"const\":\"ooxml\"}]}},{\"name\":\"overrideContentLock\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"overrideContentLock\",\"flag\":\"override-content-lock\",\"required\":false,\"description\":\"Direct V2 edits only: replace locked content while preserving the target lock and identity. Document and ancestor protection still apply.\"}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.replaceContent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.clearContent\":{\"operationId\":\"doc.contentControls.clearContent\",\"sdkSurface\":\"document\",\"command\":\"content-controls clear-content\",\"commandTokens\":[\"content-controls\",\"clear-content\"],\"category\":\"core\",\"description\":\"Clear all content inside a content control, leaving it empty.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.clearContent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.appendContent\":{\"operationId\":\"doc.contentControls.appendContent\",\"sdkSurface\":\"document\",\"command\":\"content-controls append-content\",\"commandTokens\":[\"content-controls\",\"append-content\"],\"category\":\"core\",\"description\":\"Append content to the end of a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"html\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.appendContent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.prependContent\":{\"operationId\":\"doc.contentControls.prependContent\",\"sdkSurface\":\"document\",\"command\":\"content-controls prepend-content\",\"commandTokens\":[\"content-controls\",\"prepend-content\"],\"category\":\"core\",\"description\":\"Prepend content to the beginning of a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"html\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.prependContent\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.insertBefore\":{\"operationId\":\"doc.contentControls.insertBefore\",\"sdkSurface\":\"document\",\"command\":\"content-controls insert-before\",\"commandTokens\":[\"content-controls\",\"insert-before\"],\"category\":\"core\",\"description\":\"Insert content immediately before a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"html\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.insertBefore\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.insertAfter\":{\"operationId\":\"doc.contentControls.insertAfter\",\"sdkSurface\":\"document\",\"command\":\"content-controls insert-after\",\"commandTokens\":[\"content-controls\",\"insert-after\"],\"category\":\"core\",\"description\":\"Insert content immediately after a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"text\"},{\"const\":\"html\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.insertAfter\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.getBinding\":{\"operationId\":\"doc.contentControls.getBinding\",\"sdkSurface\":\"document\",\"command\":\"content-controls get-binding\",\"commandTokens\":[\"content-controls\",\"get-binding\"],\"category\":\"core\",\"description\":\"Get the data binding metadata (w:dataBinding) of a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.getBinding\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.setBinding\":{\"operationId\":\"doc.contentControls.setBinding\",\"sdkSurface\":\"document\",\"command\":\"content-controls set-binding\",\"commandTokens\":[\"content-controls\",\"set-binding\"],\"category\":\"core\",\"description\":\"Set data binding metadata on a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"storeItemId\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"storeItemId\",\"flag\":\"store-item-id\",\"required\":true},{\"name\":\"xpath\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"xpath\",\"flag\":\"xpath\",\"required\":true},{\"name\":\"prefixMappings\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"prefixMappings\",\"flag\":\"prefix-mappings\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.setBinding\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.clearBinding\":{\"operationId\":\"doc.contentControls.clearBinding\",\"sdkSurface\":\"document\",\"command\":\"content-controls clear-binding\",\"commandTokens\":[\"content-controls\",\"clear-binding\"],\"category\":\"core\",\"description\":\"Remove data binding metadata from a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.clearBinding\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.getRawProperties\":{\"operationId\":\"doc.contentControls.getRawProperties\",\"sdkSurface\":\"document\",\"command\":\"content-controls get-raw-properties\",\"commandTokens\":[\"content-controls\",\"get-raw-properties\"],\"category\":\"core\",\"description\":\"Get the raw sdtPr properties of a content control as a passthrough hash.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.getRawProperties\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.patchRawProperties\":{\"operationId\":\"doc.contentControls.patchRawProperties\",\"sdkSurface\":\"document\",\"command\":\"content-controls patch-raw-properties\",\"commandTokens\":[\"content-controls\",\"patch-raw-properties\"],\"category\":\"core\",\"description\":\"Apply raw XML-level patches to the sdtPr subtree of a content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patches\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patches\",\"flag\":\"patches-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.patchRawProperties\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.validateWordCompatibility\":{\"operationId\":\"doc.contentControls.validateWordCompatibility\",\"sdkSurface\":\"document\",\"command\":\"content-controls validate-word-compatibility\",\"commandTokens\":[\"content-controls\",\"validate-word-compatibility\"],\"category\":\"core\",\"description\":\"Validate a content control for Word compatibility issues.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.validateWordCompatibility\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.normalizeWordCompatibility\":{\"operationId\":\"doc.contentControls.normalizeWordCompatibility\",\"sdkSurface\":\"document\",\"command\":\"content-controls normalize-word-compatibility\",\"commandTokens\":[\"content-controls\",\"normalize-word-compatibility\"],\"category\":\"core\",\"description\":\"Normalize a content control to resolve Word compatibility issues.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.normalizeWordCompatibility\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.normalizeTagPayload\":{\"operationId\":\"doc.contentControls.normalizeTagPayload\",\"sdkSurface\":\"document\",\"command\":\"content-controls normalize-tag-payload\",\"commandTokens\":[\"content-controls\",\"normalize-tag-payload\"],\"category\":\"core\",\"description\":\"Normalize a content control tag between plain-string and JSON-encoded formats.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.normalizeTagPayload\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.text.setMultiline\":{\"operationId\":\"doc.contentControls.text.setMultiline\",\"sdkSurface\":\"document\",\"command\":\"content-controls text set-multiline\",\"commandTokens\":[\"content-controls\",\"text\",\"set-multiline\"],\"category\":\"core\",\"description\":\"Set or clear the multiline attribute on a plain-text content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"multiline\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"multiline\",\"flag\":\"multiline\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.text.setMultiline\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.text.setValue\":{\"operationId\":\"doc.contentControls.text.setValue\",\"sdkSurface\":\"document\",\"command\":\"content-controls text set-value\",\"commandTokens\":[\"content-controls\",\"text\",\"set-value\"],\"category\":\"core\",\"description\":\"Set the text value of a plain-text content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.text.setValue\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.text.clearValue\":{\"operationId\":\"doc.contentControls.text.clearValue\",\"sdkSurface\":\"document\",\"command\":\"content-controls text clear-value\",\"commandTokens\":[\"content-controls\",\"text\",\"clear-value\"],\"category\":\"core\",\"description\":\"Clear the text value of a plain-text content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.text.clearValue\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.setValue\":{\"operationId\":\"doc.contentControls.date.setValue\",\"sdkSurface\":\"document\",\"command\":\"content-controls date set-value\",\"commandTokens\":[\"content-controls\",\"date\",\"set-value\"],\"category\":\"core\",\"description\":\"Set the date value of a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.setValue\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.clearValue\":{\"operationId\":\"doc.contentControls.date.clearValue\",\"sdkSurface\":\"document\",\"command\":\"content-controls date clear-value\",\"commandTokens\":[\"content-controls\",\"date\",\"clear-value\"],\"category\":\"core\",\"description\":\"Clear the date value of a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.clearValue\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.setDisplayFormat\":{\"operationId\":\"doc.contentControls.date.setDisplayFormat\",\"sdkSurface\":\"document\",\"command\":\"content-controls date set-display-format\",\"commandTokens\":[\"content-controls\",\"date\",\"set-display-format\"],\"category\":\"core\",\"description\":\"Set the display format string for a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.setDisplayFormat\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.setDisplayLocale\":{\"operationId\":\"doc.contentControls.date.setDisplayLocale\",\"sdkSurface\":\"document\",\"command\":\"content-controls date set-display-locale\",\"commandTokens\":[\"content-controls\",\"date\",\"set-display-locale\"],\"category\":\"core\",\"description\":\"Set the display locale for a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"locale\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"locale\",\"flag\":\"locale\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.setDisplayLocale\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.setStorageFormat\":{\"operationId\":\"doc.contentControls.date.setStorageFormat\",\"sdkSurface\":\"document\",\"command\":\"content-controls date set-storage-format\",\"commandTokens\":[\"content-controls\",\"date\",\"set-storage-format\"],\"category\":\"core\",\"description\":\"Set the XML storage format for a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.setStorageFormat\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.date.setCalendar\":{\"operationId\":\"doc.contentControls.date.setCalendar\",\"sdkSurface\":\"document\",\"command\":\"content-controls date set-calendar\",\"commandTokens\":[\"content-controls\",\"date\",\"set-calendar\"],\"category\":\"core\",\"description\":\"Set the calendar type for a date content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"calendar\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"calendar\",\"flag\":\"calendar\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.date.setCalendar\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.checkbox.getState\":{\"operationId\":\"doc.contentControls.checkbox.getState\",\"sdkSurface\":\"document\",\"command\":\"content-controls checkbox get-state\",\"commandTokens\":[\"content-controls\",\"checkbox\",\"get-state\"],\"category\":\"core\",\"description\":\"Get the checked state of a checkbox content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.checkbox.getState\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.checkbox.setState\":{\"operationId\":\"doc.contentControls.checkbox.setState\",\"sdkSurface\":\"document\",\"command\":\"content-controls checkbox set-state\",\"commandTokens\":[\"content-controls\",\"checkbox\",\"set-state\"],\"category\":\"core\",\"description\":\"Set the checked state of a checkbox content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"checked\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"checked\",\"flag\":\"checked\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.checkbox.setState\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.checkbox.toggle\":{\"operationId\":\"doc.contentControls.checkbox.toggle\",\"sdkSurface\":\"document\",\"command\":\"content-controls checkbox toggle\",\"commandTokens\":[\"content-controls\",\"checkbox\",\"toggle\"],\"category\":\"core\",\"description\":\"Toggle the checked state of a checkbox content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.checkbox.toggle\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.checkbox.setSymbolPair\":{\"operationId\":\"doc.contentControls.checkbox.setSymbolPair\",\"sdkSurface\":\"document\",\"command\":\"content-controls checkbox set-symbol-pair\",\"commandTokens\":[\"content-controls\",\"checkbox\",\"set-symbol-pair\"],\"category\":\"core\",\"description\":\"Set the checked and unchecked symbol glyphs for a checkbox content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"checkedSymbol\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"checkedSymbol\",\"flag\":\"checked-symbol-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"uncheckedSymbol\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"uncheckedSymbol\",\"flag\":\"unchecked-symbol-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{}}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.checkbox.setSymbolPair\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.choiceList.getItems\":{\"operationId\":\"doc.contentControls.choiceList.getItems\",\"sdkSurface\":\"document\",\"command\":\"content-controls choice-list get-items\",\"commandTokens\":[\"content-controls\",\"choice-list\",\"get-items\"],\"category\":\"core\",\"description\":\"Get the list items and selected value of a comboBox or dropDownList content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.choiceList.getItems\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.choiceList.setItems\":{\"operationId\":\"doc.contentControls.choiceList.setItems\",\"sdkSurface\":\"document\",\"command\":\"content-controls choice-list set-items\",\"commandTokens\":[\"content-controls\",\"choice-list\",\"set-items\"],\"category\":\"core\",\"description\":\"Replace the list items of a comboBox or dropDownList content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"items\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"items\",\"flag\":\"items-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.choiceList.setItems\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.choiceList.setSelected\":{\"operationId\":\"doc.contentControls.choiceList.setSelected\",\"sdkSurface\":\"document\",\"command\":\"content-controls choice-list set-selected\",\"commandTokens\":[\"content-controls\",\"choice-list\",\"set-selected\"],\"category\":\"core\",\"description\":\"Set the selected value of a comboBox or dropDownList content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"value\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"value\",\"flag\":\"value\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.choiceList.setSelected\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.repeatingSection.listItems\":{\"operationId\":\"doc.contentControls.repeatingSection.listItems\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section list-items\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"list-items\"],\"category\":\"core\",\"description\":\"List the repeating section items inside a repeating section content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.listItems\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.contentControls.repeatingSection.insertItemBefore\":{\"operationId\":\"doc.contentControls.repeatingSection.insertItemBefore\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section insert-item-before\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"insert-item-before\"],\"category\":\"core\",\"description\":\"Insert a new item before a specific index in a repeating section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"index\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"index\",\"flag\":\"index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.insertItemBefore\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.repeatingSection.insertItemAfter\":{\"operationId\":\"doc.contentControls.repeatingSection.insertItemAfter\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section insert-item-after\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"insert-item-after\"],\"category\":\"core\",\"description\":\"Insert a new item after a specific index in a repeating section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"index\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"index\",\"flag\":\"index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.insertItemAfter\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.repeatingSection.cloneItem\":{\"operationId\":\"doc.contentControls.repeatingSection.cloneItem\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section clone-item\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"clone-item\"],\"category\":\"core\",\"description\":\"Clone a repeating section item at the given index. Cloned SDTs receive new IDs.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"index\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"index\",\"flag\":\"index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.cloneItem\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.repeatingSection.deleteItem\":{\"operationId\":\"doc.contentControls.repeatingSection.deleteItem\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section delete-item\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"delete-item\"],\"category\":\"core\",\"description\":\"Delete a repeating section item at the given index.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"index\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"index\",\"flag\":\"index\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.deleteItem\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.repeatingSection.setAllowInsertDelete\":{\"operationId\":\"doc.contentControls.repeatingSection.setAllowInsertDelete\",\"sdkSurface\":\"document\",\"command\":\"content-controls repeating-section set-allow-insert-delete\",\"commandTokens\":[\"content-controls\",\"repeating-section\",\"set-allow-insert-delete\"],\"category\":\"core\",\"description\":\"Set the allowInsertDelete flag on a repeating section.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"allow\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"allow\",\"flag\":\"allow\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.repeatingSection.setAllowInsertDelete\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.group.wrap\":{\"operationId\":\"doc.contentControls.group.wrap\",\"sdkSurface\":\"document\",\"command\":\"content-controls group wrap\",\"commandTokens\":[\"content-controls\",\"group\",\"wrap\"],\"category\":\"core\",\"description\":\"Wrap a content control inside a new group content control. Always nests; not idempotent.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.group.wrap\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.contentControls.group.ungroup\":{\"operationId\":\"doc.contentControls.group.ungroup\",\"sdkSurface\":\"document\",\"command\":\"content-controls group ungroup\",\"commandTokens\":[\"content-controls\",\"group\",\"ungroup\"],\"category\":\"core\",\"description\":\"Remove the group designation from a group content control.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"block\"},{\"const\":\"inline\"}]},\"nodeType\":{\"const\":\"sdt\"},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"contentControls.group.ungroup\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.bookmarks.list\":{\"operationId\":\"doc.bookmarks.list\",\"sdkSurface\":\"document\",\"command\":\"bookmarks list\",\"commandTokens\":[\"bookmarks\",\"list\"],\"category\":\"core\",\"description\":\"List all bookmarks in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"in\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"in\",\"flag\":\"in-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}],\"constraints\":null,\"documentApiOperationId\":\"bookmarks.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.bookmarks.get\":{\"operationId\":\"doc.bookmarks.get\",\"sdkSurface\":\"document\",\"command\":\"bookmarks get\",\"commandTokens\":[\"bookmarks\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific bookmark.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"bookmark\"},\"name\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"name\"]}}],\"constraints\":null,\"documentApiOperationId\":\"bookmarks.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.bookmarks.insert\":{\"operationId\":\"doc.bookmarks.insert\",\"sdkSurface\":\"document\",\"command\":\"bookmarks insert\",\"commandTokens\":[\"bookmarks\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new named bookmark at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"name\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"name\",\"flag\":\"name\",\"required\":true,\"description\":\"Visible bookmark creation name: starts with a Unicode letter, followed by letters, nonspacing/spacing combining marks, decimal digits or underscores; at most 40 UTF-16 code units. Invalid nonempty names return INVALID_PAYLOAD without mutation. Names are not normalized or truncated; imported names are unaffected.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"tableColumn\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"tableColumn\",\"flag\":\"table-column-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"colFirst\":{\"type\":\"number\"},\"colLast\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"colFirst\",\"colLast\"]}}],\"constraints\":null,\"documentApiOperationId\":\"bookmarks.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.bookmarks.rename\":{\"operationId\":\"doc.bookmarks.rename\",\"sdkSurface\":\"document\",\"command\":\"bookmarks rename\",\"commandTokens\":[\"bookmarks\",\"rename\"],\"category\":\"core\",\"description\":\"Rename an existing bookmark.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"bookmark\"},\"name\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"name\"]}},{\"name\":\"newName\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"newName\",\"flag\":\"new-name\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"bookmarks.rename\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.bookmarks.remove\":{\"operationId\":\"doc.bookmarks.remove\",\"sdkSurface\":\"document\",\"command\":\"bookmarks remove\",\"commandTokens\":[\"bookmarks\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a bookmark from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"bookmark\"},\"name\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"name\"]}}],\"constraints\":null,\"documentApiOperationId\":\"bookmarks.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.footnotes.list\":{\"operationId\":\"doc.footnotes.list\",\"sdkSurface\":\"document\",\"command\":\"footnotes list\",\"commandTokens\":[\"footnotes\",\"list\"],\"category\":\"core\",\"description\":\"List all footnotes and endnotes in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"footnote\"},{\"const\":\"endnote\"}]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.footnotes.get\":{\"operationId\":\"doc.footnotes.get\",\"sdkSurface\":\"document\",\"command\":\"footnotes get\",\"commandTokens\":[\"footnotes\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific footnote or endnote.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"noteId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.footnotes.insert\":{\"operationId\":\"doc.footnotes.insert\",\"sdkSurface\":\"document\",\"command\":\"footnotes insert\",\"commandTokens\":[\"footnotes\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new footnote or endnote at a target location or the current selection. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"footnote\"},{\"const\":\"endnote\"}]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":false},{\"name\":\"body\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"body\",\"flag\":\"body-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}],\"description\":\"Structured SDM/1 note body.\"},\"description\":\"Structured SDM/1 note body.\"}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.footnotes.update\":{\"operationId\":\"doc.footnotes.update\",\"sdkSurface\":\"document\",\"command\":\"footnotes update\",\"commandTokens\":[\"footnotes\",\"update\"],\"category\":\"core\",\"description\":\"Update the content of an existing footnote or endnote. Structured `body` content is currently available on v2-backed sessions only; v1-backed sessions return `CAPABILITY_UNAVAILABLE` for those shapes.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"noteId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"content\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"content\"]},{\"type\":\"object\",\"properties\":{\"body\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{}},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{}}}],\"description\":\"Structured SDM/1 note body patch.\"}},\"additionalProperties\":false,\"required\":[\"body\"]},{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false}]}}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.footnotes.remove\":{\"operationId\":\"doc.footnotes.remove\",\"sdkSurface\":\"document\",\"command\":\"footnotes remove\",\"commandTokens\":[\"footnotes\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a footnote or endnote from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"noteId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.footnotes.configure\":{\"operationId\":\"doc.footnotes.configure\",\"sdkSurface\":\"document\",\"command\":\"footnotes configure\",\"commandTokens\":[\"footnotes\",\"configure\"],\"category\":\"core\",\"description\":\"Configure numbering and placement for footnotes or endnotes.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"footnote\"},{\"const\":\"endnote\"}]}},{\"name\":\"scope\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"scope\",\"flag\":\"scope-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"document\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]}]}},{\"name\":\"numbering\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"numbering\",\"flag\":\"numbering-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"format\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"lowerLetter\"},{\"const\":\"upperLetter\"},{\"const\":\"symbol\"}]},\"start\":{\"type\":\"number\"},\"restartPolicy\":{\"oneOf\":[{\"const\":\"continuous\"},{\"const\":\"eachSection\"},{\"const\":\"eachPage\"}]},\"position\":{\"oneOf\":[{\"const\":\"pageBottom\"},{\"const\":\"beneathText\"},{\"const\":\"sectionEnd\"},{\"const\":\"documentEnd\"}]}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"footnotes.configure\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.clipboard.parse\":{\"operationId\":\"doc.clipboard.parse\",\"sdkSurface\":\"document\",\"command\":\"clipboard parse\",\"commandTokens\":[\"clipboard\",\"parse\"],\"category\":\"core\",\"description\":\"Parse and sanitize a ClipboardPayload into a deterministic v2 clipboard insert plan with diagnostics. Does not mutate the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"source\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"source\",\"flag\":\"source\",\"required\":false},{\"name\":\"items\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"items\",\"flag\":\"items-json\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"kind\":{\"oneOf\":[{\"const\":\"string\"},{\"const\":\"bytes\"}]},\"data\":{\"type\":\"json\"},\"name\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"type\",\"kind\",\"data\"]}}}],\"constraints\":null,\"documentApiOperationId\":\"clipboard.parse\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.clipboard.insert\":{\"operationId\":\"doc.clipboard.insert\",\"sdkSurface\":\"document\",\"command\":\"clipboard insert\",\"commandTokens\":[\"clipboard\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a parsed clipboard plan, v2 fragment, or raw ClipboardPayload through the v2 pasteFragment kernel operation.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"changeMode\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"payload\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"payload\",\"flag\":\"payload-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"plan\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"plan\",\"flag\":\"plan-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"fragment\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"fragment\",\"flag\":\"fragment-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"fallback\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"fallback\",\"flag\":\"fallback\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"reject-rich\"},{\"const\":\"plain-with-warning\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"clipboard.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.clipboard.serializeSelection\":{\"operationId\":\"doc.clipboard.serializeSelection\",\"sdkSurface\":\"document\",\"command\":\"clipboard serialize-selection\",\"commandTokens\":[\"clipboard\",\"serialize-selection\"],\"category\":\"core\",\"description\":\"Serialize the current or supplied model selection into text/plain, text/html, and application/x-superdoc-v2-fragment clipboard payloads.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{}}},{\"name\":\"includeHtml\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeHtml\",\"flag\":\"include-html\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"clipboard.serializeSelection\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.crossRefs.list\":{\"operationId\":\"doc.crossRefs.list\",\"sdkSurface\":\"document\",\"command\":\"cross-refs list\",\"commandTokens\":[\"cross-refs\",\"list\"],\"category\":\"core\",\"description\":\"List all cross-reference fields in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"crossRefs.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.crossRefs.get\":{\"operationId\":\"doc.crossRefs.get\",\"sdkSurface\":\"document\",\"command\":\"cross-refs get\",\"commandTokens\":[\"cross-refs\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific cross-reference field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"crossRef\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"crossRefs.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.crossRefs.insert\":{\"operationId\":\"doc.crossRefs.insert\",\"sdkSurface\":\"document\",\"command\":\"cross-refs insert\",\"commandTokens\":[\"cross-refs\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new cross-reference field at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"bookmark\"},\"name\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"name\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"heading\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"note\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"caption\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"numberedItem\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"styledParagraph\"},\"styleName\":{\"type\":\"string\"},\"direction\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"styleName\"]}]}},{\"name\":\"display\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"display\",\"flag\":\"display\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"content\"},{\"const\":\"pageNumber\"},{\"const\":\"noteNumber\"},{\"const\":\"labelAndNumber\"},{\"const\":\"aboveBelow\"},{\"const\":\"numberOnly\"},{\"const\":\"numberFullContext\"},{\"const\":\"styledContent\"},{\"const\":\"styledPageNumber\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"crossRefs.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.crossRefs.rebuild\":{\"operationId\":\"doc.crossRefs.rebuild\",\"sdkSurface\":\"document\",\"command\":\"cross-refs rebuild\",\"commandTokens\":[\"cross-refs\",\"rebuild\"],\"category\":\"core\",\"description\":\"Rebuild (recalculate) a cross-reference field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"crossRef\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"crossRefs.rebuild\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.crossRefs.remove\":{\"operationId\":\"doc.crossRefs.remove\",\"sdkSurface\":\"document\",\"command\":\"cross-refs remove\",\"commandTokens\":[\"cross-refs\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a cross-reference field from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"crossRef\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"crossRefs.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.list\":{\"operationId\":\"doc.index.list\",\"sdkSurface\":\"document\",\"command\":\"index list\",\"commandTokens\":[\"index\",\"list\"],\"category\":\"core\",\"description\":\"List all index blocks in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"index.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.index.get\":{\"operationId\":\"doc.index.get\",\"sdkSurface\":\"document\",\"command\":\"index get\",\"commandTokens\":[\"index\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific index block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"index\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.index.insert\":{\"operationId\":\"doc.index.insert\",\"sdkSurface\":\"document\",\"command\":\"index insert\",\"commandTokens\":[\"index\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new index block at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}},{\"name\":\"config\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"config\",\"flag\":\"config-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"headingSeparator\":{\"type\":\"string\"},\"entryPageSeparator\":{\"type\":\"string\"},\"pageRangeSeparator\":{\"type\":\"string\"},\"sequenceId\":{\"type\":\"string\"},\"columns\":{\"type\":\"number\"},\"entryTypeFilter\":{\"type\":\"string\"},\"pageRangeBookmark\":{\"type\":\"string\"},\"letterRange\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"runIn\":{\"type\":\"boolean\"},\"accentedSorting\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"index.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.configure\":{\"operationId\":\"doc.index.configure\",\"sdkSurface\":\"document\",\"command\":\"index configure\",\"commandTokens\":[\"index\",\"configure\"],\"category\":\"core\",\"description\":\"Update the configuration of an existing index block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"index\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"headingSeparator\":{\"type\":\"string\"},\"entryPageSeparator\":{\"type\":\"string\"},\"pageRangeSeparator\":{\"type\":\"string\"},\"sequenceId\":{\"type\":\"string\"},\"columns\":{\"type\":\"number\"},\"entryTypeFilter\":{\"type\":\"string\"},\"pageRangeBookmark\":{\"type\":\"string\"},\"letterRange\":{\"type\":\"object\",\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"from\",\"to\"]},\"runIn\":{\"type\":\"boolean\"},\"accentedSorting\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"index.configure\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.rebuild\":{\"operationId\":\"doc.index.rebuild\",\"sdkSurface\":\"document\",\"command\":\"index rebuild\",\"commandTokens\":[\"index\",\"rebuild\"],\"category\":\"core\",\"description\":\"Rebuild (regenerate) an index block from its entries.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"index\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.rebuild\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.remove\":{\"operationId\":\"doc.index.remove\",\"sdkSurface\":\"document\",\"command\":\"index remove\",\"commandTokens\":[\"index\",\"remove\"],\"category\":\"core\",\"description\":\"Remove an index block from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"index\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.entries.list\":{\"operationId\":\"doc.index.entries.list\",\"sdkSurface\":\"document\",\"command\":\"index entries list\",\"commandTokens\":[\"index\",\"entries\",\"list\"],\"category\":\"core\",\"description\":\"List all XE (index entry) fields in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"entryType\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"entryType\",\"flag\":\"entry-type\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"index.entries.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.index.entries.get\":{\"operationId\":\"doc.index.entries.get\",\"sdkSurface\":\"document\",\"command\":\"index entries get\",\"commandTokens\":[\"index\",\"entries\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific XE index entry.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"indexEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.entries.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.index.entries.insert\":{\"operationId\":\"doc.index.entries.insert\",\"sdkSurface\":\"document\",\"command\":\"index entries insert\",\"commandTokens\":[\"index\",\"entries\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new XE index entry field at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"entry\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"entry\",\"flag\":\"entry-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"},\"subEntry\":{\"type\":\"string\"},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"crossReference\":{\"type\":\"string\"},\"pageRangeBookmark\":{\"type\":\"string\"},\"entryType\":{\"type\":\"string\"},\"yomi\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"text\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.entries.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.entries.update\":{\"operationId\":\"doc.index.entries.update\",\"sdkSurface\":\"document\",\"command\":\"index entries update\",\"commandTokens\":[\"index\",\"entries\",\"update\"],\"category\":\"core\",\"description\":\"Update the properties of an existing XE index entry.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"indexEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"},\"subEntry\":{\"type\":\"string\"},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"},\"crossReference\":{\"type\":\"string\"},\"pageRangeBookmark\":{\"type\":\"string\"},\"entryType\":{\"type\":\"string\"},\"yomi\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"index.entries.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.index.entries.remove\":{\"operationId\":\"doc.index.entries.remove\",\"sdkSurface\":\"document\",\"command\":\"index entries remove\",\"commandTokens\":[\"index\",\"entries\",\"remove\"],\"category\":\"core\",\"description\":\"Remove an XE index entry field from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"indexEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"index.entries.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.captions.list\":{\"operationId\":\"doc.captions.list\",\"sdkSurface\":\"document\",\"command\":\"captions list\",\"commandTokens\":[\"captions\",\"list\"],\"category\":\"core\",\"description\":\"List all caption paragraphs in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"label\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"label\",\"flag\":\"label\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"captions.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.captions.get\":{\"operationId\":\"doc.captions.get\",\"sdkSurface\":\"document\",\"command\":\"captions get\",\"commandTokens\":[\"captions\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific caption paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"captions.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.captions.insert\":{\"operationId\":\"doc.captions.insert\",\"sdkSurface\":\"document\",\"command\":\"captions insert\",\"commandTokens\":[\"captions\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new caption paragraph adjacent to a target block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"adjacentTo\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"adjacentTo\",\"flag\":\"adjacent-to-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"position\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"position\",\"flag\":\"position\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"above\"},{\"const\":\"below\"}]}},{\"name\":\"label\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"label\",\"flag\":\"label\",\"required\":true},{\"name\":\"text\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"text\",\"flag\":\"text\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"captions.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.captions.update\":{\"operationId\":\"doc.captions.update\",\"sdkSurface\":\"document\",\"command\":\"captions update\",\"commandTokens\":[\"captions\",\"update\"],\"category\":\"core\",\"description\":\"Append patch text to an existing caption paragraph.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"captions.update\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.captions.remove\":{\"operationId\":\"doc.captions.remove\",\"sdkSurface\":\"document\",\"command\":\"captions remove\",\"commandTokens\":[\"captions\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a caption paragraph from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"paragraph\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"captions.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.captions.configure\":{\"operationId\":\"doc.captions.configure\",\"sdkSurface\":\"document\",\"command\":\"captions configure\",\"commandTokens\":[\"captions\",\"configure\"],\"category\":\"core\",\"description\":\"Configure numbering format for a caption label.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"label\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"label\",\"flag\":\"label\",\"required\":true},{\"name\":\"format\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"format\",\"flag\":\"format\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"decimal\"},{\"const\":\"lowerRoman\"},{\"const\":\"upperRoman\"},{\"const\":\"lowerLetter\"},{\"const\":\"upperLetter\"}]}},{\"name\":\"includeChapter\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"includeChapter\",\"flag\":\"include-chapter\",\"required\":false},{\"name\":\"chapterStyle\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"chapterStyle\",\"flag\":\"chapter-style\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"captions.configure\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.fields.list\":{\"operationId\":\"doc.fields.list\",\"sdkSurface\":\"document\",\"command\":\"fields list\",\"commandTokens\":[\"fields\",\"list\"],\"category\":\"core\",\"description\":\"List all fields in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"fields.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.fields.get\":{\"operationId\":\"doc.fields.get\",\"sdkSurface\":\"document\",\"command\":\"fields get\",\"commandTokens\":[\"fields\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"field\"},\"blockId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"},\"nestingDepth\":{\"type\":\"number\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"occurrenceIndex\"]}}],\"constraints\":null,\"documentApiOperationId\":\"fields.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.fields.insert\":{\"operationId\":\"doc.fields.insert\",\"sdkSurface\":\"document\",\"command\":\"fields insert\",\"commandTokens\":[\"fields\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a raw field code at a target location, optionally preserving cached result text. The current v1 runtime supports rebuild flows; `cachedResultText` / `updatePolicy: \\\"preserveCached\\\"` currently return `CAPABILITY_UNAVAILABLE`.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"mode\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"mode\",\"flag\":\"mode-json\",\"required\":true,\"schema\":{\"const\":\"raw\"}},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"instruction\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"instruction\",\"flag\":\"instruction\",\"required\":true},{\"name\":\"cachedResultText\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"cachedResultText\",\"flag\":\"cached-result-text\",\"required\":false},{\"name\":\"updatePolicy\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"updatePolicy\",\"flag\":\"update-policy\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"rebuild\"},{\"const\":\"preserveCached\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"fields.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.fields.rebuild\":{\"operationId\":\"doc.fields.rebuild\",\"sdkSurface\":\"document\",\"command\":\"fields rebuild\",\"commandTokens\":[\"fields\",\"rebuild\"],\"category\":\"core\",\"description\":\"Rebuild (recalculate) a field.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"field\"},\"blockId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"},\"nestingDepth\":{\"type\":\"number\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"occurrenceIndex\"]}}],\"constraints\":null,\"documentApiOperationId\":\"fields.rebuild\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.fields.remove\":{\"operationId\":\"doc.fields.remove\",\"sdkSurface\":\"document\",\"command\":\"fields remove\",\"commandTokens\":[\"fields\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a field from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"mode\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"mode\",\"flag\":\"mode-json\",\"required\":true,\"schema\":{\"const\":\"raw\"}},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"field\"},\"blockId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"},\"nestingDepth\":{\"type\":\"number\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"occurrenceIndex\"]}}],\"constraints\":null,\"documentApiOperationId\":\"fields.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.list\":{\"operationId\":\"doc.citations.list\",\"sdkSurface\":\"document\",\"command\":\"citations list\",\"commandTokens\":[\"citations\",\"list\"],\"category\":\"core\",\"description\":\"List all citation marks in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"citations.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.citations.get\":{\"operationId\":\"doc.citations.get\",\"sdkSurface\":\"document\",\"command\":\"citations get\",\"commandTokens\":[\"citations\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific citation mark.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"citation\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.citations.insert\":{\"operationId\":\"doc.citations.insert\",\"sdkSurface\":\"document\",\"command\":\"citations insert\",\"commandTokens\":[\"citations\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new citation mark at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"sourceIds\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"sourceIds\",\"flag\":\"source-ids\",\"required\":true,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"constraints\":null,\"documentApiOperationId\":\"citations.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.update\":{\"operationId\":\"doc.citations.update\",\"sdkSurface\":\"document\",\"command\":\"citations update\",\"commandTokens\":[\"citations\",\"update\"],\"category\":\"core\",\"description\":\"Update an existing citation mark\'s source references.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"citation\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"sourceIds\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"citations.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.remove\":{\"operationId\":\"doc.citations.remove\",\"sdkSurface\":\"document\",\"command\":\"citations remove\",\"commandTokens\":[\"citations\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a citation mark from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"citation\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"storyId\":{\"type\":\"string\"},\"fieldId\":{\"type\":\"string\"},\"occurrenceIndex\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.sources.list\":{\"operationId\":\"doc.citations.sources.list\",\"sdkSurface\":\"document\",\"command\":\"citations sources list\",\"commandTokens\":[\"citations\",\"sources\",\"list\"],\"category\":\"core\",\"description\":\"List all citation sources in the document store.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":false},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"citations.sources.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.citations.sources.get\":{\"operationId\":\"doc.citations.sources.get\",\"sdkSurface\":\"document\",\"command\":\"citations sources get\",\"commandTokens\":[\"citations\",\"sources\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific citation source.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"citationSource\"},\"sourceId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"sourceId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.sources.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.citations.sources.insert\":{\"operationId\":\"doc.citations.sources.insert\",\"sdkSurface\":\"document\",\"command\":\"citations sources insert\",\"commandTokens\":[\"citations\",\"sources\",\"insert\"],\"category\":\"core\",\"description\":\"Register a new citation source in the document store.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"type\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"type\",\"flag\":\"type\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"book\"},{\"const\":\"journalArticle\"},{\"const\":\"conferenceProceedings\"},{\"const\":\"report\"},{\"const\":\"website\"},{\"const\":\"patent\"},{\"const\":\"case\"},{\"const\":\"statute\"},{\"const\":\"thesis\"},{\"const\":\"film\"},{\"const\":\"interview\"},{\"const\":\"misc\"}]}},{\"name\":\"fields\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"fields\",\"flag\":\"fields-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"authors\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"year\":{\"type\":\"string\"},\"publisher\":{\"type\":\"string\"},\"city\":{\"type\":\"string\"},\"journalName\":{\"type\":\"string\"},\"volume\":{\"type\":\"string\"},\"issue\":{\"type\":\"string\"},\"pages\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"doi\":{\"type\":\"string\"},\"edition\":{\"type\":\"string\"},\"editor\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"translator\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"medium\":{\"type\":\"string\"},\"shortTitle\":{\"type\":\"string\"},\"standardNumber\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"citations.sources.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.sources.update\":{\"operationId\":\"doc.citations.sources.update\",\"sdkSurface\":\"document\",\"command\":\"citations sources update\",\"commandTokens\":[\"citations\",\"sources\",\"update\"],\"category\":\"core\",\"description\":\"Update the fields of an existing citation source.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"citationSource\"},\"sourceId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"sourceId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"authors\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"year\":{\"type\":\"string\"},\"publisher\":{\"type\":\"string\"},\"city\":{\"type\":\"string\"},\"journalName\":{\"type\":\"string\"},\"volume\":{\"type\":\"string\"},\"issue\":{\"type\":\"string\"},\"pages\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"doi\":{\"type\":\"string\"},\"edition\":{\"type\":\"string\"},\"editor\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"translator\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"first\":{\"type\":\"string\"},\"middle\":{\"type\":\"string\"},\"last\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"last\"]}},\"medium\":{\"type\":\"string\"},\"shortTitle\":{\"type\":\"string\"},\"standardNumber\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"citations.sources.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.sources.remove\":{\"operationId\":\"doc.citations.sources.remove\",\"sdkSurface\":\"document\",\"command\":\"citations sources remove\",\"commandTokens\":[\"citations\",\"sources\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a citation source from the document store.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"entity\"},\"entityType\":{\"const\":\"citationSource\"},\"sourceId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"entityType\",\"sourceId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.sources.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.bibliography.get\":{\"operationId\":\"doc.citations.bibliography.get\",\"sdkSurface\":\"document\",\"command\":\"citations bibliography get\",\"commandTokens\":[\"citations\",\"bibliography\",\"get\"],\"category\":\"core\",\"description\":\"Get information about the bibliography block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"bibliography\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.bibliography.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.citations.bibliography.insert\":{\"operationId\":\"doc.citations.bibliography.insert\",\"sdkSurface\":\"document\",\"command\":\"citations bibliography insert\",\"commandTokens\":[\"citations\",\"bibliography\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a bibliography block at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}},{\"name\":\"style\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"style\",\"flag\":\"style\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"citations.bibliography.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.bibliography.rebuild\":{\"operationId\":\"doc.citations.bibliography.rebuild\",\"sdkSurface\":\"document\",\"command\":\"citations bibliography rebuild\",\"commandTokens\":[\"citations\",\"bibliography\",\"rebuild\"],\"category\":\"core\",\"description\":\"Rebuild the bibliography from current sources.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"bibliography\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.bibliography.rebuild\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.bibliography.configure\":{\"operationId\":\"doc.citations.bibliography.configure\",\"sdkSurface\":\"document\",\"command\":\"citations bibliography configure\",\"commandTokens\":[\"citations\",\"bibliography\",\"configure\"],\"category\":\"core\",\"description\":\"Configure the bibliography style.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"bibliography\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"style\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"style\",\"flag\":\"style\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"citations.bibliography.configure\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.citations.bibliography.remove\":{\"operationId\":\"doc.citations.bibliography.remove\",\"sdkSurface\":\"document\",\"command\":\"citations bibliography remove\",\"commandTokens\":[\"citations\",\"bibliography\",\"remove\"],\"category\":\"core\",\"description\":\"Remove the bibliography block from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"bibliography\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"citations.bibliography.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.list\":{\"operationId\":\"doc.authorities.list\",\"sdkSurface\":\"document\",\"command\":\"authorities list\",\"commandTokens\":[\"authorities\",\"list\"],\"category\":\"core\",\"description\":\"List all table-of-authorities blocks in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"authorities.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.authorities.get\":{\"operationId\":\"doc.authorities.get\",\"sdkSurface\":\"document\",\"command\":\"authorities get\",\"commandTokens\":[\"authorities\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific table-of-authorities block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfAuthorities\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.authorities.insert\":{\"operationId\":\"doc.authorities.insert\",\"sdkSurface\":\"document\",\"command\":\"authorities insert\",\"commandTokens\":[\"authorities\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new table-of-authorities block at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentStart\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"documentEnd\"}},\"additionalProperties\":false,\"required\":[\"kind\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"before\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"after\"},\"target\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableRow\"},{\"const\":\"tableCell\"},{\"const\":\"tableOfContents\"},{\"const\":\"image\"},{\"const\":\"sdt\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"target\"]}]}},{\"name\":\"config\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"config\",\"flag\":\"config-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"number\"},\"entryPageSeparator\":{\"type\":\"string\"},\"usePassim\":{\"type\":\"boolean\"},\"includeHeadings\":{\"type\":\"boolean\"},\"tabLeader\":{\"type\":\"string\"},\"pageRangeSeparator\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.configure\":{\"operationId\":\"doc.authorities.configure\",\"sdkSurface\":\"document\",\"command\":\"authorities configure\",\"commandTokens\":[\"authorities\",\"configure\"],\"category\":\"core\",\"description\":\"Update the configuration of an existing table-of-authorities block.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfAuthorities\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"category\":{\"type\":\"number\"},\"entryPageSeparator\":{\"type\":\"string\"},\"usePassim\":{\"type\":\"boolean\"},\"includeHeadings\":{\"type\":\"boolean\"},\"tabLeader\":{\"type\":\"string\"},\"pageRangeSeparator\":{\"type\":\"string\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.configure\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.rebuild\":{\"operationId\":\"doc.authorities.rebuild\",\"sdkSurface\":\"document\",\"command\":\"authorities rebuild\",\"commandTokens\":[\"authorities\",\"rebuild\"],\"category\":\"core\",\"description\":\"Rebuild a table-of-authorities block from its entries.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfAuthorities\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.rebuild\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.remove\":{\"operationId\":\"doc.authorities.remove\",\"sdkSurface\":\"document\",\"command\":\"authorities remove\",\"commandTokens\":[\"authorities\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a table-of-authorities block from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"const\":\"tableOfAuthorities\"},\"nodeId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.entries.list\":{\"operationId\":\"doc.authorities.entries.list\",\"sdkSurface\":\"document\",\"command\":\"authorities entries list\",\"commandTokens\":[\"authorities\",\"entries\",\"list\"],\"category\":\"core\",\"description\":\"List all TA (authority entry) fields in the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"category\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"category\",\"flag\":\"category-json\",\"required\":false,\"schema\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]}},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"authorities.entries.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.authorities.entries.get\":{\"operationId\":\"doc.authorities.entries.get\",\"sdkSurface\":\"document\",\"command\":\"authorities entries get\",\"commandTokens\":[\"authorities\",\"entries\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific TA authority entry.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"authorityEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.entries.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.authorities.entries.insert\":{\"operationId\":\"doc.authorities.entries.insert\",\"sdkSurface\":\"document\",\"command\":\"authorities entries insert\",\"commandTokens\":[\"authorities\",\"entries\",\"insert\"],\"category\":\"core\",\"description\":\"Insert a new TA authority entry field at a target location.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"at\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"at\",\"flag\":\"at-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"segments\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"range\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"number\"},\"end\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"blockId\",\"range\"]},\"minItems\":1},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"segments\"]}},{\"name\":\"entry\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"entry\",\"flag\":\"entry-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"longCitation\":{\"type\":\"string\"},\"shortCitation\":{\"type\":\"string\"},\"category\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"longCitation\",\"category\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.entries.insert\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.entries.update\":{\"operationId\":\"doc.authorities.entries.update\",\"sdkSurface\":\"document\",\"command\":\"authorities entries update\",\"commandTokens\":[\"authorities\",\"entries\",\"update\"],\"category\":\"core\",\"description\":\"Update the properties of an existing TA authority entry.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"authorityEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}},{\"name\":\"patch\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"patch\",\"flag\":\"patch-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"longCitation\":{\"type\":\"string\"},\"shortCitation\":{\"type\":\"string\"},\"category\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"bold\":{\"type\":\"boolean\"},\"italic\":{\"type\":\"boolean\"}},\"additionalProperties\":false}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.entries.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.authorities.entries.remove\":{\"operationId\":\"doc.authorities.entries.remove\",\"sdkSurface\":\"document\",\"command\":\"authorities entries remove\",\"commandTokens\":[\"authorities\",\"entries\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a TA authority entry field from the document.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"inline\"},\"nodeType\":{\"const\":\"authorityEntry\"},\"anchor\":{\"type\":\"object\",\"properties\":{\"start\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]},\"end\":{\"type\":\"object\",\"properties\":{\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"}},\"additionalProperties\":false,\"required\":[\"blockId\",\"offset\"]}},\"additionalProperties\":false,\"required\":[\"start\",\"end\"]}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"anchor\"]}}],\"constraints\":null,\"documentApiOperationId\":\"authorities.entries.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.diff.capture\":{\"operationId\":\"doc.diff.capture\",\"sdkSurface\":\"document\",\"command\":\"diff capture\",\"commandTokens\":[\"diff\",\"capture\"],\"category\":\"core\",\"description\":\"Capture the current document\'s diffable state as a versioned snapshot. v2 capture requires source-complete state and reports coverage for body, comments, styles, numbering, and header/footers, with extended family coverage carried in the opaque payload. Legacy body-only v2 artifacts remain accepted for compare/apply compatibility.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"snapshot\",\"documentApiResultKey\":\"snapshot\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"diff.capture\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.diff.compare\":{\"operationId\":\"doc.diff.compare\",\"sdkSurface\":\"document\",\"command\":\"diff compare\",\"commandTokens\":[\"diff\",\"compare\"],\"category\":\"core\",\"description\":\"Compare the current document (base) against a previously captured target snapshot. Returns a versioned diff payload whose summary reports which components changed: body, comments, styles, numbering, header/footers, and parts.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"diff\",\"documentApiResultKey\":\"diff\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"targetSnapshot\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"targetSnapshot\",\"flag\":\"target-snapshot-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"oneOf\":[{\"const\":\"sd-diff-snapshot/v1\"},{\"const\":\"sd-diff-snapshot/v2\"}]},\"engine\":{\"oneOf\":[{\"const\":\"superdoc-v2\"}]},\"fingerprint\":{\"type\":\"string\"},\"coverage\":{\"type\":\"object\",\"properties\":{\"body\":{\"const\":true},\"comments\":{\"type\":\"boolean\"},\"styles\":{\"type\":\"boolean\"},\"numbering\":{\"type\":\"boolean\"},\"headerFooters\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"body\",\"comments\",\"styles\",\"numbering\",\"headerFooters\"]},\"payload\":{\"type\":\"object\",\"properties\":{},\"description\":\"Opaque engine-owned snapshot data.\"}},\"additionalProperties\":false,\"required\":[\"version\",\"engine\",\"fingerprint\",\"coverage\",\"payload\"]}},{\"name\":\"styleChangeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleChangeMode\",\"flag\":\"style-change-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"direct\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"diff.compare\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.diff.apply\":{\"operationId\":\"doc.diff.apply\",\"sdkSurface\":\"document\",\"command\":\"diff apply\",\"commandTokens\":[\"diff\",\"apply\"],\"category\":\"core\",\"description\":\"Apply a previously computed diff payload to the current document. The document fingerprint must match the diff base fingerprint. Omitted changeMode applies story content directly; explicit tracked mode governs all four story families (body, header/footer parts, footnotes, endnotes). Comments, styles, and numbering are always applied directly. Supported mixed full-diff payloads apply atomically across body, comments, styles, numbering, and header/footers. Unsupported/deferred families such as package-graph/media/hyperlink closure, settings/theme, and textboxes fail closed before mutation.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"diff\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"diff\",\"flag\":\"diff-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"version\":{\"oneOf\":[{\"const\":\"sd-diff-payload/v1\"},{\"const\":\"sd-diff-payload/v2\"}]},\"engine\":{\"oneOf\":[{\"const\":\"superdoc-v2\"}]},\"baseFingerprint\":{\"type\":\"string\"},\"targetFingerprint\":{\"type\":\"string\"},\"coverage\":{\"type\":\"object\",\"properties\":{\"body\":{\"const\":true},\"comments\":{\"type\":\"boolean\"},\"styles\":{\"type\":\"boolean\"},\"numbering\":{\"type\":\"boolean\"},\"headerFooters\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"body\",\"comments\",\"styles\",\"numbering\",\"headerFooters\"]},\"summary\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"},\"changedComponents\":{\"type\":\"array\",\"items\":{\"oneOf\":[{\"const\":\"body\"},{\"const\":\"comments\"},{\"const\":\"styles\"},{\"const\":\"numbering\"},{\"const\":\"headerFooters\"},{\"const\":\"parts\"}]}},\"body\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]},\"comments\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]},\"styles\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]},\"numbering\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]},\"headerFooters\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]},\"parts\":{\"type\":\"object\",\"properties\":{\"hasChanges\":{\"type\":\"boolean\"}},\"additionalProperties\":false,\"required\":[\"hasChanges\"]}},\"additionalProperties\":false,\"required\":[\"hasChanges\",\"changedComponents\",\"body\",\"comments\",\"styles\",\"numbering\",\"headerFooters\",\"parts\"]},\"applyEligibility\":{\"type\":\"object\",\"properties\":{\"direct\":{\"type\":\"object\",\"properties\":{\"status\":{\"oneOf\":[{\"const\":\"candidate\"},{\"const\":\"blocked\"}]},\"blockers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"oneOf\":[{\"const\":\"family-apply-lane-unavailable\"},{\"const\":\"header-footer-physical-lifecycle-unsafe\"},{\"const\":\"header-footer-tracked-lifecycle-unsupported\"},{\"const\":\"comment-replay-unsafe\"},{\"const\":\"comment-anchor-marker-semantics-unsafe\"},{\"const\":\"styles-replay-unsafe\"},{\"const\":\"numbering-replay-unsafe\"},{\"const\":\"definition-replay-tracked-unsupported\"},{\"const\":\"package-graph-tracked-unsupported\"},{\"const\":\"section-reference-replay-unsafe\"},{\"const\":\"structural-paragraph-unsupported\"}]},\"message\":{\"type\":\"string\"},\"families\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"additionalProperties\":false,\"required\":[\"code\",\"message\"]}}},\"additionalProperties\":false,\"required\":[\"status\",\"blockers\"]},\"tracked\":{\"type\":\"object\",\"properties\":{\"status\":{\"oneOf\":[{\"const\":\"candidate\"},{\"const\":\"blocked\"}]},\"blockers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"oneOf\":[{\"const\":\"family-apply-lane-unavailable\"},{\"const\":\"header-footer-physical-lifecycle-unsafe\"},{\"const\":\"header-footer-tracked-lifecycle-unsupported\"},{\"const\":\"comment-replay-unsafe\"},{\"const\":\"comment-anchor-marker-semantics-unsafe\"},{\"const\":\"styles-replay-unsafe\"},{\"const\":\"numbering-replay-unsafe\"},{\"const\":\"definition-replay-tracked-unsupported\"},{\"const\":\"package-graph-tracked-unsupported\"},{\"const\":\"section-reference-replay-unsafe\"},{\"const\":\"structural-paragraph-unsupported\"}]},\"message\":{\"type\":\"string\"},\"families\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"additionalProperties\":false,\"required\":[\"code\",\"message\"]}}},\"additionalProperties\":false,\"required\":[\"status\",\"blockers\"]}},\"additionalProperties\":false,\"required\":[\"direct\",\"tracked\"]},\"partChanges\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"partUri\":{\"type\":\"string\"},\"kind\":{\"oneOf\":[{\"const\":\"added\"},{\"const\":\"removed\"},{\"const\":\"modified\"}]},\"beforeFingerprint\":{\"type\":\"json\"},\"afterFingerprint\":{\"type\":\"json\"}},\"additionalProperties\":false,\"required\":[\"partUri\",\"kind\",\"beforeFingerprint\",\"afterFingerprint\"]}},\"payload\":{\"type\":\"object\",\"properties\":{},\"description\":\"Opaque engine-owned diff data.\"}},\"additionalProperties\":false,\"required\":[\"version\",\"engine\",\"baseFingerprint\",\"targetFingerprint\",\"coverage\",\"summary\",\"payload\"]}},{\"name\":\"styleChangeMode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"styleChangeMode\",\"flag\":\"style-change-mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"direct\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"diff.apply\",\"mutates\":true,\"idempotency\":\"conditional\",\"trackedSupport\":\"always\",\"supportsTrackedMode\":true,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.export.toDocx\":{\"operationId\":\"doc.export.toDocx\",\"sdkSurface\":\"document\",\"command\":\"export to-docx\",\"commandTokens\":[\"export\",\"to-docx\"],\"category\":\"core\",\"description\":\"Serialize the current document to DOCX bytes under an explicit tracked-change export mode. `review-preserving` (default) keeps open tracked changes as Word revision markup, `final` resolves them as accepted, and `original` resolves them as rejected. Returns the exported bytes plus a structured degradation report of allowed warnings. An invalid mode fails closed with INVALID_INPUT before any work happens.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":false,\"schema\":{\"oneOf\":[{\"const\":\"review-preserving\"},{\"const\":\"final\"},{\"const\":\"original\"}]}}],\"constraints\":null,\"documentApiOperationId\":\"export.toDocx\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.protection.get\":{\"operationId\":\"doc.protection.get\",\"sdkSurface\":\"document\",\"command\":\"protection get\",\"commandTokens\":[\"protection\",\"get\"],\"category\":\"core\",\"description\":\"Read the current document protection state including editing restrictions, write protection, and read-only recommendation.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"documentApiOperationId\":\"protection.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.protection.setEditingRestriction\":{\"operationId\":\"doc.protection.setEditingRestriction\",\"sdkSurface\":\"document\",\"command\":\"protection set-editing-restriction\",\"commandTokens\":[\"protection\",\"set-editing-restriction\"],\"category\":\"core\",\"description\":\"Author a Word readOnly, comments, trackedChanges, or forms restriction. Inspect runtimeEnforced in the returned state: V2 currently enforces readOnly; the other modes are saved for Word and are not enforced in SuperDoc.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"mode\",\"flag\":\"mode\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"readOnly\"},{\"const\":\"comments\"},{\"const\":\"trackedChanges\"},{\"const\":\"forms\"}]}},{\"name\":\"formattingRestricted\",\"kind\":\"flag\",\"type\":\"boolean\",\"documentApiInputName\":\"formattingRestricted\",\"flag\":\"formatting-restricted\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"protection.setEditingRestriction\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.protection.clearEditingRestriction\":{\"operationId\":\"doc.protection.clearEditingRestriction\",\"sdkSurface\":\"document\",\"command\":\"protection clear-editing-restriction\",\"commandTokens\":[\"protection\",\"clear-editing-restriction\"],\"category\":\"core\",\"description\":\"Disable document-level editing restriction by setting enforcement to off. Preserves the protection element and its metadata for round-trip fidelity.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"}],\"constraints\":null,\"documentApiOperationId\":\"protection.clearEditingRestriction\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.permissionRanges.list\":{\"operationId\":\"doc.permissionRanges.list\",\"sdkSurface\":\"document\",\"command\":\"permission-ranges list\",\"commandTokens\":[\"permission-ranges\",\"list\"],\"category\":\"core\",\"description\":\"List all permission ranges in the document. Returns only complete paired ranges (both start and end markers present).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"permissionRanges.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.permissionRanges.get\":{\"operationId\":\"doc.permissionRanges.get\",\"sdkSurface\":\"document\",\"command\":\"permission-ranges get\",\"commandTokens\":[\"permission-ranges\",\"get\"],\"category\":\"core\",\"description\":\"Get detailed information about a specific permission range by ID.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"permissionRanges.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.permissionRanges.create\":{\"operationId\":\"doc.permissionRanges.create\",\"sdkSurface\":\"document\",\"command\":\"permission-ranges create\",\"commandTokens\":[\"permission-ranges\",\"create\"],\"category\":\"core\",\"description\":\"Create a permission range exception region in the document. Inserts matched permStart/permEnd markers at the target.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},{\"name\":\"principal\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"principal\",\"flag\":\"principal-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"everyone\"},{\"const\":\"editor\"}]},\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\"]}},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"permissionRanges.create\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.permissionRanges.remove\":{\"operationId\":\"doc.permissionRanges.remove\",\"sdkSurface\":\"document\",\"command\":\"permission-ranges remove\",\"commandTokens\":[\"permission-ranges\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a permission range by ID. Removes whichever markers exist for the given ID (start, end, or both).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"permissionRanges.remove\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.permissionRanges.updatePrincipal\":{\"operationId\":\"doc.permissionRanges.updatePrincipal\",\"sdkSurface\":\"document\",\"command\":\"permission-ranges update-principal\",\"commandTokens\":[\"permission-ranges\",\"update-principal\"],\"category\":\"core\",\"description\":\"Change which principal is allowed to edit a permission range. Updates the principal fields on the start marker.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true},{\"name\":\"principal\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"principal\",\"flag\":\"principal-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"oneOf\":[{\"const\":\"everyone\"},{\"const\":\"editor\"}]},\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\"]}}],\"constraints\":null,\"documentApiOperationId\":\"permissionRanges.updatePrincipal\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"skipAsATool\":true,\"hasFailureResult\":true},\"doc.customXml.parts.list\":{\"operationId\":\"doc.customXml.parts.list\",\"sdkSurface\":\"document\",\"command\":\"custom-xml parts list\",\"commandTokens\":[\"custom-xml\",\"parts\",\"list\"],\"category\":\"core\",\"description\":\"List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"rootNamespace\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"rootNamespace\",\"flag\":\"root-namespace\",\"required\":false},{\"name\":\"schemaRef\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"schemaRef\",\"flag\":\"schema-ref\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"customXml.parts.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.customXml.parts.get\":{\"operationId\":\"doc.customXml.parts.get\",\"sdkSurface\":\"document\",\"command\":\"custom-xml parts get\",\"commandTokens\":[\"custom-xml\",\"parts\",\"get\"],\"category\":\"core\",\"description\":\"Get a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"id\"]},{\"type\":\"object\",\"properties\":{\"partName\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"partName\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"customXml.parts.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.customXml.parts.create\":{\"operationId\":\"doc.customXml.parts.create\",\"sdkSurface\":\"document\",\"command\":\"custom-xml parts create\",\"commandTokens\":[\"custom-xml\",\"parts\",\"create\"],\"category\":\"core\",\"description\":\"Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":true},{\"name\":\"schemaRefs\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"schemaRefs\",\"flag\":\"schema-refs\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"constraints\":null,\"documentApiOperationId\":\"customXml.parts.create\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.customXml.parts.patch\":{\"operationId\":\"doc.customXml.parts.patch\",\"sdkSurface\":\"document\",\"command\":\"custom-xml parts patch\",\"commandTokens\":[\"custom-xml\",\"parts\",\"patch\"],\"category\":\"core\",\"description\":\"Replace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"id\"]},{\"type\":\"object\",\"properties\":{\"partName\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"partName\"]}]}},{\"name\":\"content\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"content\",\"flag\":\"content\",\"required\":false},{\"name\":\"schemaRefs\",\"kind\":\"flag\",\"type\":\"string[]\",\"documentApiInputName\":\"schemaRefs\",\"flag\":\"schema-refs\",\"required\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"constraints\":null,\"documentApiOperationId\":\"customXml.parts.patch\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.customXml.parts.remove\":{\"operationId\":\"doc.customXml.parts.remove\",\"sdkSurface\":\"document\",\"command\":\"custom-xml parts remove\",\"commandTokens\":[\"custom-xml\",\"parts\",\"remove\"],\"category\":\"core\",\"description\":\"Remove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"id\"]},{\"type\":\"object\",\"properties\":{\"partName\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"partName\"]}]}}],\"constraints\":null,\"documentApiOperationId\":\"customXml.parts.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.metadata.attach\":{\"operationId\":\"doc.metadata.attach\",\"sdkSurface\":\"document\",\"command\":\"metadata attach\",\"commandTokens\":[\"metadata\",\"attach\"],\"category\":\"core\",\"description\":\"Anchor a JSON metadata payload to a span of text. Wraps the target range in a hidden inline content control whose w:tag carries a stable id, and stores the payload in a namespaced Custom XML Data Storage Part. v1 supports text-range anchors only.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"target\",\"flag\":\"target-json\",\"required\":true,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}},{\"name\":\"namespace\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"namespace\",\"flag\":\"namespace\",\"required\":true},{\"name\":\"payload\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"payload\",\"flag\":\"payload-json\",\"required\":true,\"schema\":{\"type\":\"json\"}},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":false}],\"constraints\":null,\"documentApiOperationId\":\"metadata.attach\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.metadata.list\":{\"operationId\":\"doc.metadata.list\",\"sdkSurface\":\"document\",\"command\":\"metadata list\",\"commandTokens\":[\"metadata\",\"list\"],\"category\":\"core\",\"description\":\"List anchored-metadata entries in the document, optionally filtered by consumer namespace and/or a `within` selection (returns only entries whose anchor overlaps `within`).\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"limit\",\"flag\":\"limit\",\"required\":false},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"documentApiInputName\":\"offset\",\"flag\":\"offset\",\"required\":false},{\"name\":\"namespace\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"namespace\",\"flag\":\"namespace\",\"required\":false},{\"name\":\"within\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"within\",\"flag\":\"within-json\",\"required\":false,\"schema\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"selection\"},\"start\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"end\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"text\"},\"blockId\":{\"type\":\"string\"},\"offset\":{\"type\":\"number\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"blockId\",\"offset\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"nodeEdge\"},\"node\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"block\"},\"nodeType\":{\"oneOf\":[{\"const\":\"paragraph\"},{\"const\":\"heading\"},{\"const\":\"listItem\"},{\"const\":\"table\"},{\"const\":\"tableOfContents\"},{\"const\":\"sdt\"},{\"const\":\"image\"}]},\"nodeId\":{\"type\":\"string\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"nodeType\",\"nodeId\"]},\"edge\":{\"oneOf\":[{\"const\":\"before\"},{\"const\":\"after\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"node\",\"edge\"]}],\"description\":\"A point in the document. Use {kind:\'text\', blockId, offset} for character positions or {kind:\'nodeEdge\', node:{kind:\'block\', nodeType, nodeId}, edge:\'before\'|\'after\'} for block boundaries.\"},\"story\":{\"oneOf\":[{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"body\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterSlot\"},\"section\":{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"section\"},\"sectionId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"sectionId\"]},\"headerFooterKind\":{\"oneOf\":[{\"const\":\"header\"},{\"const\":\"footer\"}]},\"variant\":{\"oneOf\":[{\"const\":\"default\"},{\"const\":\"first\"},{\"const\":\"even\"}]},\"resolution\":{\"oneOf\":[{\"const\":\"effective\"},{\"const\":\"explicit\"}]},\"onWrite\":{\"oneOf\":[{\"const\":\"materializeIfInherited\"},{\"const\":\"editResolvedPart\"},{\"const\":\"error\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"section\",\"headerFooterKind\",\"variant\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"headerFooterPart\"},\"refId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"refId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"footnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"endnote\"},\"noteId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"noteId\"]},{\"type\":\"object\",\"properties\":{\"kind\":{\"const\":\"story\"},\"storyType\":{\"const\":\"textbox\"},\"textboxId\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"kind\",\"storyType\",\"textboxId\"]}],\"description\":\"Story scope. Defaults to document body when omitted. Use {kind:\'story\', storyType:\'body\'} for body, or other storyType values for headers, footers, footnotes, endnotes.\"},\"coordinateSpace\":{\"oneOf\":[{\"const\":\"visible\"},{\"const\":\"tracked\"}]}},\"additionalProperties\":false,\"required\":[\"kind\",\"start\",\"end\"]}}],\"constraints\":null,\"documentApiOperationId\":\"metadata.list\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.metadata.get\":{\"operationId\":\"doc.metadata.get\",\"sdkSurface\":\"document\",\"command\":\"metadata get\",\"commandTokens\":[\"metadata\",\"get\"],\"category\":\"core\",\"description\":\"Get a single anchored-metadata entry by id, including its JSON payload.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"metadata.get\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.metadata.update\":{\"operationId\":\"doc.metadata.update\",\"sdkSurface\":\"document\",\"command\":\"metadata update\",\"commandTokens\":[\"metadata\",\"update\"],\"category\":\"core\",\"description\":\"Replace the JSON payload of an existing anchored-metadata entry. Replace semantics; no merge. The anchor is left untouched.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true},{\"name\":\"payload\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"documentApiInputName\":\"payload\",\"flag\":\"payload-json\",\"required\":true,\"schema\":{\"type\":\"json\"}}],\"constraints\":null,\"documentApiOperationId\":\"metadata.update\",\"mutates\":true,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.metadata.remove\":{\"operationId\":\"doc.metadata.remove\",\"sdkSurface\":\"document\",\"command\":\"metadata remove\",\"commandTokens\":[\"metadata\",\"remove\"],\"category\":\"core\",\"description\":\"Remove an anchored-metadata entry. Strips the anchor content-control wrapper (its content stays in the document) and deletes the payload entry from the Storage Part. In v1 these writes are sequenced, not transactional: the adapter resolves the target up-front so missing-target failures land before any state change, but a crash strictly between the two writes can leave a dangling payload. When the backing part has no remaining entries, the part itself is removed.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"changeTag\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-tag\",\"description\":\"Caller correlation echoed only on this committed mutation; never stored in DOCX.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"changeMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"change-mode\",\"schema\":{\"type\":\"string\"},\"description\":\"Edit mode: \\\"direct\\\" applies changes immediately, \\\"tracked\\\" records as suggestions.\"},{\"name\":\"dryRun\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"dry-run\",\"description\":\"Preview the result without applying changes.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"metadata.remove\",\"mutates\":true,\"idempotency\":\"non-idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":true,\"hasFailureResult\":true},\"doc.metadata.resolve\":{\"operationId\":\"doc.metadata.resolve\",\"sdkSurface\":\"document\",\"command\":\"metadata resolve\",\"commandTokens\":[\"metadata\",\"resolve\"],\"category\":\"core\",\"description\":\"Find where an anchored-metadata entry is anchored in the document. Returns the SelectionTarget covering the anchor content.\",\"requiresDocumentContext\":true,\"docRequirement\":\"optional\",\"responseEnvelopeKey\":\"result\",\"documentApiResultKey\":\"result\",\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"id\",\"kind\":\"flag\",\"type\":\"string\",\"documentApiInputName\":\"id\",\"flag\":\"id\",\"required\":true}],\"constraints\":null,\"documentApiOperationId\":\"metadata.resolve\",\"mutates\":false,\"idempotency\":\"idempotent\",\"trackedSupport\":\"never\",\"supportsTrackedMode\":false,\"supportsConditionalTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.open\":{\"operationId\":\"doc.open\",\"sdkSurface\":\"client\",\"command\":\"open\",\"commandTokens\":[\"open\"],\"category\":\"session\",\"description\":\"Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"collaboration\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"collaboration-json\",\"schema\":{\"oneOf\":[{\"type\":\"object\",\"description\":\"WebSocket-based v2 collaboration using y-websocket or Hocuspocus.\",\"properties\":{\"providerType\":{\"type\":\"string\",\"enum\":[\"y-websocket\",\"hocuspocus\"],\"description\":\"V2 collaboration provider.\"},\"url\":{\"type\":\"string\",\"description\":\"WebSocket server URL.\"},\"documentId\":{\"type\":\"string\",\"description\":\"Room/document identifier. Defaults to session ID if omitted.\"},\"tokenEnv\":{\"type\":\"string\",\"description\":\"Environment variable name containing the auth token.\"},\"headersEnv\":{\"type\":\"string\",\"description\":\"Environment variable name containing JSON WebSocket headers. Supported by y-websocket.\"},\"params\":{\"type\":\"object\",\"description\":\"Custom query parameters appended to the WebSocket URL. Values must be strings. Reserved keys: token.\",\"additionalProperties\":{\"type\":\"string\"}},\"syncTimeoutMs\":{\"type\":\"number\",\"description\":\"Max time (ms) to wait for initial sync.\"},\"roomMode\":{\"type\":\"string\",\"enum\":[\"join\",\"create\"],\"description\":\"Room operation: join (default) or explicit create from the opened document.\"},\"bootstrapSettlingMs\":{\"type\":\"number\",\"description\":\"Time (ms) to wait for bootstrap claim propagation.\"}},\"required\":[\"providerType\",\"url\"]},{\"type\":\"object\",\"description\":\"Liveblocks v2 collaboration with a public API key.\",\"properties\":{\"providerType\":{\"type\":\"string\",\"enum\":[\"liveblocks\"],\"description\":\"V2 collaboration provider.\"},\"roomId\":{\"type\":\"string\",\"description\":\"Liveblocks room identifier.\"},\"publicApiKey\":{\"type\":\"string\",\"description\":\"Liveblocks public API key (pk_...).\"},\"syncTimeoutMs\":{\"type\":\"number\",\"description\":\"Max time (ms) to wait for initial sync.\"},\"roomMode\":{\"type\":\"string\",\"enum\":[\"join\",\"create\"],\"description\":\"Room operation: join (default) or explicit create from the opened document.\"},\"bootstrapSettlingMs\":{\"type\":\"number\",\"description\":\"Time (ms) to wait for bootstrap claim propagation.\"}},\"required\":[\"providerType\",\"roomId\",\"publicApiKey\"]},{\"type\":\"object\",\"description\":\"Liveblocks v2 collaboration with a custom auth endpoint.\",\"properties\":{\"providerType\":{\"type\":\"string\",\"enum\":[\"liveblocks\"],\"description\":\"V2 collaboration provider.\"},\"roomId\":{\"type\":\"string\",\"description\":\"Liveblocks room identifier.\"},\"authEndpoint\":{\"type\":\"string\",\"description\":\"Absolute URL of the auth endpoint.\"},\"authHeadersEnv\":{\"type\":\"string\",\"description\":\"Env var name containing JSON headers for the auth endpoint.\"},\"syncTimeoutMs\":{\"type\":\"number\",\"description\":\"Max time (ms) to wait for initial sync.\"},\"roomMode\":{\"type\":\"string\",\"enum\":[\"join\",\"create\"],\"description\":\"Room operation: join (default) or explicit create from the opened document.\"},\"bootstrapSettlingMs\":{\"type\":\"number\",\"description\":\"Time (ms) to wait for bootstrap claim propagation.\"}},\"required\":[\"providerType\",\"roomId\",\"authEndpoint\"]}]}},{\"name\":\"collabDocumentId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"collab-document-id\"},{\"name\":\"collabUrl\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"collab-url\"},{\"name\":\"trackChanges\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"track-changes-json\",\"schema\":{\"type\":\"object\",\"properties\":{\"replacements\":{\"type\":\"string\",\"enum\":[\"paired\",\"independent\"],\"description\":\"How adjacent insertion/deletion replacement wrappers are projected.\"}}},\"description\":\"Tracked-change projection options for the opened session.\"},{\"name\":\"contentOverride\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"content-override\",\"description\":\"Complete main-body content. Requires --override-type and cannot be combined with collaboration.\"},{\"name\":\"contentOverrideFile\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"content-override-file\",\"description\":\"Read main-body content from a UTF-8 file, or \'-\' for stdin. Use instead of --content-override. Requires --override-type and cannot be combined with collaboration.\",\"agentVisible\":false},{\"name\":\"overrideType\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"override-type\",\"description\":\"Content format: markdown, html, or text. Required with --content-override or --content-override-file.\"},{\"name\":\"roomMode\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"room-mode\",\"description\":\"Collaboration room operation: join (default) or create.\"},{\"name\":\"bootstrapSettlingMs\",\"kind\":\"flag\",\"type\":\"number\",\"flag\":\"bootstrap-settling-ms\"},{\"name\":\"runtime\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"runtime\",\"schema\":{\"type\":\"string\",\"enum\":[\"v2\"]},\"description\":\"Runtime kind. This branch supports only \'v2\'.\"},{\"name\":\"userName\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"user-name\"},{\"name\":\"userEmail\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"user-email\"},{\"name\":\"password\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Password for opening encrypted DOCX files.\",\"agentVisible\":false}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"non-idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.save\":{\"operationId\":\"doc.save\",\"sdkSurface\":\"document\",\"command\":\"save\",\"commandTokens\":[\"save\"],\"category\":\"session\",\"description\":\"Save the current session to the original file or a new path. Supports explicit review-preserving, final, and original export modes.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"mode\",\"kind\":\"flag\",\"type\":\"string\",\"schema\":{\"type\":\"string\",\"enum\":[\"review-preserving\",\"final\",\"original\"]},\"description\":\"DOCX export mode: review-preserving, final, or original.\"},{\"name\":\"inPlace\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"in-place\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"conditional\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.close\":{\"operationId\":\"doc.close\",\"sdkSurface\":\"document\",\"command\":\"close\",\"commandTokens\":[\"close\"],\"category\":\"session\",\"description\":\"Close the active editing session and clean up resources.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"discard\",\"kind\":\"flag\",\"type\":\"boolean\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"conditional\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.insertTab\":{\"operationId\":\"doc.insertTab\",\"sdkSurface\":\"document\",\"command\":\"insert tab\",\"commandTokens\":[\"insert\",\"tab\"],\"category\":\"core\",\"description\":\"Insert a real Word tab node at a collapsed text insertion point. Accepts the same target/ref shortcuts as insert, but only for point inserts.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"target-json\",\"description\":\"Collapsed text insertion point as SelectionTarget JSON.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Mutation-ready ref returned by query.match or ranges.resolve.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\"},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\"},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Character offset for insertion (alias for --start/--end with the same value).\"}],\"constraints\":{\"mutuallyExclusive\":[[\"target\",\"ref\"]]},\"mutates\":true,\"idempotency\":\"non-idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.insertLineBreak\":{\"operationId\":\"doc.insertLineBreak\",\"sdkSurface\":\"document\",\"command\":\"insert line-break\",\"commandTokens\":[\"insert\",\"line-break\"],\"category\":\"core\",\"description\":\"Insert a real Word line-break node at a collapsed text insertion point. Accepts the same target/ref shortcuts as insert, but only for point inserts.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"doc\",\"kind\":\"doc\",\"type\":\"string\",\"description\":\"Document path. Optional when a session is already open.\"},{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"target\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"target-json\",\"description\":\"Collapsed text insertion point as SelectionTarget JSON.\"},{\"name\":\"ref\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Mutation-ready ref returned by query.match or ranges.resolve.\"},{\"name\":\"blockId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"block-id\",\"description\":\"Block ID of the target paragraph.\"},{\"name\":\"start\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Start offset within the block (character index).\"},{\"name\":\"end\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"End offset within the block (character index).\"},{\"name\":\"offset\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Character offset for insertion (alias for --start/--end with the same value).\"}],\"constraints\":{\"mutuallyExclusive\":[[\"target\",\"ref\"]]},\"mutates\":true,\"idempotency\":\"non-idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.executeCode\":{\"operationId\":\"doc.executeCode\",\"sdkSurface\":\"document\",\"command\":\"execute code\",\"commandTokens\":[\"execute\",\"code\"],\"category\":\"core\",\"description\":\"Run model-authored JavaScript IN-HOST against the live, SYNCHRONOUS Document API for the open session. Two globals are injected: `doc` (the synchronous Document API; do NOT await doc.* calls) and `console`. `return` a short summary; logs and the return value come back structured as { ok, result, logs, error }. Use for complex/multi-step workflows (loops, per-item branching, extract-then-generate) in ONE call instead of chaining many narrow tools. Large code can be passed on stdin.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"number\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"code\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"JavaScript body run as an async function with `doc` (synchronous Document API; do NOT await) and `console` injected. Omit to pass code on stdin.\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"non-idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.status\":{\"operationId\":\"doc.status\",\"sdkSurface\":\"internal\",\"command\":\"status\",\"commandTokens\":[\"status\"],\"category\":\"session\",\"description\":\"Show the current session status and document metadata.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.discover\":{\"operationId\":\"doc.discover\",\"sdkSurface\":\"internal\",\"command\":\"discover\",\"commandTokens\":[\"discover\"],\"category\":\"session\",\"description\":\"Find CLI operations from a natural-language intent. Returns an adaptive relevant set capped at ten results and expands the leading operation input shape.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"query\",\"kind\":\"doc\",\"type\":\"string\",\"required\":true,\"description\":\"Natural-language description of the operation to find.\"},{\"name\":\"limit\",\"kind\":\"flag\",\"type\":\"number\",\"description\":\"Maximum results to return, from 1 through 10. Defaults to 10.\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.describe\":{\"operationId\":\"doc.describe\",\"sdkSurface\":\"client\",\"command\":\"describe\",\"commandTokens\":[\"describe\"],\"category\":\"session\",\"description\":\"List all available CLI operations and contract metadata.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.describeCommand\":{\"operationId\":\"doc.describeCommand\",\"sdkSurface\":\"client\",\"command\":\"describe command\",\"commandTokens\":[\"describe\",\"command\"],\"category\":\"session\",\"description\":\"Show detailed metadata for a single CLI operation.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"operationId\",\"kind\":\"doc\",\"type\":\"string\",\"required\":true}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.session.list\":{\"operationId\":\"doc.session.list\",\"sdkSurface\":\"internal\",\"command\":\"session list\",\"commandTokens\":[\"session\",\"list\"],\"category\":\"session\",\"description\":\"List all active editing sessions.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.session.save\":{\"operationId\":\"doc.session.save\",\"sdkSurface\":\"internal\",\"command\":\"session save\",\"commandTokens\":[\"session\",\"save\"],\"category\":\"session\",\"description\":\"Persist the current session state.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"doc\",\"type\":\"string\",\"required\":true},{\"name\":\"out\",\"kind\":\"flag\",\"type\":\"string\",\"agentVisible\":false},{\"name\":\"force\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Bypass confirmation checks.\"},{\"name\":\"inPlace\",\"kind\":\"flag\",\"type\":\"boolean\",\"flag\":\"in-place\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"conditional\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.session.close\":{\"operationId\":\"doc.session.close\",\"sdkSurface\":\"internal\",\"command\":\"session close\",\"commandTokens\":[\"session\",\"close\"],\"category\":\"session\",\"description\":\"Close a specific editing session by ID.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"doc\",\"type\":\"string\",\"required\":true},{\"name\":\"discard\",\"kind\":\"flag\",\"type\":\"boolean\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"conditional\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.session.setDefault\":{\"operationId\":\"doc.session.setDefault\",\"sdkSurface\":\"internal\",\"command\":\"session set-default\",\"commandTokens\":[\"session\",\"set-default\"],\"category\":\"session\",\"description\":\"Set the default session for subsequent commands.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"doc\",\"type\":\"string\",\"required\":true}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"conditional\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"hasFailureResult\":false},\"doc.preset.list\":{\"operationId\":\"doc.preset.list\",\"sdkSurface\":\"document\",\"command\":\"preset list\",\"commandTokens\":[\"preset\",\"list\"],\"category\":\"session\",\"description\":\"List the LLM-tools preset ids registered in the Node SDK preset registry, plus the default preset id.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.preset.getCatalog\":{\"operationId\":\"doc.preset.getCatalog\",\"sdkSurface\":\"document\",\"command\":\"preset get-catalog\",\"commandTokens\":[\"preset\",\"get-catalog\"],\"category\":\"session\",\"description\":\"Return the full tool catalog for an LLM-tools preset (defaults to the registered default preset).\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Preset id. Defaults to the SDK default preset (legacy).\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.preset.getTools\":{\"operationId\":\"doc.preset.getTools\",\"sdkSurface\":\"document\",\"command\":\"preset get-tools\",\"commandTokens\":[\"preset\",\"get-tools\"],\"category\":\"session\",\"description\":\"Return the provider-shaped tool array (openai|anthropic|vercel|generic) for an LLM-tools preset, plus the active cache strategy.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"provider\",\"kind\":\"flag\",\"type\":\"string\",\"required\":true,\"schema\":{\"oneOf\":[{\"const\":\"openai\"},{\"const\":\"anthropic\"},{\"const\":\"vercel\"},{\"const\":\"generic\"}]},\"description\":\"Tool provider format: openai | anthropic | vercel | generic.\"},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Preset id. Defaults to the SDK default preset (legacy).\"},{\"name\":\"cache\",\"kind\":\"flag\",\"type\":\"boolean\",\"description\":\"Apply provider-specific prompt-cache markers.\"},{\"name\":\"excludeActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated action names to remove from the advertised action surface (core preset). Unknown names fail.\"},{\"name\":\"enforceChangeMode\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Tracked-changes-only policy (core preset): \\\"tracked\\\" hides direct-only actions unless allowlisted and forces tracked mode at dispatch.\"},{\"name\":\"allowDirectActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated direct-only action names kept callable under enforceChangeMode (core preset); \\\"*\\\" allows all of them. Requires enforceChangeMode.\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.preset.getSystemPrompt\":{\"operationId\":\"doc.preset.getSystemPrompt\",\"sdkSurface\":\"document\",\"command\":\"preset get-system-prompt\",\"commandTokens\":[\"preset\",\"get-system-prompt\"],\"category\":\"session\",\"description\":\"Return the SDK-style system prompt for an LLM-tools preset.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Preset id. Defaults to the SDK default preset (legacy).\"},{\"name\":\"excludeActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated action names whose per-action documentation lines are dropped from the prompt (core preset).\"},{\"name\":\"enforceChangeMode\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Tracked-changes-only policy (core preset): \\\"tracked\\\" hides direct-only actions unless allowlisted and forces tracked mode at dispatch.\"},{\"name\":\"allowDirectActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated direct-only action names kept callable under enforceChangeMode (core preset); \\\"*\\\" allows all of them. Requires enforceChangeMode.\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.preset.getMcpPrompt\":{\"operationId\":\"doc.preset.getMcpPrompt\",\"sdkSurface\":\"document\",\"command\":\"preset get-mcp-prompt\",\"commandTokens\":[\"preset\",\"get-mcp-prompt\"],\"category\":\"session\",\"description\":\"Return the MCP-flavored system prompt for an LLM-tools preset.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Preset id. Defaults to the SDK default preset (legacy).\"}],\"constraints\":null,\"mutates\":false,\"idempotency\":\"idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false},\"doc.preset.dispatch\":{\"operationId\":\"doc.preset.dispatch\",\"sdkSurface\":\"document\",\"command\":\"preset dispatch\",\"commandTokens\":[\"preset\",\"dispatch\"],\"category\":\"core\",\"description\":\"Dispatch an LLM tool call through the named preset\'s dispatcher against the active session\'s live document. Used by cross-language SDKs (e.g. Python) to proxy preset behavior over the CLI.\",\"requiresDocumentContext\":false,\"docRequirement\":\"none\",\"responseEnvelopeKey\":null,\"documentApiResultKey\":null,\"params\":[{\"name\":\"sessionId\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"session\",\"description\":\"Session ID for multi-session workflows. Optional when only one session is open.\"},{\"name\":\"expectedRevision\",\"kind\":\"flag\",\"type\":\"number\",\"flag\":\"expected-revision\",\"agentVisible\":false},{\"name\":\"toolName\",\"kind\":\"flag\",\"type\":\"string\",\"flag\":\"tool-name\",\"required\":true,\"description\":\"Tool name to dispatch (e.g. superdoc_perform_action, superdoc_inspect, superdoc_execute_code).\"},{\"name\":\"args\",\"kind\":\"jsonFlag\",\"type\":\"json\",\"flag\":\"args-json\",\"description\":\"Tool arguments as a JSON object (matches the preset tool input schema).\"},{\"name\":\"excludeActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated action names to refuse at dispatch (defense-in-depth for a narrowed tool surface).\"},{\"name\":\"enforceChangeMode\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Tracked-changes-only policy (core preset): \\\"tracked\\\" hides direct-only actions unless allowlisted and forces tracked mode at dispatch.\"},{\"name\":\"allowDirectActions\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Comma-separated direct-only action names kept callable under enforceChangeMode (core preset); \\\"*\\\" allows all of them. Requires enforceChangeMode.\"},{\"name\":\"preset\",\"kind\":\"flag\",\"type\":\"string\",\"description\":\"Preset id. Defaults to the SDK default preset (legacy).\"}],\"constraints\":null,\"mutates\":true,\"idempotency\":\"non-idempotent\",\"supportsTrackedMode\":false,\"supportsDryRun\":false,\"skipAsATool\":true,\"hasFailureResult\":false}},\"sdkContractHash\":\"571c15fc12f574bfea752e1f34d5d26943b857086f82aa803386b16ff6cb748b\"}\n";