esxi_expand_disk
Expand a VM disk size by device key, rejecting snapshots and preventing shrink. Use dry_run to preview changes before applying.
Instructions
仅允许增长,由 device_key 精确定位;有快照时拒绝。
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": {
"vm_id": "<vm_id>",
"expected_name": "<expected_name>",
"device_key": "<device_key>",
"new_size_gb": "<new_size_gb>"
},
"name": "esxi_expand_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| dry_run | No | ||
| device_key | Yes | ||
| new_size_gb | Yes | ||
| expected_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |