pve_create_snapshot
Create a snapshot of a Proxmox VM or LXC container to preserve its state before changes, with optional RAM state capture for QEMU VMs.
Instructions
Take a snapshot of a VM or LXC container.
Args: vmid: Target VM or Container ID. snapname: Name for the snapshot (alphanumeric and dashes/underscores, e.g. 'pre-upgrade-v1'). description: Informative description or changelog for the snapshot. vmstate: For QEMU VMs only. If True, saves running RAM state (live snapshot). node: Optional node name.
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": {
"vmid": "<vmid>",
"snapname": "<snapname>"
},
"name": "pve_create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| vmstate | No | ||
| snapname | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |