describe_table
Retrieve a table's schema, including columns, data types, and keys, to understand its structure before writing queries or exploring a MySQL database.
Instructions
Get the schema (columns, types, keys) of a specific table.
Args: table_name: Name of the table to describe.
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 |