List Android devices
list_devicesLists connected, authorized Android devices with serial and state so you can get a target serial for foreground and snapshot actions. Call first; unauthorized or offline devices are omitted.
Instructions
List the Android devices ADB reports as connected and authorized, as a list of {serial, state} objects (state is always "device"). On a --device scoped server only that device can appear, and the list is empty if it is unplugged or unauthorized. Call this first to get a serial for foreground and snapshot; unauthorized or offline devices are omitted. Does not touch the device screen.
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |