create_snapshot
Create a backup snapshot of Elasticsearch indices with configurable repository, index selection, and global state inclusion.
Instructions
Create a snapshot (backup) of Elasticsearch indices with comprehensive options and repository management
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": {
"snapshot_name": "<snapshot_name>"
},
"name": "create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_name | Yes | Name for the snapshot (must be unique) | |
| repository | No | Repository name to store the snapshot | backup_repository |
| indices | No | Comma-separated list of indices to backup (default: all indices) | |
| ignore_unavailable | No | Whether to ignore unavailable indices | |
| include_global_state | No | Whether to include cluster global state | |
| wait_for_completion | No | Whether to wait for snapshot completion | |
| description | No | Optional description for the snapshot |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |