Changes data

quotecloud_patch_block_content

Shallow-merge a patch over a block payload, refusing any patch that carries style so a content edit cannot reset presentation. Otherwise identical to quotecloud_update_block, including the revisionToken / expectedRevision choice and blockId / blockLinkId addressing. For rich text prefer quotecloud_replace_text, which preserves the surrounding markup.

Inputs

documentIdRequired
Convex document ID or company-scoped numeric display ID. string
blockIdOptional
The block id reported by quotecloud_inspect_structure. Supply this or blockLinkId, not both. string
blockLinkIdOptional
The block’s API Link ID (BlockData.apiLinkId), the short handle set in the editor. Supply this or blockId, not both; a link id shared by several blocks is refused as ambiguous. string
revisionTokenOptional
Document revisionToken from quotecloud_inspect_structure. Selects the normalized argument family, which works in either contentMode; the write is refused with a *_revision_conflict if the document moved since it was read. string
expectedRevisionOptional
number
patchRequired
object
lockTokenRequired
Stable opaque token for this agent edit session. Reuse it to heartbeat owned element locks. string