get_db_schema
Obtain a condensed snapshot of your SQL migration schema: tables with columns, types, keys, indexes, and RLS policies for database structure analysis.
Instructions
Condensed SQL-migration snapshot: tables (cols, types, nullability, defaults), PKs, FKs, indexes, RLS policies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Optional filter: only return these table names. | |
| dialect | No | SQL dialect -- currently only 'postgres' is implemented. | |
| project | No | Project name/path (default: active). | |
| migrations_dir | No | Relative or absolute path to the migrations directory (default: auto-detect). |