create_er_diagram
Generate database-style ER diagrams with entities, attributes, and relationship cardinality. Converts structured entity and relationship data into a downloadable .excalidraw file.
Instructions
Create an Entity-Relationship (ER) diagram.
Generates a database-style ER diagram with entity boxes showing attributes and relationship arrows with cardinality labels.
Args: entities: List of entities with name and attributes relationships: List of relationships between entities title: Optional diagram title output_path: Optional output file path
Returns: Absolute path to the generated .excalidraw file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | ||
| entities | Yes | ||
| output_path | No | ||
| relationships | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |