media_mount
Mounts an existing host ISO in a powered-off Hyper-V VM's DVD drive and can set it as the first boot device without stopping the VM.
Instructions
Mount an existing host ISO in an existing VM DVD drive while the VM is Off, optionally making it first boot device. Never stops the VM automatically. Requires ALLOW_MEDIA and confirm_vm equal to vm_name.
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_name": "<vm_name>",
"iso_path": "<iso_path>",
"controller_location": "<controller_location>",
"confirm_vm": "<confirm_vm>"
},
"name": "media_mount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| iso_path | Yes | ||
| boot_first | No | ||
| confirm_vm | Yes | ||
| controller_number | No | ||
| controller_location | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||