vm_ready
Waits until a virtual machine is ready to drive, checking the guest agent and, on Windows, a logged-in active desktop session after start, reboot, or QMP changes.
Instructions
Waits until the VM can be driven: the guest agent answers and, on Windows with need_helper,
the helper reports a logged-in user, an active session and the Default desktop (not locked, not
on the lock screen or a UAC prompt). Use it after vm_start, a reboot or a QMP change. Returns
{ready, agent, helper, user, session, desktop, waited_s}; on timeout ready is false and
missing says what never came up (no exception). Linux guests: only the agent counts.
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": "<vm>"
},
"name": "vm_ready"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| timeout | No | ||
| need_helper | No |