Update Table Cell
update_table_cellReplace a single AFFiNE table cell by zero-based row and column while preserving rich-text attributes and header bold formatting.
Instructions
Replace one cell in an AFFiNE table by zero-based row and column while preserving rich-text attributes and the table's header bold formatting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Zero-based table row. | |
| text | Yes | Replacement cell text as plain text or a delta array. For LinkedPage references, set insert to one ASCII space and pass the pageId in reference attributes; visible labels are resolved by AFFiNE. | |
| docId | Yes | AFFiNE document id. | |
| column | Yes | Zero-based table column. | |
| blockId | Yes | Table block id (flavour affine:table). | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| expectedRevision | No | Optional read_doc revision of this primary document. Reject stale content before writing. Covers document content, not workspace metadata; requires all writers to share one MCP server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| row | No | ||
| cell | No | ||
| code | No | ||
| error | No | ||
| rowId | No | ||
| column | No | ||
| blockId | No | ||
| details | No | ||
| updated | No | ||
| columnId | No | ||
| previous | No | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |