validate_diagram
Check Mermaid ER diagrams for syntax errors and structural issues before generating PostgreSQL tables and CRUD APIs. Catch invalid definitions early to ensure reliable API generation.
Instructions
Validate a Mermaid ER diagram for syntax errors and structural issues.
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": {
"diagram": "<diagram>"
},
"name": "validate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | Yes | The Mermaid ER diagram text to validate. |