type_text
Types a string of text into the currently focused window or a background target specified by window handle or title, enabling automated input without disrupting the user's desktop.
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 |