get_table_info
Retrieve detailed table structure, including column definitions, indexes, and estimated row counts, to understand a database table's schema and plan queries.
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": {
"tableName": "<tableName>"
},
"name": "get_table_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | 表名。支持 schema.table_name 格式指定 Schema(如 analytics.users)。不指定 Schema 时查询默认 Schema。 | |
| forceRefresh | No | 是否强制刷新缓存(可选,默认 false) |