Describe one table
describe_tableGet a table's full schema: column types, NOT NULL and primary-key flags, foreign keys, and sample rows—so you can write accurate SQL.
Instructions
Show the full schema of one table: columns with types, NOT NULL and primary-key flags, foreign keys, plus up to 3 sample rows so the data format is visible.
Use after list_tables to learn exact column names and types before writing SQL for the query tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Exact table name as returned by list_tables, e.g. 'orders'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||