vnc_command
Control a remote desktop via VNC: send mouse clicks, keyboard input, take screenshots, and automate GUI interactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to perform | |
| x | No | X coordinate | |
| y | No | Y coordinate | |
| toX | No | Drag target X | |
| toY | No | Drag target Y | |
| dx | No | Relative X offset (nudge) | |
| dy | No | Relative Y offset (nudge) | |
| button | No | Mouse button | |
| key | No | Key name or combo string (e.g. "cmd+c") | |
| keys | No | Array of key names for combo (e.g. ["cmd","shift","3"]) | |
| text | No | Text to type or paste | |
| direction | No | Scroll direction | |
| amount | No | Scroll amount (default 3) | |
| ms | No | Wait duration in ms (default 500) | |
| reset | No | Reset all params to defaults | |
| max_dimension | No | Max screenshot dimension | |
| cursor_crop_radius | No | Cursor crop radius | |
| click_hold_ms | No | Click hold duration | |
| double_click_gap_ms | No | Double-click gap | |
| hover_settle_ms | No | Hover settle wait | |
| drag_position_ms | No | Pre-drag position wait | |
| drag_press_ms | No | Drag press hold | |
| drag_step_ms | No | Between interpolation pts | |
| drag_settle_ms | No | Settle before release | |
| drag_pixels_per_step | No | Point density per pixel | |
| drag_min_steps | No | Min interpolation steps | |
| scroll_press_ms | No | Scroll press-release gap | |
| scroll_tick_ms | No | Inter-tick delay | |
| key_hold_ms | No | Key hold duration | |
| combo_mod_ms | No | Modifier settle delay | |
| type_key_ms | No | Key hold during typing | |
| type_inter_key_ms | No | Inter-character delay | |
| type_shift_ms | No | Shift key settle | |
| paste_settle_ms | No | Post-clipboard write wait |