Import Mermaid into draw.io
drawio_import_mermaidConvert Mermaid diagram code into native draw.io cells on a page in the connected editor document, letting you turn text-based diagrams into editable draw.io shapes.
Instructions
Convert Mermaid into native draw.io cells on a page of the connected editor document.
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": "<mermaid>"
},
"name": "drawio_import_mermaid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| mermaid | Yes | ||
| insert_mode | No |