Press a key combination
keyPresses keyboard chords or individual keystrokes (e.g., 'ctrl+alt+Return') in a nested display, using xdotool names for X11 and xkb keysyms for Wayland.
Instructions
Presses a key or chord, e.g. 'Return', 'ctrl+alt+Return', 'shift+Tab', 'F10'. Uses xdotool names for X11 targets and xkb keysyms for Wayland targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| combo | Yes | ||
| hold_ms | No | How long to hold the chord; polling UIs miss taps between frames. | |
| window_id | No |