get_mappings
Retrieve field mappings for a specified Elasticsearch index to understand its structure and data organization within the Elasticsearch MCP Server.
Instructions
Get field mappings for a specific Elasticsearch index
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_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Name of the Elasticsearch index to get mappings for |