resize_disk
Expand a virtual disk on a QNAP VM to increase storage capacity. Requires the VM to be stopped; supports expansion only, not shrinking.
Instructions
DESTRUCTIVE: Resize a virtual disk (expand only).
The VM should be stopped. Disks can only be expanded, not shrunk.
Args: vm_id: The VM identifier disk_id: The disk identifier (from list_vm_disks) size_gb: New disk size in GB confirm: Must be true to execute. Returns a preview otherwise.
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>",
"disk_id": "<disk_id>",
"size_gb": "<size_gb>"
},
"name": "resize_disk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| confirm | No | ||
| disk_id | Yes | ||
| size_gb | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |