list_log_fields
List fields for an Elasticsearch (default) or OpenSearch index to inspect log schema and build accurate queries; provide a datasource ID and index name.
Instructions
List fields for an Elasticsearch (default) or OpenSearch index. Body must include datasource_id and the index name.
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_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| engine | No | 'es' (default) or 'os' for OpenSearch |