Get index mappings
es_get_mappingsRetrieve field mappings for an index or index pattern before writing queries, ensuring correct field names and types. Falls back to _field_caps when direct mapping access is unavailable.
Instructions
Return the field mappings for an index or index pattern. Read this before writing a query so field names and types are correct. Falls back to _field_caps when the credential may not read _mapping directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index or pattern, e.g. "logs-nlp-2026.08" |