remote_macos_mouse_scroll
Trigger mouse scroll actions at specific coordinates on a remote macOS machine. Automatically scales coordinates for accuracy using screen dimensions.
Instructions
Perform a mouse scroll at specified coordinates on a remote MacOs machine, with automatic coordinate scaling. Uses environment variables for connection details.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
direction | No | Scroll direction | down |
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": {
"direction": {
"default": "down",
"description": "Scroll direction",
"enum": [
"up",
"down"
],
"type": "string"
},
"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"
}