import_dbml
Replace an existing ERD with DBML content. Preserves project ID, sets dialect to MySQL, and rejects imports with no tables.
Instructions
Fully replaces an existing ERD with the DBML parse result (project id preserved, dialect fixed to mysql). Rejected as invalid_source when no tables are found.
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>",
"dbml": "<dbml>"
},
"name": "import_dbml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dbml | Yes | ||
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) |