Describe Table
describe_tableInspect a table's schema by providing database and table names, returning column definitions, indexes, and the CREATE TABLE statement.
Instructions
获取表的详细结构信息,包括列定义、索引、建表语句
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": {
"database": "<database>",
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名称 | |
| database | Yes | 数据库名称 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |