press_key
Simulate pressing keyboard keys or key combinations (e.g., Ctrl+S, Alt+F4) on desktop applications across Windows, macOS, and Linux.
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
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| repeat | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |