developer_mermaid_generate
Generate valid Mermaid markup for flowcharts, sequence, class, and ER diagrams from diagram type and connection lines, with optional title.
Instructions
Format and construct a syntax-valid Mermaid diagram markup.
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": {
"type": "<type>",
"elements": "<elements>"
},
"name": "developer_mermaid_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The diagram type. | |
| title | No | Optional title of the diagram. | |
| elements | Yes | List of connection/definition lines (e.g. ['A --> B', 'B --> C'] for flowchart, ['Alice->>Bob: Hello' for sequence]). |