List indices
es_list_indicesList Elasticsearch indices matching a pattern to locate the index holding your data. Automatically uses the proper API based on your cluster privileges.
Instructions
List Elasticsearch indices matching a pattern. Uses _cat/indices when the credential has the "monitor" cluster privilege, and falls back to _resolve/index (index-level privileges only) when it does not. Start here when you do not know which index holds the data; if both routes are forbidden, use kbn_list_data_views.
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": "es_list_indices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Index pattern, e.g. "*" or "logs-nlp-*" | * |