Generate a diagram
generate_diagramConvert a plain-English system or process description into accurate Mermaid diagram code, choosing from architecture, database, UML, and process diagram types.
Instructions
Turn a plain-English description of a system, database, process or plan into an accurate diagram (Mermaid code) with CloudSketch AI. Uses credits from the CloudSketch AI account that owns the API token. Describe the real system in detail: components, data stores, external services, users, and the cloud or country if relevant.
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>",
"diagram_type": "<diagram_type>"
},
"name": "generate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience | No | technical (default): exact technical names. managers: plain words. investors: business view. | |
| description | Yes | What to draw, in plain English (20-4000 characters). Be specific. | |
| diagram_type | Yes | Which kind of diagram. Use list_diagram_types if unsure. |