esxi_vnc
Query, enable, or disable the built-in VNC server for an ESXi VM; auto-assigns port/password when omitted and notes the VM should be powered off before enabling.
Instructions
Query/enable/disable the built-in VNC server of an ESXi VM (govc vm.vnc, extraConfig RemoteDisplay.vnc.*). Port/password auto-assigned when omitted. VM should be powered off before enabling.
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>",
"action": "<action>"
},
"name": "esxi_vnc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| port | No | ||
| alias | Yes | ||
| action | Yes | ||
| password | No |