clone_guest
Create an independent or linked copy of a VM or container with a new ID and name, optionally targeting specific storage.
Instructions
Clone a VM or container into a new guest.
Args: vmid: Source guest to clone. new_vmid: ID for the clone. Must not already exist. name: Name or hostname for the clone. full: Full independent copy. False makes a linked clone, which only works from a template and stays dependent on it. storage: Target storage for a full clone. Defaults to the source's.
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>",
"new_vmid": "<new_vmid>"
},
"name": "clone_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| name | No | ||
| vmid | Yes | ||
| storage | No | ||
| new_vmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||