vm_wait
Poll a Hyper-V VM until it reaches a requested state, returning a timeout result without changing its power state.
Instructions
Poll until a VM reaches one of the requested states. Returns matched=false on timeout and never changes power state.
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>",
"states": "<states>"
},
"name": "vm_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | Yes | ||
| vm_name | Yes | ||
| timeout_seconds | No | ||
| poll_interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||