describe_table
Describe a table's columns, types, nullability, primary keys, and foreign-key relationships. Use after listing tables to understand the schema before writing SQL.
Instructions
Describe the structure of one table: columns with name, type, nullable and primary_key flags, plus foreign-key relationships such as 'orders.customer_id -> customers.id'. Use this after list_tables to understand the schema before writing SQL. Pass a table name that was returned by list_tables; unknown names produce a clear error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes |