list_indices
Retrieve a list of indices in an Elasticsearch cluster, showing health, status, doc count, and size. Filter by pattern and include hidden indices.
Instructions
List all indices in the cluster.
Args: pattern: Index pattern to filter (supports wildcards like "logs-*"). include_hidden: Include hidden indices starting with "." (default: False).
Returns: List of indices with health, status, doc count, and size.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_indices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | * | |
| include_hidden | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||