restore_snapshot
Restore indices from a snapshot. Existing indices must be closed or renamed to avoid conflicts; requires confirmation and write access.
Instructions
Restore indices from a snapshot. DESTRUCTIVE: an index that already exists must be closed or renamed via rename_pattern/rename_replacement, otherwise the restore fails. Requires writes enabled, ES_MCP_ALLOW_DESTRUCTIVE=true, and confirm=true.
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": {
"repository": "<repository>",
"snapshot": "<snapshot>",
"indices": "<indices>"
},
"name": "restore_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| indices | Yes | ||
| snapshot | Yes | ||
| repository | Yes | ||
| rename_pattern | No | ||
| include_aliases | No | ||
| rename_replacement | No | ||
| wait_for_completion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |