Describe table
describe_tableGet details about a table's columns, including name, data type, nullability, default, and vector dimension (for pgvector). Specify schema and table name.
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 |