create_proxmox_lxc
Create new LXC containers on Proxmox nodes with customizable CPU, memory, swap, storage, and OS templates, plus SSH keys and start options.
Instructions
Create a new LXC container on Proxmox
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>",
"hostname": "<hostname>"
},
"name": "create_proxmox_lxc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Proxmox host (optional) | |
| node | Yes | Node name | |
| swap | No | Swap size in MB | |
| vmid | Yes | Container ID (must be unique) | |
| cores | No | Number of CPU cores | |
| start | No | Start container after creation | |
| memory | No | RAM in MB | |
| storage | No | Storage for rootfs | local-lvm |
| hostname | Yes | Container hostname | |
| password | No | Root password | |
| ostemplate | No | Template (e.g., 'local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst') | local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst |
| rootfs_size | No | Root filesystem size in GB | |
| unprivileged | No | Create as unprivileged container (default: true, recommended for security) | |
| ssh_public_keys | No | SSH public keys to add to the container (one per line) |