export_sql
Export a physical ERD model to CREATE TABLE SQL, using a specified dialect or falling back to the project default.
Instructions
Exports the physical model as CREATE TABLE SQL. Without dialect, uses the project dialect.
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": {
"source": "<source>"
},
"name": "export_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) | |
| dialect | No | SQL dialect |