inkbolt_document_edit
Apply up to 64 typed operations atomically to a document snapshot at an exact revision, validating locks and resources without changing files. Returns an editable snapshot with ordered changes.
Instructions
Apply 1..64 typed operations atomically to a snapshot at expected_revision. Use add_svg to insert editable SVG fragments or documents. Discover supported operations with schema.lookup name operation and select a variant for its fields. Returns an editable snapshot and ordered changes; validates locks, resources and the complete batch. Leaves files unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| control | No | ||
| document | Yes | Inline snapshot, exact saved session revision, or snapshot file pinned by SHA-256. Saved session resource bindings are inherited unless overridden; files use explicit or workspace roots. | |
| font_root | No | Runtime path relative to the selected workspace, or an absolute path inside it. Omitted session, receipt, job, image/font store and output roots use documented workspace defaults; explicit null retains optional-root semantics. | |
| asset_root | No | Runtime path relative to the selected workspace, or an absolute path inside it. Omitted session, receipt, job, image/font store and output roots use documented workspace defaults; explicit null retains optional-root semantics. | |
| operations | Yes | ||
| response_format | No | JSON/Markdown include a metadata envelope in text. Structured/preview use summary text. All formats send PNG bytes once with payload references. | json |
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |