input_key_combo
Send key combinations (chords) to an Android device via ADB using preset shortcuts like copy, paste, or custom modifier+key sequences such as Ctrl+A.
Instructions
Press several keys together as a chord (input keycombination, Android 11+). Use preset="select_all" (or copy/paste/cut/undo/redo/save/find) for a named shortcut, or keys=["ctrl","a"] / ["alt","tab"] to spell one out — modifier(s) first, then the action key; each is a key name (ctrl/alt/shift/meta, a-z, enter, tab, ...) or a raw keycode. For a single key use press_key instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Keys to press together, modifier(s) first, e.g. ["ctrl","a"] or ["alt","tab"]. Each is a key name (ctrl, alt, shift, meta, a-z, enter, tab, ...) or a raw keycode number. Needs at least 2. Omit if preset is given. | |
| preset | No | Named combo shortcut (select_all, copy, paste, cut, undo, redo, save, find) that expands to the right chord — use this instead of keys when a name will do. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |