generate_erd
Create a Mermaid-format Entity Relationship Diagram from a database schema, optionally limited to specific tables, for rendering in Mermaid viewers.
Instructions
Generate an Entity Relationship Diagram (ERD) in Mermaid format from the database schema. The output can be rendered in any Mermaid-compatible viewer. Optionally filter to specific tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Specific table names to include (omit for all tables) | |
| connection | No | Connection alias (default: 'default') |