List windows
hs_list_windowsLists all visible windows with their IDs, app, title, frame, and screen, giving you the window IDs needed to focus or move windows.
Instructions
List every visible window with its id, owning application, title, frame, and screen. Window ids are what hs_focus_window and hs_move_window operate on, so call this first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Only return windows whose application name contains this text, case-insensitive. |