Table stats
table_statsRetrieve part count, row count, on-disk size, and time range for a ClickHouse table from system.parts using its database and table name.
Instructions
Part count, row count, on-disk size, and time range from system.parts.
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": "table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| database | Yes | Database name |