esxi_console_screenshot
Captures an ESXi VM console screenshot as PNG, even without VMware Tools on standalone ESXi, and falls back to VNC when the HTTP screen endpoint is unavailable.
Instructions
Capture an ESXi VM console screenshot as PNG (govc vm.console -capture; works without VMware Tools on standalone ESXi). Falls back to VNC when the HTTP screen endpoint is unavailable.
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": {
"alias": "<alias>",
"vm": "<vm>"
},
"name": "esxi_console_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| alias | Yes | ||
| save_path | No |