get_state
Retrieve current desktop state: monitors, open windows, saved layouts, keep-awake status, and disabled features. Use before applying a layout to see running apps and screen setup.
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, whether keep-awake is on, and 'disabled_features': the modules the user switched off in Plonk (zones, workspaces, shot, ruler, awake, active and so on). A tool belonging to one of those fails with an error saying so until the user switches it back 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 | |||