apple_windows
Manage macOS windows: move, resize, minimize, maximize, fullscreen, close, hide, center, and switch apps via structured actions.
Instructions
Manage macOS windows: move, resize, minimize, fullscreen. Actions: frontmost_app, minimize, minimize_all, maximize, left_half, right_half, fullscreen, close, hide_app, hide_others, center, resize, list_windows, switch_to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Application name to hide | |
| width | No | Desired window width in pixels | |
| action | Yes | frontmost_app: Get the name of the frontmost application; minimize: Minimize the front window of the frontmost app; minimize_all: Minimize all windows of all applications; maximize: Maximize the front window to fill the screen; left_half: Move front window to the left half of the screen; right_half: Move front window to the right half of the screen; fullscreen: Toggle fullscreen for the front window; close: Close the front window of the frontmost app; hide_app: Hide a specific application; hide_others: Hide all applications except the frontmost; center: Center the front window on screen; resize: Resize the front window to a specific width and height; list_windows: List all windows of the frontmost application; switch_to: Bring a specific application to the front | |
| height | No | Desired window height in pixels | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. |