adb_network_auto_connect
Scans a local network range for ADB devices and automatically connects to each responsive host on the chosen port, combining discovery and connection in one step.
Instructions
Discover and automatically connect to ADB devices on the local network. Combines network scanning with adb connect in one step. Probes a single port (default 5555) on each candidate; if you need to cover the full ADB port range (5555-5558) use adb_network_scan first, then adb_connect with the discovered host:port.
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_auto_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ADB port to probe and connect (1-65535, default 5555) | |
| device | No | Device serial (used to determine local subnet for ARP-based discovery) | |
| ipRange | No | IP range to scan (e.g., '192.168.1.1-254') |