move_window
Move a macOS window to any top-left position, with optional targeting by app, window ID, or display. Specify coordinates to place windows precisely.
Instructions
Move a macOS window to a display-aware top-left position.
Args: x: Target top-left x coordinate y: Target top-left y coordinate app_name: Optional app name, bundle id, or process name window_id: Optional CoreGraphics window id window_index: Optional 1-based index among the app's windows display_index: Optional 1-based display index for clamping placement
Returns: JSON string with final window metadata, or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| app_name | No | ||
| window_id | No | ||
| window_index | No | ||
| display_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |