import_drawing
Convert Mermaid, Excalidraw, or draw.io diagrams into DrawFather drawings by validating input and preserving supported edits, with strict or loss-accepting modes.
Instructions
Import Mermaid flowchart/sequence/ER, Excalidraw JSON or single-page draw.io XML. Discover drawfather://interchange first. Strict conversion blocks unsupported content; preserve explicitly accepts reported losses and keeps exact original input. Native snapshots merge supported edits or report conflicts. dryRun validates without writing. Existing files require expectedRevision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| dryRun | No | ||
| format | Yes | ||
| source | Yes | ||
| options | No | ||
| preview | No | ||
| includeSource | No | ||
| expectedRevision | No |