adb_devices
List attached Android devices and emulators to confirm connectivity and fetch their serial IDs for subsequent debugging, app inspection, or instrumentation tasks.
Instructions
List Android devices and emulators visible to adb. Only reads, and the workspace parameter has no effect on the result - the listing is the same for any workspace. Call this first to confirm a device is connected and to get serials for the deviceSerial parameter of the other adb_* and frida_* tools. Returns { devices: [{ serial, state, extra }] } where state is e.g. "device", "unauthorized" or "offline" and extra is adb's remaining -l detail (model, transport). An empty list means nothing is connected. Requires adb on PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace name (not id). Created if it doesn't exist, and this call is recorded as a job in its history. Defaults to "default". |