Generate Schema from Models
models_to_schemaConvert parsed schema models into normalized schema proposals with proposed DDL, pass-through verdicts, and a verification list of medium/low-confidence fields.
Instructions
Convert parsed schema models into normalized schema proposals: proposed DDL, pass-through verdicts, and a verification list of medium/low-confidence fields.
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": "models_to_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File inside an allowed root containing extract_data_models JSON output | |
| entities | No | Parsed schema model entities array (extract_data_models output), inline | |
| source_type | No | Source type: mongoose, prisma, sequelize, sql or json (auto-detected from path) | |
| functional_dependencies | No | Optional declared functional dependencies, one per line: table: A,B -> C,D |