type_text
Type text into the focused window or target a specific window in the background using its handle or title, with configurable keystroke delay.
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 |