get_relationships
Extract all entity relationships with cardinality from Mermaid ER diagrams. Filter by entity to view its connections, clarifying the data model for schema and API generation.
Instructions
Get all relationships between entities in the ER diagram with cardinality information.
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_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | No | The Mermaid ER diagram text. If not provided, will use configured diagram source. | |
| entityName | No | Filter relationships by entity name (shows all relationships involving this entity). |