sassy_desktop_state
List visible open windows with titles and absolute coordinates across all monitors to locate UI elements before clicking.
Instructions
Read-only. Lists visible open windows with title and absolute left/top/width/height coordinates spanning all monitors, returned as lean JSON. include_taskbar defaults to False, filtering out taskbar entries. Windows-only for window enumeration (pywinauto UIA backend); macOS enumerates via System Events and needs Accessibility permission granted to the app running SassyMCP; Linux returns an unsupported error. Requires a GUI session; headless hosts return an error. Use it with sassy_screen_info to locate UI elements before sassy_click, or for a quick sense of what is open on the desktop.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sassy_desktop_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_taskbar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |