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.
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": "get_window_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||