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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>",
"table": "<table>"
},
"name": "mysql_legacy_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | MySQL table or view name, 1–64 characters. | |
| database | Yes | MySQL database name, 1–64 characters. |