describe_table
Get column names, types, nullability, defaults, and primary keys for a PostgreSQL table. Use it to understand a table's structure before writing queries.
Instructions
Describe a table's columns (name, type, nullable, default, primary key) in a schema (default: public). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Which configured database environment to use. Only "default" is configured, so this can be omitted. | |
| table | Yes | Table name | |
| schema | No | Schema name, defaults to "public" |