generate_diagram
Generate Excalidraw diagrams from natural language descriptions. Choose from flowchart, mindmap, sequence, architecture, ERD, or freeform diagrams.
Instructions
Generate an Excalidraw diagram from a natural-language description.
Args: description: What the diagram should show, e.g. "user login flow with OAuth and MFA" diagram_type: One of: flowchart, mindmap, sequence, architecture, erd, freeform filename: Output filename without extension (saved to ~/excalidraw_diagrams/)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| diagram_type | No | flowchart | |
| filename | No | diagram |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |