generate_c4_diagram
Need a C4 architecture diagram? Generate Context, Container, or Component views with actors, systems, and boundaries directly in Draw.io format.
Instructions
Generate an official C4 architecture diagram (Context, Container, or Component view) with actors, systems, and boundaries.
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": {
"output_path": "<output_path>",
"spec": "<spec>"
},
"name": "generate_c4_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |