list_phones | None | List phones with their IDs, status, and screen size |
get_phone_status | phone_id | Connection status and screen size of one phone |
screenshot | phone_id | Capture the screen as an image |
tap | phone_id, x, y | Tap a point |
double_tap | phone_id, x, y | Double tap, for zooming or selecting a word |
triple_tap | phone_id, x, y | Triple tap, for selecting a line or paragraph |
long_press | phone_id, x, y, duration? | Press and hold, for context menus. duration is in ms, default 1000 |
flick | phone_id, x, y, direction | Quick swipe up, down, left, or right from a point |
drag | phone_id, from_x, from_y, to_x, to_y, speed? | Press, move, and release. speed is slow, medium, or fast, default medium |
hold_and_drag | phone_id, from_x, from_y, to_x, to_y, hold_duration_ms?, speed? | Long press, then drag, for moving items. Hold defaults to 500 ms |
type_text | phone_id, text | Type into the focused field. US-ASCII only, up to 100 characters |
press_key | phone_id, key, modifiers?, repeat? | Press enter, escape, backspace, or an arrow key, optionally holding control, shift, alternate, or command |
press_home | phone_id | Go to the Home Screen |