export_laravel_migrations
Generate Laravel migration files from a saved diagram or DBML source, with one migration per table and a separate foreign-key migration.
Instructions
Generate Laravel migration files (one per table, plus a foreign-keys migration) for a diagram.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_laravel_migrations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram_id | No | A saved diagram to export (its UUID). | |
| dbml_source | No | Or export unsaved DBML text directly instead of a saved diagram. |