Run adb shell command
adb_shellRun arbitrary shell commands on an Android device to inspect packages or system state, with output truncated to the tail for concise results.
Instructions
Run an arbitrary shell command on the device (e.g. 'pm list packages -3', 'dumpsys battery'). Output is truncated to the tail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial from devices_list. Optional when exactly one device is online. | |
| command | Yes | Command line run by the device shell | |
| timeoutSec | No |