er_graph
Generates entity-relationship graph data for a MySQL database, returning tables as nodes with primary keys and foreign key relationships as edges.
Instructions
生成当前库的 ER 关系图数据(节点=表,边=外键关系)。 返回 nodes(表,含主键列)和 edges(外键关系)。
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": "er_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No |