Changes data

quotecloud_begin_live_edit

Start a live editing pass on a document before building or editing it. The document switches to live editing, so anyone with it open in the editor sees you as "AI Coworker" and watches each change land (the editor marks the page or block you are changing), and a preview link from quotecloud_get_preview_link updates in place. Call it first, then read the document with quotecloud_inspect_structure, then write: quotecloud_apply_patch_plan with page, container and column steps builds a whole page in one call, so send one plan per page. quotecloud_apply_patch_plan, quotecloud_delete_block, quotecloud_patch_spreadsheet and the settings and styling tools are refused with live_edit_pass_required until a pass is open; other content writes start one on their own, but switching mid-way makes your first write report a revision conflict. Starting a pass saves the document as you found it, so quotecloud_compare shows only your changes. If another user’s agent already has a pass open on the document, you join it: liveEditing.joinedExistingPass is true and liveEditing.passOwner names that user, who alone can end it. Sent and read-only documents are refused. Needs the Collaboration add-on: without it liveEditing.live is false, and writes edit the saved data file, each keeping the previous version. Requires documents:write.

Inputs

documentIdRequired
A Convex document ID or company-scoped numeric display ID. string