long_press
Simulate a long press on an Android element or screen coordinate to open context menus, select items or text, and move icons. Use it when a normal tap won't reveal hidden options.
Instructions
Press and hold an element (by id from the last read_screen) or a screen coordinate in pixels, for about 0.7 s. Use it for what apps put behind a long press: a message's or item's menu (reply, copy, delete, react), selecting items or text, moving icons. Use tap for normal taps. Returns "Long-pressed" and where; call read_screen to see the menu or selection it opened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X in screen pixels, when there's no element id | |
| y | No | Y in screen pixels, when there's no element id | |
| element | No | Element id from read_screen (give this, or x and y) |