qemu_screenshot
Capture a QEMU VM's display as a PNG image via QMP screendump, even headless, letting you inspect boot screens, kernel panics, GUIs, or consoles that don't write to serial.
Instructions
Capture the VM's display as a PNG image.
Works headless - the guest's VGA framebuffer is captured via QMP screendump. Use it to see boot screens, kernel panics, GUIs, or a text console that doesn't write to serial. Raises a clear error (instead of an opaque image-decoding failure) if the VM exits while the screendump is in flight.
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": {
"name": "<name>"
},
"name": "qemu_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |