generate_diagram_code
Generates Python diagram code from natural-language descriptions so users can create architecture diagrams without manual coding.
Instructions
Generate Python diagrams code from natural language description
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": {
"description": "<description>"
},
"name": "generate_diagram_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| diagram_type | No | basic | |
| provider_preference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |