architecture_diagram
Build Mermaid diagrams from explicit nodes and edges, sanitizing labels and rejecting dangling edges to ensure valid architecture visuals.
Instructions
Build Mermaid from explicit nodes and edges. Sanitizes labels and rejects dangling edges.
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": {
"nodes": "<nodes>",
"edges": "<edges>"
},
"name": "architecture_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | ||
| nodes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mermaid | No | ||
| limitation | No |