describe_table
Get complete table schema with column names, types, constraints, and indexes, so AI understands the database structure before generating queries.
Instructions
Show full column definitions, types, constraints, and indexes for a table.
Includes: column names, data types, nullable, primary key, unique, foreign keys. The editor AI reads this to understand the exact schema before generating queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Database alias. | |
| table_name | Yes | Table to describe (exact name, case-sensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |