Restore Hyperv Vm
restore_hyperv_vmRestores a Microsoft Hyper-V VM from a restore point either in place or to a chosen host, with optional new name, storage, and network mapping.
Instructions
Full restore of a Microsoft Hyper-V VM. OriginalLocation overwrites the VM in place; Customized restores
to destination_host (and optionally a new name, storage and network mapping - see describe_model for
HvRestoreTargetDatastoresSpec / HvRestoreTargetNetworkSpec / HvRestoreTargetNameSpec).
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": {
"restore_point_id": "<restore_point_id>",
"mode": "<mode>"
},
"name": "restore_hyperv_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| reason | No | ||
| network | No | Customized: HvRestoreTargetNetworkSpec. | |
| new_name | No | ||
| power_up | No | ||
| datastore | No | Customized: HvRestoreTargetDatastoresSpec. | |
| confirm_token | No | ||
| secure_restore | No | Optional SecureRestoreSpec: {'antivirusScanEnabled': bool, 'yaraScanEnabled': bool, 'yaraRule': str, 'virusDetectionAction': 'AbortRecovery'|'DisableNetwork'|'Ignore', 'entireVolumeScanEnabled': bool}. | |
| destination_host | No | Customized: HyperVObjectModel of the target host/cluster. | |
| restore_point_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||