List indices
list_indicesRetrieve a compact list of Elasticsearch indices with health, status, document count, and size. Use a wildcard pattern to filter specific indices; large outputs are trimmed to remain readable.
Instructions
List indices, one compact line each: name, health, status, document count and size in bytes. Large results are trimmed and say so.
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 | Elasticsearch wildcard, e.g. `logs-*`. Not a regex. Defaults to `*`. | |
| verbose | No | Also repeat the rows as JSON text, for a client that does not read structured output. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| indices | Yes | ||
| omitted | Yes | ||
| pattern | Yes | ||
| returned | Yes |