update_vm
Update configuration of an existing VM — CPU cores, memory, name, description, auto-start policy. Requires confirmation to apply changes; preview returned otherwise.
Instructions
DESTRUCTIVE: Update virtual machine settings.
The VM should be stopped before changing CPU or memory. Only non-empty/non-zero fields are applied — omit fields you don't want to change.
Args: vm_id: The VM identifier name: New VM name (leave empty to keep current) cores: Number of vCPU cores (0 to keep current) memory_mb: Memory in MB (0 to keep current) description: New description (leave empty to keep current) auto_start: Auto-start policy: 'on', 'off', or 'last' (leave empty to keep current) auto_start_delay: Auto-start delay in seconds (-1 to keep current) confirm: Must be true to execute. Returns a preview otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| cores | No | ||
| vm_id | Yes | ||
| confirm | No | ||
| memory_mb | No | ||
| auto_start | No | ||
| description | No | ||
| auto_start_delay | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |