describe_table
Inspect a table's full schema: column names, types, nullability, comments, keys, indexes, and estimated row count before writing SQL.
Instructions
查看一张表的完整结构:所有列的名字、类型、是否可空、以及列注释;外加主键、外键、索引和估算行数。写 SQL 之前必须先调这个确认列名。
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名,大小写敏感,例如 final_HH_CSES | |
| schema | Yes | schema 名,例如 cses_data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||