Generate Database from DDL
generate_databaseExecutes normalized DDL against a supplied JDBC URL to create the schema and tables, refusing existing-table collisions unless confirm=true.
Instructions
Execute proposed normalized DDL against a user-supplied JDBC URL to create the schema (creates only; refuses existing-table collision unless confirm=true).
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": {
"jdbc_url": "<jdbc_url>",
"ddl": "<ddl>"
},
"name": "generate_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | Yes | Proposed DDL to execute (one or more statements), alternative to path | |
| url | No | Alias for jdbc_url | |
| path | No | File inside an allowed root containing DDL (alternative to ddl) | |
| confirm | No | Explicit consent to create tables when a target table already exists (default false) | |
| jdbc_url | Yes | JDBC URL of the target database (required) |