mysql_legacy_describe_table
List columns for a MySQL table with type, nullability, keys, comments, and collation. Use to inspect per-column metadata for legacy databases.
Instructions
Lists columns for database.table via SHOW FULL COLUMNS, including type, nullability, keys, comments, and collation. Use this for per-column metadata. For the full CREATE TABLE text and default charset use mysql_legacy_show_create_table. For index column order use mysql_legacy_list_indexes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | MySQL table or view name, 1–64 characters. | |
| database | Yes | MySQL database name, 1–64 characters. |