get_diagram_syntax_guide
Retrieve exact syntax rules, keyword requirements, connectors, common pitfalls, and verified working examples for a Mermaid diagram type before rendering it.
Instructions
Returns authoritative syntax rules, keyword requirements, relationship connectors, common pitfalls, and verified working examples for a specific diagram type (e.g. "usecase-beta", "swimlane-beta", "sequenceDiagram", "architecture", "flowchart").
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": {
"diagram_type": "<diagram_type>"
},
"name": "get_diagram_syntax_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram_type | Yes | The diagram type keyword or alias to retrieve detailed syntax rules and examples for (e.g. "usecase-beta", "swimlane-beta", "sequenceDiagram", "architecture", "flowchart", "packet-beta", "gantt") |