Update container CPU/memory/swap
update_container_resourcesResize a container's CPU cores, memory, swap, and disk size in a single call.
Instructions
Convenience wrapper around update_container_config that resizes CPU, memory, swap, and disk in one call.
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": "update_container_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| swap | No | Swap in MiB | |
| vmid | Yes | ||
| cores | No | ||
| memory | No | Memory in MiB | |
| disk_size_gb | No | New rootfs size in GB |