Summary
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.- Operation ID:
tables.setCellProperties - API member path:
editor.doc.tables.setCellProperties(...) - Mutates document:
yes - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
yes - Deterministic target resolution:
yes
Expected result
Returns a TableMutationResult receipt; reports NO_OP if cell properties already match.Input fields
Variant 1 (target.nodeType=โtableCellโ)
Variant 2 (required: nodeId)
Example request
Output fields
Variant 1 (success=true)
Variant 2 (success=false)
Example response
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETCAPABILITY_UNAVAILABLE
Non-applied failure codes
INVALID_TARGETNO_OP
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

