Usage
Description
Moves an application window to the specified screen coordinates. The window is identified by application name (defaults to focused app if not specified).Parameters
New window X position (left edge) in screen pixels
New window Y position (top edge) in screen pixels
Application name (e.g., “Safari”) — if not specified, operates on the focused application
Response
Examples
Move focused window
Move specific app window
Move to screen center (1920x1080)
Move and resize together
Position windows side-by-side
Error Codes
APP_NOT_FOUND— Application is not running or has no windowsWINDOW_NOT_FOUND— No window found for the specified applicationINVALID_ARGS— Invalid x or y coordinatesACTION_FAILED— Failed to move window
Notes
- Coordinates are in screen pixels with origin (0,0) at top-left
- On macOS with multiple displays, coordinates span all screens
- Fullscreen windows cannot be moved
- On macOS, requires Accessibility permission
- If multiple windows exist for the app, the first one is moved