es_get_mapping
Retrieve an Elasticsearch index mapping as a compact field:type list to reduce token usage; set raw=true to return the original nested JSON.
Instructions
Return an index mapping as a flat field:type list (compact, token-cheap). Pass raw=true for the nested ES JSON.
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": {
"connection": "<connection>",
"index": "<index>"
},
"name": "es_get_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| index | Yes | ||
| connection | Yes |