execute_shell_command
Execute arbitrary shell commands on a connected Android device to access system utilities, simulate input, and manage device settings directly.
Instructions
Execute an arbitrary shell command directly on the connected Android device. Allows full access to Android shell utilities (e.g., 'input keyevent 26', 'settings get global airplane_mode_on').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Specific device serial number to target | |
| command | Yes | The shell command string to run on the Android device (e.g. 'input tap 500 500') |