esxi_console_mouse
Control an ESXi VM console with VNC mouse actions—move, click, double-click, right-click, scroll, and button press/release—after enabling VNC and firewall access.
Instructions
Mouse operations on an ESXi VM console through its built-in VNC (console_mouse semantics). Requires esxi_vnc -enable and the ESXi firewall to allow the VNC port.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "esxi_console_mouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| vm | Yes | ||
| alias | Yes | ||
| action | Yes | ||
| amount | No | ||
| button | No | ||
| delay_ms | No | ||
| vnc_host | No | Override VNC host (e.g. 127.0.0.1 when using an SSH tunnel) | |
| vnc_port | No | Override VNC port (e.g. local tunnel port) | |
| direction | No |