pve_create_guest
Create a Proxmox VE virtual machine or LXC container on a node, with optional start, dry run, and auto-assigned VM ID, using PVE-compatible parameters.
Instructions
Create a VM (type="qemu") or container (type="lxc") on a node. params follow the PVE create API, e.g. VM: {"name": "web", "memory": 2048, "cores": 2, "scsi0": "local-lvm:32", "net0": "virtio,bridge=vmbr0", "ostype": "l26", "scsihw": "virtio-scsi-single"}; CT: {"ostemplate": "local:vztmpl/debian-13...tar.zst", "hostname": "ct1", "rootfs": "local-lvm:8", "net0": "name=eth0,bridge=vmbr0,ip=dhcp"}. Use pve_api_describe("/nodes/{node}/qemu", "POST") for every option. vmid defaults to the next free id.
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>",
"type": "<type>",
"params": "<params>"
},
"name": "pve_create_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| type | Yes | ||
| vmid | No | ||
| start | No | ||
| params | Yes | ||
| dry_run | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||