capture_vm_screen
Captures a running VM's current display and saves it as a local PNG file, letting AI agents visually inspect guest state during automation or troubleshooting.
Instructions
Capture the current display of a running VM to a local PNG file (captureScreen).
Args: vm: VM name, substring, or full .vmx path. output_path: Optional host PNG file path. Defaults to /vmware-mcp-screens/_.png.
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": "capture_vm_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||