update_resources_container
Adjust CPU cores, memory, or swap of an LXC container to modify its resource allocation.
Instructions
Update CPU cores, memory, or swap resources of an LXC container.
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_resources_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| swap | No | ||
| vmid | Yes | ||
| cores | No | ||
| memory | No | ||
| cpulimit | No | ||
| cpuweight | No |