describe_table
Display a table's schema including column names, types, constraints, and comments. Check structure before writing queries to avoid errors.
Instructions
Show the schema/structure of a table, including column names, types, constraints, and comments. Use this before writing queries to ensure correct column names and types. For inspecting all tables at once, use describe_all_tables instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe. | |
| database | No | Database name. Uses the current database if omitted. |