window_input_mode
Determine how a window receives input before posting to it, returning postmessage, uia, focused, or invalid to guide correct input delivery.
Instructions
Classify how a window receives input BEFORE posting to it: postmessage (classic Win32) | uia (WinUI/UWP: focus+SendInput fallback) | focused (already foreground) | invalid (dead window).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hwnd": "<hwnd>"
},
"name": "window_input_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |