get_index_stats
Retrieve index statistics including document counts, store size, indexing, and search metrics to monitor Elasticsearch index health and performance.
Instructions
Get statistics for an index.
Args: index: Name of the index.
Returns: Document counts, store size, indexing and search statistics.
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": {
"index": "<index>"
},
"name": "get_index_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||