SimKeyPress
CUTools
Description
Simulate keyboard input and key combinations! Automate text entry, fill out forms, or control applications via keyboard - SimKeyPress enables complete keyboard automation programmatically.
With support for single keys, text strings, special keys, and key combinations (hotkeys), you control any Windows application - text types itself as if by magic!
Why This Tool Stands Out
- Have Text entered automatically
- Send Hotkeys (Ctrl+C, Alt+F4)
- Instant Execution without delay
- Form Automation without effort
Perfect for:
Data entry staff, QA testers, automation developers, and anyone who wants to automate repetitive keyboard input. Ideal for form filling, UI testing, and workflow automation.
Workflow support; time savings depend on the task
Instead of typing long texts by hand and navigating through fields, you fill out entire forms with a single API call - error-free and lightning fast.
JSON Parameters
- keys REQUIRED (String)The keys or text to send. Can contain single keys, text, or combinations (e.g., "CTRL+C").
- delay OPTIONAL (Integer)Delay between key presses in milliseconds. Default: 10ms
- keyAction OPTIONAL (String)The key action: "press", "down", "up". Default: "press"
Example Call
{
"tool": "SimKeyPress",
"params": {
"keys": "Hello World",
"delay": 50
}
}
Example of a key combination:
{
"tool": "SimKeyPress",
"params": {
"keys": "CTRL+C"
}
}
Example Usage
Typical AI Command
- "Enter 'John Doe' in the active input field, then press Tab to jump to the next field."
Return Values
The tool returns an object with the following properties:
- success (Boolean)
True if the input was simulated successfully - keysSent (String)
The keys/text sent - keyCount (Integer)
Number of keystrokes sent - error (String, optional)
Error message if the simulation failed
Related Tools
Download CUTools
Get access to all 17 Computer Use tools for Windows automation.
Download Now