adb_input
Send input events to an Android device: tap, swipe, type text, or trigger key events.
Instructions
Send input events to the device (tap, swipe, text, keyevent)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Input type — one of: tap (single touch), swipe (drag between two points), text (literal string entry), keyevent (Android key code like KEYCODE_HOME). The args field documents the expected argument format per type. | |
| args | Yes | Arguments: tap='x y', swipe='x1 y1 x2 y2 [duration_ms]', text='string', keyevent='KEYCODE_HOME' | |
| device | No | Device serial |