🖼️ Creating graph diagram…
get_mermaidGenerate an entity relationship diagram in Mermaid markup for visualizing table structures and relationships. Optionally hide non-essential columns to reduce clutter.
Instructions
Return the graph as a Mermaid entity relationship diagram.
Important: The returned Mermaid markup can be used to input into an artifact to render it visually on the client side.
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_mermaid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show_columns | No | Controls whether all columns of a table are shown. If `False`, only the primary key, foreign keys and time column are displayed. Setting this to `False` is recommended for feature-rich tables to avoid cluttering the diagram with less relevant details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |