get_mapping
Retrieve field names, data types, and searchable/aggregatable flags for any Kibana index pattern, enabling schema inspection before querying Elasticsearch logs.
Instructions
Get field names and types for an index pattern via Kibana. Shows field names, types, and whether they are searchable/aggregatable.
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": {
"index": "<index>"
},
"name": "get_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index pattern, e.g., "logs-my-service*" or "filebeat-*" |