Get schema DDL
get_ddlGet a project's schema as CREATE TABLE statements. Accepts a project id or name and an optional SQL dialect (postgresql, mysql, sqlite, mssql).
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": {
"project": "<project>"
},
"name": "get_ddl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dialect | No | SQL dialect for the DDL (default: the project's database type) | |
| project | Yes | Project id (UUID) or project name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | Yes | ||
| dialect | Yes |