Create VM Snapshot
vm_snapshot_createCreate an external disk snapshot of an Unraid VM over SSH, adding overlay files to the VM storage chain for point-in-time recovery. Confirm and acknowledge chain risk before use.
Instructions
⚠ Creates an EXTERNAL disk snapshot of a VM via virsh snapshot-create-as --atomic --disk-only over SSH — the same external-snapshot flow Unraid 7 uses (internal snapshots fail on raw disks and OVMF VMs). Adds overlay files to the VM's storage chain. Requires confirm: true AND acknowledge_risk: true. Revert/delete are deliberately not offered (chain-corruption risk); use the Unraid VM UI for those. Requires SSH (UNRAID_SSH_*) and the VM service enabled; check the result with vm_snapshot_list.
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": {
"vm": "<vm>",
"name": "<name>"
},
"name": "vm_snapshot_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | VM name, passed to `virsh` as the libvirt domain. | |
| name | Yes | Name for the new snapshot; letters, digits, `.`, `_` and `-` only. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| acknowledge_risk | No | Set `true` only after the user accepts that overlay files stay in the VM's disk chain until merged in the Unraid UI; needed on every call. |