shell_exec
Execute any ADB shell command on an Android device and retrieve its output, covering device operations not handled by other available tools.
Instructions
Execute an arbitrary ADB shell command on the device and return the output. Use this for any device operation not covered by other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number | |
| command | Yes | Shell command to execute on the device |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | Combined stdout/stderr text from the command |