Primitive
lexeme.snapshot
BETAShort name: snapshot
Version: 1.0.0
Sandbox-only primitive that clones an existing lexeme into the current sandbox session. Used by the verb editor's Test Run panel so a preview verb can mutate a copy of real (PRD) lexeme data without touching the original. The clone is owned by the caller, stamped with the sandbox marker, and carries the source lexeme id and version for diff display.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| sourceLexemeId | objectId | true | Lexeme to clone into the sandbox. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| lexeme | object | false | Created sandbox clone of the lexeme. |
| source | object | false | Reference to the cloned source: { id, version } captured at snapshot time. |