set_container_config
Modify settings for a Proxmox LXC container such as CPU cores, memory, swap, and hostname.
Instructions
Modifie la configuration d'un conteneur LXC (CPU, RAM, swap, hostname, 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>"
},
"name": "set_container_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Nom du noeud Proxmox | |
| swap | No | Swap en MB | |
| vmid | Yes | ID du conteneur | |
| cores | No | Nombre de coeurs CPU | |
| memory | No | RAM en MB | |
| onboot | No | Demarrer au boot du noeud | |
| cpulimit | No | Limite CPU (0 = illimite) | |
| cpuunits | No | Poids CPU relatif (1024 = defaut) | |
| hostname | No | Nom d'hote du conteneur | |
| description | No | Description |