Changes data
quotecloud_apply_patch_plan
Re-fetch live authoring state, re-run validation server-side, compare touched parent revisions with the supplied snapshot, then apply the plan atomically in one Convex mutation. dryRun acquires no authoring lease, lock, or session and never changes document content, but its report can become stale immediately. Plans containing deletes require confirmation; the registry marks this tool dangerous so the shared dispatcher can enforce that policy.
Inputs
documentIdRequiredConvex document ID or company-scoped numeric display ID. string
snapshotRequiredobject
planRequiredobject
dryRunOptionalboolean
lockTokenRequiredStable opaque token for this agent edit session. Reuse it to heartbeat owned element locks. string
confirmTokenOptionalOne-time code from the preview. Send it with otherwise identical inputs to run the change. string