console_mouse
Inject mouse actions into a VMware VM console—move, click, double-click, right-click, press/release, or scroll at pixel coordinates to automate guest interaction.
Instructions
Inject mouse into the VM console: move / click / dblclick / rightclick / down / up / scroll at VM pixel coordinates.
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>",
"action": "<action>",
"x": "<x>",
"y": "<y>"
},
"name": "console_mouse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| vmx | Yes | ||
| scale | No | If x/y came from a downscaled screenshot, pass its scale (image_width/native_width) | |
| action | Yes | ||
| amount | No | scroll amount, default 3 | |
| button | No | default left | |
| delay_ms | No | ||
| direction | No | scroll direction, default down |