Generar diagrams C4
generate_c4Generate Structurizr DSL/JSON and C1–C4 diagrams from an explicit architecture model, with transparent SVG/PNG exports, an offline viewer, and a hashed manifest.
Instructions
Generate Structurizr DSL/JSON and real C1 context, C2 container, C3 component and C4 code diagrams from an explicit architecture model. Returns transparent SVG/PNG, a viewer and a hashed manifest.
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": {
"project": "<project>",
"model": "<model>"
},
"name": "generate_c4"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| levels | No | ||
| project | Yes | Output project folder name |