describe_table
Retrieve detailed structure of a MySQL table, including column comments, indexes, and foreign keys. Describe any table by providing its name.
Instructions
查询指定表的详细结构,包含字段注释、索引、外键等信息
Args:
table_name: 要查询结构的表名
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_name": "<table_name>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |