Update container config
update_container_configModify LXC container settings like CPU cores, memory, and network directly. Pass node, VMID, and a config object with the keys to update.
Instructions
Patch one or more LXC container configuration keys (cores, memory, net0, features, etc.).
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>",
"config": "<config>"
},
"name": "update_container_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| config | Yes | Config keys to update, e.g. {"cores":2,"memory":1024} |