execute_raw_adb
Run any ADB command by passing raw command-line arguments as an array, safely avoiding shell injection. Target a specific device with an optional serial number.
Instructions
Execute an arbitrary ADB command by passing raw command-line arguments. Safe from shell injection on the host machine because arguments are passed as an array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | List of command-line arguments to pass to the adb command (e.g. ['forward', 'tcp:8080', 'tcp:8080']) | |
| serial | No | Specific device serial number to target |