create_container
Create an LXC container on a Proxmox node, returning a UPID. Optionally wait for task completion to receive final status.
Instructions
Create an LXC container; returns a UPID, or final task status when wait=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": {
"node": "<node>",
"vmid": "<vmid>",
"ostemplate": "<ostemplate>",
"storage": "<storage>",
"extra": "<extra>"
},
"name": "create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net0 | No | name=eth0,bridge=vmbr0,ip=dhcp | |
| node | Yes | ||
| vmid | Yes | ||
| wait | No | ||
| cores | No | ||
| extra | Yes | ||
| memory | No | ||
| rootfs | No | ||
| storage | Yes | ||
| hostname | No | ||
| ostemplate | Yes | ||
| wait_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |