get_state
Retrieve current desktop state: monitors, open windows, saved layouts, and keep-awake status. Use it first to check running apps and screen setup before applying layouts.
Instructions
Get the current desktop state: all screens/monitors (index, frame, visible area — coordinates have origin at top-left of the primary screen, y grows down), all open windows (app name, title, which screen it is on, absolute frame, and 'fraction' — its position as fractions 0..1 of that screen's visible area), saved layout names, and whether keep-awake is on. ALWAYS call this first before applying a layout, to see which apps are running and how many monitors there are.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||