contentControls.group.wrap
Wrap a content control inside a new group content control. Always nests; not idempotent.
mutates documentdry runnon-idempotent
doc.contentControls.group.wrap(…)Expected result
Returns a ContentControlMutationResult with the new group wrapper target.
Inputs
targetobjectrequiredFields
kind"block" | "inline"requirednodeType"sdt"requirednodeIdstringrequiredResult
Output fields
true
successtruerequiredcontentControlobjectrequiredFields
kind"block" | "inline"requirednodeType"sdt"requirednodeIdstringrequiredupdatedRefobjectFields
kind"block" | "inline"requirednodeType"sdt"requirednodeIdstringrequiredfalse
successfalserequiredfailureReceiptFailurerequiredFields
codestringrequiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETAMBIGUOUS_TARGET
4 more codes
INVALID_INPUTLOCK_VIOLATIONREVISION_MISMATCHCAPABILITY_UNAVAILABLE
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas