Get Table Stats
get_table_statsRetrieve table statistics including row count, data size, index size, and column cardinality for a specified database and table.
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": "get_table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名称 | |
| database | Yes | 数据库名称 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |