add_vm_disk
Attach a new virtual disk to a VM by specifying node, VM ID, storage, and size, thereby expanding the VM's storage capacity.
Instructions
Attach a new virtual disk volume to a VM.
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>",
"storage": "<storage>",
"size": "<size>"
},
"name": "add_vm_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssd | No | ||
| node | Yes | ||
| size | Yes | ||
| vmid | Yes | ||
| cache | No | ||
| backup | No | ||
| discard | No | ||
| storage | Yes | ||
| iothread | No | ||
| disk_type | No | scsi |