press_key
Simulate keyboard input by pressing single keys or combinations like Ctrl+S or Alt+F4 to automate desktop application interactions.
Instructions
Press a key or key combination.
Single key: "enter", "tab", "escape", "f5", "backspace".
Combination: ["ctrl", "s"], ["ctrl", "shift", "p"], ["alt", "f4"].
Args:
keys: A single key name, or a list of keys for a combination
(all held together, then released in reverse order).
repeat: Number of times to press (default 1).Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| repeat | No |