media_eject
Ejects an ISO or DVD from a powered-off Hyper-V VM's virtual drive, requiring media permissions and matching VM confirmation.
Instructions
Eject an existing VM DVD drive while the VM is Off. 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>",
"controller_location": "<controller_location>",
"confirm_vm": "<confirm_vm>"
},
"name": "media_eject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| confirm_vm | Yes | ||
| controller_number | No | ||
| controller_location | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||