describe_table
Retrieve a table's schema: column names, data types, nullability, default values, and primary key designation.
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": {
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名 | |
| schema | No | 架构名,默认 dbo | |
| database | No | 目标数据库名,默认当前连接数据库 |