create_container
Provision LXC containers on Proxmox VE with configurable CPU, memory, disk, network, and startup options.
Instructions
Create a new LXC container. Default unprivileged=True.
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>",
"ostemplate": "<ostemplate>"
},
"name": "create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| net0 | No | name=eth0,bridge=vmbr0,ip=dhcp | |
| node | Yes | ||
| swap | No | ||
| tags | No | ||
| vmid | No | ||
| cores | No | ||
| start | No | ||
| memory | No | ||
| rootfs | No | ||
| storage | No | local-lvm | |
| hostname | No | ||
| password | No | ||
| disk_size | No | 8G | |
| nameserver | No | ||
| ostemplate | Yes | ||
| protection | No | ||
| description | No | ||
| searchdomain | No | ||
| unprivileged | No | ||
| ssh_public_keys | No |