remote_macos_mouse_click
Simulate mouse clicks at precise coordinates on a remote macOS machine with automatic screen resolution scaling. Enables accurate control of UI elements via specified button, position, and source dimensions.
Instructions
Perform a mouse click at specified coordinates on a remote MacOs machine, with automatic coordinate scaling. Uses environment variables for connection details.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
button | No | Mouse button (1=left, 2=middle, 3=right) | |
source_height | No | Height of the reference screen for coordinate scaling | |
source_width | No | Width of the reference screen for coordinate scaling | |
x | Yes | X coordinate for mouse position (in source dimensions) | |
y | Yes | Y coordinate for mouse position (in source dimensions) |
Input Schema (JSON Schema)
{
"properties": {
"button": {
"default": 1,
"description": "Mouse button (1=left, 2=middle, 3=right)",
"type": "integer"
},
"source_height": {
"default": 768,
"description": "Height of the reference screen for coordinate scaling",
"type": "integer"
},
"source_width": {
"default": 1366,
"description": "Width of the reference screen for coordinate scaling",
"type": "integer"
},
"x": {
"description": "X coordinate for mouse position (in source dimensions)",
"type": "integer"
},
"y": {
"description": "Y coordinate for mouse position (in source dimensions)",
"type": "integer"
}
},
"required": [
"x",
"y"
],
"type": "object"
}