alias_set
Point an alias at a collection to enable zero-downtime blue/green re-indexing, allowing republishing freshly built collections without interrupting clients.
Instructions
Points an alias at a collection, enabling zero-downtime blue/green re-indexing — clients keep querying the alias while the underlying collection is swapped out. Use this when republishing a freshly re-indexed collection without downtime.
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": {
"alias": "<alias>",
"collection": "<collection>"
},
"name": "alias_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| updated | Yes | ||
| collection | Yes |