Capture VM Screen
vm_capture_screenCapture a VM's screen to obtain a base64-encoded PNG for remote viewing, or save it to a host path for later analysis.
Instructions
Capture a screenshot of the VM screen. Returns the image as base64-encoded PNG, or saves to a specified host path. Requires guest credentials in config.
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": "vm_capture_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | No | VM name or .vmx path | |
| host_path | No | Path on host to save the screenshot. If omitted, returns base64 image data. |