mysql_describe_table
Retrieve a MySQL table's structure, including column names, data types, and nullability, to verify schema before querying or modifying data.
Instructions
查看指定表的结构(列名、类型、是否可空等)。可用环境: default(默认: default)。结果行数上限: default ≤ 1000 行,超出会被截断并在返回中标记 truncated;请用 WHERE/LIMIT 收窄范围或先执行 COUNT(*) 取总数
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 | 表名,支持 库名.表名 形式(多库实例无默认库时使用) | |
| environment | No | 目标环境名。可用环境: default(默认: default)。未传时使用默认环境 |