proxmox_update_container_config
Edit an existing Proxmox LXC container's config to change CPU cores, memory, swap, hostname, DNS, tags, or other keys, with optional key removal; writes require confirm:true.
Instructions
Edit an existing LXC container's config (PUT /nodes/{node}/lxc/{vmid}/config): cores, memory, swap, hostname, nameserver, description, onboot, tags, plus arbitrary keys via set and key removal via unset. 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>",
"confirm": "<confirm>"
},
"name": "proxmox_update_container_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Arbitrary PVE config keys to set, e.g. {"net0":"virtio,bridge=vmbr0","bios":"ovmf"}. Escape hatch for keys not exposed as typed fields. | |
| swap | No | Swap in MiB. | |
| tags | No | Semicolon-delimited Proxmox tags. | |
| vmid | Yes | LXC container ID to reconfigure. | |
| cores | No | CPU cores. | |
| unset | No | Config keys to unset/revert to default, e.g. ["tags","description"]. | |
| digest | No | SHA1 config digest for optimistic concurrency; edit is rejected if config changed. | |
| memory | No | RAM in MiB. | |
| onboot | No | Start on host boot. | |
| confirm | Yes | Must be true to write. Tier-2 safe-write gate. | |
| cpulimit | No | CPU limit (0 = unlimited). | |
| cpuunits | No | CPU weight / shares. | |
| hostname | No | Container hostname. | |
| nameserver | No | DNS server IP(s), space-separated. | |
| protection | No | Protection flag (blocks destroy/disk-remove). | |
| description | No | Free-form description / notes. |