Describe MySQL Table Schema
mysql_describe_tableInspect a MySQL table's column structure and retrieve its CREATE TABLE statement by specifying the table, optional database, and connection profile.
Instructions
查看指定数据表的字段结构(DESCRIBE)与建表语句(SHOW CREATE TABLE)。
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": {
"table": "<table>"
},
"name": "mysql_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 数据表名 | |
| profile | No | 连接配置档案名 | |
| database | No | 数据库名 |