hyperv_vm_list
Lists Hyper-V VMs with state, generation, CPU, memory, heartbeat, and stored-credential status so you can choose a target and know whether hyperv_exec can reach its guest.
Instructions
List Hyper-V virtual machines on this machine with their state, generation, CPU, memory, guest heartbeat, and whether a guest credential is already stored for them. Start here: it tells you which VM to target and whether you need to call hyperv_credential_set first. The HEARTBEAT column is what decides whether hyperv_exec can reach the guest at all: a powered-on VM with no operating system installed, or one still booting or crashed, reports NoContact and cannot accept a PowerShell Direct connection, no matter what credential is stored. Listing, start/stop/restart and hyperv_host_exec never need a guest OS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hyperv_vm_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||