get_schema_erd
Generates a Mermaid.js ER diagram of MySQL tables and foreign-key relationships for database visualization and schema documentation.
Instructions
📈 Generates a visual Mermaid.js ER diagram showing tables and their relationships. Perfect for visualizing database structure and foreign key connections. Use when users ask to 'visualize' or 'diagram' the database.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_schema_erd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name |