adb_network_scan
Scan local networks for Android devices with ADB enabled over WiFi/TCP, probe common ADB ports and custom IP ranges, then connect discovered devices via adb_connect.
Instructions
Scan the local network for Android devices with ADB enabled over WiFi/TCP. Probes common ADB ports (5555-5558) on hosts from the ARP table and optionally a custom IP range. Discovered devices can be connected with adb_connect.
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": "adb_network_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | Custom ports to probe (default: [5555, 5554, 5556, 5557, 5558], max 20) | |
| device | No | Device serial (used to determine the local subnet if no ipRange given) | |
| ipRange | No | IP range to scan (e.g., '192.168.1.1-254'). If omitted, scans hosts from the ARP table only. | |
| timeoutMs | No | Connection timeout per host in ms (500-10000, default 2000) |