describe_table
Inspect a PostgreSQL table's columns, types, defaults, keys, references, and indexes to understand its schema before querying or changing data.
Instructions
Columns with types, NOT NULL, defaults and comments; keys, referencing tables, indexes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | "orders" or "sales.orders". | |
| schema | No | Schema to look in; omit for every readable schema. |