Describe table
describe_tableDescribe the columns of a PostgreSQL table, returning name, data type, nullable, default, and vector dimension for each column in ordinal order.
Instructions
Describe the columns of a table, in ordinal order. Returns a list of objects with name, data_type, nullable, default, and vector_dimension (set only for pgvector vector(N) columns).
Example: describe_table(schema='public', table='users')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | Yes | ||
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |