guest_screenshot
Captures a VMware guest's screen via VIX captureScreen when VMware Tools is installed and writes the PNG to a host path; use for guest-level screenshots instead of console capture.
Instructions
Screenshot via VIX captureScreen (requires VMware Tools). For console-level capture without Tools use console_screenshot. Returns the PNG when available.
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": {
"vmx": "<vmx>",
"host_path": "<host_path>"
},
"name": "guest_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmx | Yes | ||
| host_path | Yes | Where to write the PNG on the host |