schemaGraphDot
schemaGraphDotExports a database schema or selected tables as DOT/Graphviz ERD text with columns, types, PK/FK markers, and join edges for creating visual diagrams.
Instructions
Export a schema or selected tables as DOT/Graphviz ERD text with columns, types, PK/FK markers and join edges. Use schemaGraph for graph metrics rather than renderable diagram source.
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": {
"connection": "<connection>"
},
"name": "schemaGraphDot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| tables | No | Tables to include (CSV); omit for all. | |
| connection | Yes | Database to run against. Call listConnections for valid names; do not guess. |