Get Table Indexes
get_table_indexesRetrieve index details for tables or collections, including sorting keys and skipping indices for ClickHouse, to analyze query performance.
Instructions
Show indexes on a table or MongoDB collection, or the sorting key and skipping indices of a ClickHouse table
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_table_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or collection name | |
| database | No | Optional database to read from for this call only, without changing the active connection |