get_window_state
Determine the main window's current state—focused, visible, maximized, or minimized—to assess user activity before executing intrusive actions. Read-only snapshot includes bounds, opacity, and fullscreen status.
Instructions
Snapshot the main window's current state: exists, maximized, minimized, focused, visible, fullScreen, simpleFullScreen, bounds {x,y,width,height}, fontSize, opacity, alwaysOnTop. Read-only. The cheapest call to find out "is the user actively using the app right now" — check focused + isRecording (via get_recording_state) before doing anything intrusive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||