mermaid_to_excalidraw
Convert Mermaid flowchart syntax into an Excalidraw diagram. Auto-detects component types from node labels for appropriate styling.
Instructions
Convert Mermaid flowchart syntax into an Excalidraw diagram.
Supports the mermaid flowchart subset that AI agents commonly generate:
Directions: graph TD, LR, BT, RL
Node shapes: [text], {text}, ((text)), ([text])
Edge types: -->, ---, -.-> ==> with |label|
Subgraphs: subgraph Title ... end
Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mermaid_syntax": "<mermaid_syntax>",
"output_path": "<output_path>"
},
"name": "mermaid_to_excalidraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mermaid_syntax | Yes | Mermaid flowchart source code. | |
| output_path | Yes | File path to save the .excalidraw file. | |
| theme | No | Color theme - "default", "dark", "colorful", "professional". Default: "default". "professional" uses clean lines (no hand-drawn effect) and Helvetica font. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |