import_mermaid
Convert Mermaid diagram text into editable Excalidraw files. Auto-detects flowchart and sequence diagram types for accurate conversion.
Instructions
Import any Mermaid diagram and convert to Excalidraw.
Auto-detects diagram type (flowchart or sequence diagram) and generates the appropriate Excalidraw diagram.
Args: mermaid: Mermaid diagram text (flowchart or sequenceDiagram) output_path: Optional output file path
Returns: Absolute path to the generated .excalidraw file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| mermaid | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |