DrawSQL
v1.3.0Turn SQL into an editable ER diagram link.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
visualize_schema Visualize schema
Create an interactive, editable DrawSQL entity-relationship diagram from a database schema. Return a shareable drawsql.app/draw link.
| Parameter | Type | Description |
|---|---|---|
ddl | string | SQL CREATE TABLE and ALTER TABLE statements. Provide either this field or `schema`, but not both. |
driver | string | Database dialect, one of: mysql, pgsql, sqlsrv. Defaults to mysql. |
schema | string | A DrawSQL schema patch encoded as a JSON string. Top-level keys: tables, relationships, groups, sticky_notes. Example: {"tables":[{"name":"users","columns":[{"name":"id","type":"bigint"}]},{"name":"po… |