Convert container to template
convert_container_to_templateConvert an LXC container into a reusable template. The original container becomes read-only, requiring user confirmation due to high risk.
Instructions
Convert an LXC container into a template. HIGH RISK — original becomes read-only. Ask the user to confirm before invoking.
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>"
},
"name": "convert_container_to_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| confirm | No | Set to true once the user has approved this action |