open_drawio_mermaid
Open draw.io editor to visualize diagrams from Mermaid.js syntax or URL. Supports flowcharts, sequence diagrams, and other chart types.
Instructions
Opens the draw.io editor with a diagram generated from Mermaid.js syntax or a URL to Mermaid content. Supports flowcharts (graph TD/LR), sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, pie charts, and more.
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": {
"content": "<content>"
},
"name": "open_drawio_mermaid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The Mermaid.js diagram definition or a URL pointing to Mermaid content. Example: 'graph TD; A-->B; B-->C;' | |
| lightbox | No | Open in lightbox mode (read-only view). Default: false | |
| dark | No | Dark mode setting. Default: auto |