get_column_stats
Retrieve optimizer statistics for table columns, including NDV, density, null count, bucket count, low/high value, and histogram type. Filter results by optional column or schema.
Instructions
Return optimizer statistics for columns of a table: number of distinct values (NDV), density, null count, bucket count, low/high value, histogram type. Optional column filter.
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": "get_column_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| column | No | Optional column name filter. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. |