adb_exec
Execute a single ADB command on a target device for tasks like listing devices, installing apps, pushing files, or running short shell commands without creating a persistent session.
Instructions
Execute a one-shot ADB command without a persistent session. Use for adb devices, install, push, or short shell commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target device serial number (optional, defaults to the unique connected device) | |
| command | Yes | ADB command and arguments (without 'adb' prefix), e.g. 'devices', 'shell ls /sdcard' |