generate_sql
Generate SQL DDL from Mermaid ER diagrams to review table definitions before applying them to a database.
Instructions
Generate SQL DDL statements from the ER diagram without executing them. Useful for reviewing the SQL before creating tables.
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": "generate_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | No | Mermaid ER diagram text. Uses configured source if not provided. |