generate_er_diagram
Generate a relational database ER schema diagram with tables, primary and foreign keys, types, and cardinalities, saving the Draw.io output to a specified path.
Instructions
Generate a relational database ER schema diagram with tables, primary/foreign keys, types, and cardinalities.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"output_path": "<output_path>",
"spec": "<spec>"
},
"name": "generate_er_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |