create_from_mermaid
Convert Mermaid diagram syntax into Excalidraw elements for visual diagram creation, with real-time browser synchronization and error handling for syntax issues.
Instructions
Create diagram elements from Mermaid syntax.
Converts Mermaid text to Excalidraw elements through connected browser client. If browser is not connected yet, request is queued and sent after websocket ready. Returns clear errors for timeout and mermaid syntax problems.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session ID. If not provided, uses default session. | |
| mermaidDiagram | Yes | Mermaid diagram text, e.g. "graph TD; A-->B; B-->C;" | |
| reset | No | Whether to reset the current canvas before applying Mermaid result. |