inkbolt_session_apply
Commit one atomic edit, undo/redo, snapshot, or resource-binding change to an Inkbolt session with revision checks and safe retries.
Instructions
Commit one atomic edit, undo/redo, named snapshot action or resource-binding change. Requires expected_revision and a unique request_id; same-payload retries return the original receipt without reapplying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| control | No | ||
| request_id | Yes | ||
| session_id | Yes | ||
| session_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. | |
| response_mode | No | Compact returns pinned document/receipt references and summaries, omitting snapshot pixels, receipt changes and the snapshot list. Full preserves the original response. Presentation does not change durable retry identity. | full |
| 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 |