mysql_describe_table
Retrieve the structure of a MySQL table, including columns, data types, and constraints, by specifying the table and optional database name via the MySQL MCP Server.
Instructions
查看表结构
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | 数据库名称(可选) | |
tableName | Yes | 表名称 |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"description": "数据库名称(可选)",
"type": "string"
},
"tableName": {
"description": "表名称",
"type": "string"
}
},
"required": [
"tableName"
],
"type": "object"
}