Update VM config
update_vm_configPatch VM configuration keys like cores, memory, and disk size using a safe allowlist. Apply changes to running VMs when supported, with user confirmation required for high-risk modifications.
Instructions
Patch one or more VM configuration keys (cores, memory, scsi0 size, net0, ostype, etc.). Use current=true to update a running VM where supported. Only a safe allowlist of keys is accepted — keys that can attach host PCI/USB devices, override SMBIOS, or change the QEMU machine type are rejected. HIGH RISK — ask the user to confirm before invoking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| config | Yes | Config keys to update, e.g. {"cores":4,"memory":4096} | |
| confirm | No | Set to true once the user has approved this action | |
| current | No | Apply to running VM where supported |