Skip to main content
Glama

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
NameRequiredDescriptionDefault
sessionIdNoSession ID. If not provided, uses default session.
mermaidDiagramYesMermaid diagram text, e.g. "graph TD; A-->B; B-->C;"
resetNoWhether to reset the current canvas before applying Mermaid result.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scofieldfree/excalidraw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server