proxmox_create_container
Create a new LXC container on a Proxmox node with sensible defaults and optional CPU, memory, storage, network, and startup settings; confirm:true is required to write.
Instructions
Create a new LXC container on a node (POST /nodes/{node}/lxc) with sensible defaults (storage local-lvm, 512MiB, 1 core, 8GB rootfs, DHCP net). Tier-2 write; requires confirm: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": {
"vmid": "<vmid>",
"hostname": "<hostname>",
"ostemplate": "<ostemplate>",
"confirm": "<confirm>"
},
"name": "proxmox_create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No | Network config for net0 (default 'name=eth0,bridge=vmbr0,ip=dhcp'). | |
| node | No | Node to create on (defaults to first node). | |
| pool | No | Optional resource pool ID to place the container into. | |
| tags | No | Optional semicolon-delimited Proxmox tags. | |
| vmid | Yes | VMID for the new container. | |
| wait | No | Block until the task finishes and include its exit status in the result. | |
| cores | No | CPU cores (default 1). | |
| start | No | Start after create (default false). | |
| memory | No | Memory in MiB (default 512). | |
| onboot | No | Start container on host boot (default false). | |
| confirm | Yes | Must be true to write. Tier-2 safe-write gate. | |
| storage | No | Root storage (default 'local-lvm'). | |
| features | No | Optional LXC features string, e.g. 'nesting=1'. | |
| hostname | Yes | Container hostname. | |
| password | No | Root password (optional). | |
| ostemplate | Yes | OS template volid (e.g. 'local:vztmpl/ubuntu-24.04-standard_*.tar.zst'). | |
| protection | No | Enable Proxmox protection flag (default false). | |
| description | No | Optional container description. | |
| rootfs_size | No | Root filesystem size in GB (default '8'). | |
| unprivileged | No | Create an unprivileged container (default true). | |
| wait_timeout | No | Max seconds to wait when wait:true (default 120). | |
| ssh_public_keys | No | SSH public keys (optional). |