create_diagram
Generate any diagram type—flowchart, sequence, mind map, ER, class, and more—from structured data. Specify diagram type and data to create a hand-drawn Excalidraw diagram file.
Instructions
Create any type of diagram with a single unified tool.
This is a convenience tool that routes to the specific diagram tool based on the diagram_type parameter. Use list_diagram_types to see all available types.
Args: diagram_type: Type of diagram (flowchart, sequence, mindmap, er, class, state, timeline, pie, kanban, network, quadrant, journey, wireframe, org, swot, architecture) data: Diagram-specific data (varies by type) title: Optional diagram title output_path: Optional output file path theme: Color theme - "light" or "dark"
Returns: Path to generated file or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| theme | No | light | |
| title | No | ||
| output_path | No | ||
| diagram_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |