List devices
adb_devicesList connected Android devices and remembered offline addresses so you can choose a serial for other ADB tools. If your target is missing, run again with discover=true to search the local network.
Instructions
List connected Android devices with serial, state and description (adb devices -l), and remembered addresses that are not connected now. Start here: the other tools take serial from this list. If the device the user means is not in the list, call again with discover=true: it searches the local network for devices to connect (mDNS and port 5555), any time and as often as needed, and connects none of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discover | No | Search the local network (about 10 s) for devices with network or Wireless debugging on; returns candidates and the next step for each. Default false. |