vm_clone
Clone a Proxmox VM to a new VM ID, optionally name it, and preview with dry-run before cloning. Poll task status to track completion.
Instructions
[WRITE] Clone a VM to a new vmid. Returns the task UPID. Inverse: vm_delete(newid).
Cloning is asynchronous — poll completion with task_status, do not re-issue. Pass dry_run=True to preview.
Args: vmid: Source VM id to clone from. newid: New (unused) VM id for the clone. name: Optional name for the clone. dry_run: If True, preview without cloning. target: Proxmox target name from config. node: Node name; omit to auto-locate the source VM.
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>",
"newid": "<newid>"
},
"name": "vm_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| node | No | ||
| vmid | Yes | ||
| newid | Yes | ||
| target | No | ||
| dry_run | No |