android_execute_action
Execute Android device actions directly: tap, swipe, type text, press keys, click elements, scroll, or launch apps—all in a single call.
Instructions
Execute a high-level Android action in a single tool call. Supports tap, swipe, type, press_key, click_element, scroll, and launch_app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate for tap | |
| y | No | Y coordinate for tap | |
| x1 | No | Start X for swipe | |
| x2 | No | End X for swipe | |
| y1 | No | Start Y for swipe | |
| y2 | No | End Y for swipe | |
| key | No | Key name for press_key (HOME, BACK, ENTER, etc.) | |
| text | No | Text to type or element text to search for click_element | |
| action | Yes | The action to perform on the Android device | |
| amount | No | Scroll distance in pixels | |
| activity | No | Activity name for launch_app | |
| deviceId | No | Optional device ID | |
| duration | No | Duration in ms for swipe | |
| direction | No | Scroll direction for scroll action | |
| resourceId | No | Element resource ID for click_element | |
| packageName | No | Package name for launch_app | |
| contentDescription | No | Element content description for click_element |