create_index
Generate a new index in Elasticsearch clusters by specifying index name and optional configurations such as mappings and settings using this tool.
Instructions
Create a new index.
Args:
index: Name of the index
body: Optional index configuration including mappings and settings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | ||
index | Yes |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"index": {
"title": "Index",
"type": "string"
}
},
"required": [
"index"
],
"type": "object"
}