window_send_key
Automate background window input by sending key events (Enter, Escape, Tab, arrows, etc.) with optional modifiers to a specified window, without moving the cursor or stealing focus.
Instructions
Send special key events (Enter, Escape, Tab, Backspace, Arrow keys, etc.) with optional modifiers to the target window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (e.g. Enter, Escape, Tab, BackSpace, Space, Left, Right). | |
| modifiers | No | Optional list of modifiers (ctrl, shift, alt). | |
| window_id | Yes | Target window ID or title. |