desktop_type
Types Unicode text into the active foreground window, with an optional window-handle guard to prevent focus stealing.
Instructions
Type Unicode text cleanly using SendInput KEYEVENTF_UNICODE into the active foreground window (use into_hwnd to guard against focus stealing).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "desktop_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| delay_ms | No | ||
| into_hwnd | No | Refuse if foreground window handle does not match this hwnd. |