list_log_indices
Retrieve available indices from an Elasticsearch or OpenSearch datasource so you can identify and query log data using the required datasource ID.
Instructions
List indices for an Elasticsearch (default) or OpenSearch datasource. Body must include datasource_id.
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": {
"body": "<body>"
},
"name": "list_log_indices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Body (must include datasource_id) | |
| engine | No | 'es' (default) or 'os' for OpenSearch |