storage_management
Manage virtual machine storage by listing, creating, or removing controllers and disks, and attaching disks to virtual machines.
Instructions
Comprehensive storage management portmanteau tool.
This tool consolidates all storage operations into a single interface. Use the 'action' parameter to specify which operation to perform. Different actions require different parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| action | Yes | The operation to perform. Must be one of: - "list_controllers": List storage controllers for a VM (requires: vm_name) - "create_controller": Create a storage controller for a VM (requires: vm_name, controller_name, controller_type) - "remove_controller": Remove a storage controller from a VM (requires: vm_name, controller_name) - "list_disks": List virtual disks for a VM (requires: vm_name) - "create_disk": Create a new virtual disk (requires: disk_name, disk_size_gb) - "attach_disk": Attach a disk to a virtual machine (requires: vm_name, disk_path) | |
| offset | No | ||
| vm_name | No | Name of the virtual machine (required for list_controllers, create_controller, remove_controller, list_disks, attach_disk) | |
| disk_name | No | Name of the virtual disk file (required for create_disk) | |
| disk_path | No | Path to the disk file (required for attach_disk) | |
| disk_size_gb | No | Size of the disk in GB (required for create_disk) | |
| controller_name | No | Name of the storage controller (required for create_controller, remove_controller) | |
| controller_type | No | Type of storage controller (required for create_controller): ide|sata|scsi|sas|usb|pcie |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||