Get index mappings
get_mappingsRetrieve field mappings for an Elasticsearch index as dotted paths with types, including nested fields. Provide a concrete index name; aliases or wildcards yield no output.
Instructions
List the fields of one index as dotted paths with their types, nested fields included, then the raw mapping. Give a concrete index name: an alias or a wildcard returns nothing.
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 | Index name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| index | Yes | ||
| total | Yes | ||
| fields | Yes | ||
| omitted | Yes | ||
| returned | Yes |