Describe Table
kb_describe_tableRetrieve the full structure of a database table or view, including columns, data types, constraints, and comments, with optional schema specification.
Instructions
Get detailed structure of a table or view, including columns, types, constraints, and comments.
Args:
table (string): Table or view name
schema (string, optional): Schema name, defaults to DB_SCHEMA env or 'public'
Returns: Table structure with column names, data types, nullable, defaults, and comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name to describe | |
| schema | No | Schema name (default: from DB_SCHEMA env or 'public') |