import_vm_file
Imports a virtual machine from an OVA/OVF file located on a QNAP NAS shared folder, using a shared:// path. Optionally set a VM name and confirm the operation.
Instructions
DESTRUCTIVE: Import a virtual machine from an OVA/OVF file on the NAS.
The file must already be on a NAS shared folder. Use the QVS shared path format: 'shared://VMs/myvm.ova' or 'shared://Public/exported-vm.ovf'.
Args: path: Path to the OVA/OVF file on the NAS (shared:// format) name: Optional name for the imported VM 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": {
"path": "<path>"
},
"name": "import_vm_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |