export_dbml
Export an ERD as DBML text to document or share your database schema. Provide a local .erd.json file or server ERD ID.
Instructions
Exports the project as DBML text.
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_dbml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) |