import_sql
Replace an existing ERD by parsing SQL from multiple dialects, preserving the project id. Rejects sources with no tables.
Instructions
Fully replaces an existing ERD with the SQL parse result (project id preserved). Rejected as invalid_source when no tables are found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| source | Yes | Target ERD — exactly one of a local file ({file}) or a server ERD ({erdId}) | |
| dialect | No | Defaults to mysql |