put_alias
Create or update an alias for an Elasticsearch/OpenSearch index to simplify index management and reference multiple indices with a single name.
Instructions
Create or update an alias for a specific index.
Args:
index: Name of the index
name: Name of the alias
body: Alias configuration
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": "<name>",
"body": "<body>"
},
"name": "put_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| name | Yes | ||
| body | Yes |