create_index
Create a new index in Elasticsearch or OpenSearch clusters to organize and store documents for search operations.
Instructions
Create a new index.
Args:
index: Name of the index
body: Optional index configuration including mappings and settings
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": "create_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| body | No |