create_from_mermaid
Transforms Mermaid diagram text into Excalidraw elements via browser client. Optionally resets canvas before applying the Mermaid result.
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
| 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. |