clone_container
Clone an existing LXC container or template to a new ID, with options for full copy, target node, and storage.
Instructions
Clone an existing LXC container or template.
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": {
"node": "<node>",
"vmid": "<vmid>",
"newid": "<newid>"
},
"name": "clone_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| name | No | ||
| node | Yes | ||
| vmid | Yes | ||
| newid | Yes | ||
| target | No | ||
| storage | No | ||
| hostname | No | ||
| snapname | No |