Usage
Description
Minimizes an application window, sending it to the Dock (macOS) or taskbar (Windows). The window is identified by application name (defaults to focused app if not specified).Parameters
Application name (e.g., “Safari”) — if not specified, operates on the focused application
Response
Examples
Minimize focused window
Minimize specific app
Minimize and restore
Minimize all windows of an app
Error Codes
APP_NOT_FOUND— Application is not running or has no windowsWINDOW_NOT_FOUND— No window found for the specified applicationACTION_FAILED— Failed to minimize window
Notes
- Minimized windows are hidden but the application remains running
- Use
restoreto bring minimized windows back - Minimized windows do not appear in
list-windowsoutput - On macOS, requires Accessibility permission
- If multiple windows exist for the app, the first one is minimized