Get document
editor_getDocumentRead the form document as a TOON-serialized tree. Returns content + an idRoles map labelling every node id with its logic role (condition source, show/hide target, option, etc.) — consult before authoring logic. Use before any editor_insert*/update/replace/delete to discover nodeIds. Read-only. See load_skill("toon-format") for the schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | ||
| version | No | draft |