esxi_create_vm
Create an empty VMware VM on an ESXi host by specifying name, CPU, memory, disk, datastore, and network. Does not install an OS or clone existing VMs.
Instructions
创建 VM(明确名称/CPU/内存/磁盘/datastore/network/guest_id,使用正确 resourcePool)。
新建 VM 的 name 就是目标本身,无需额外 expected_name。datastore 和 network 必须 从查询结果中明确指定。创建空 VM,不安装操作系统;不包含 clone/migrate。
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": {
"name": "<name>",
"cpu": "<cpu>",
"memory_mb": "<memory_mb>",
"disk_gb": "<disk_gb>"
},
"name": "esxi_create_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | Yes | ||
| name | Yes | ||
| disk_gb | Yes | ||
| dry_run | No | ||
| network | No | ||
| guest_id | No | otherGuest | |
| datastore | No | ||
| memory_mb | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |