List devices
list_devicesLists attached emulators and devices with their adb state, or checks one serial to confirm it is ready before driving it or to retrieve serials when several are attached.
Instructions
List attached emulators/devices and their adb state (device = ready, offline, unauthorized). Pass serial to check one device: only that device is returned, or a note listing what is attached (the session default serial is ignored here). Use it to confirm a device is up before driving it, or to get the serial when several are attached. Driving a React Native/Expo dev build? Follow the rn-expo guide before you start (a skill, or the android://guide/rn-expo resource) — the ordering (adb_reverse BEFORE launch, app_state before believing anything) is the part that costs sessions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |