win_send_keys
Sends key presses to a target Windows window without focusing it, using Win32 messages to post keys like Enter or Ctrl+A directly to the specified window handle or title for background automation.
Instructions
Post key presses to a specific window WITHOUT focusing it (Win32 messages).
Args: params (WinSendKeysInput): target window plus key names.
Returns: str: JSON confirming the keys posted to the resolved control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |