type_text
Send keystrokes to the focused window or to a specific background window by handle or title, without bringing it to the foreground.
Instructions
Type a string of text into the currently focused window/control.
BACKGROUND TARGETING: set hwnd or window_title to deliver the text to a
specific window WITHOUT focusing it (Win32 WM_CHAR to its focused control).
For edit controls, win_set_control_text is more reliable.
Args: params (TypeInput): the text, optional per-key interval, optional target.
Returns: str: JSON confirming how many characters were typed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |