get_histogram
Retrieve optimizer histogram endpoints for a table column to assess data skew and cardinality estimates.
Instructions
Return the optimizer histogram endpoints for a column (frequency or height-balanced). Useful to understand data skew and cardinality estimates.
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>",
"column": "<column>"
},
"name": "get_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| column | Yes | Column name. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. |