adb_tcpip
Switch a USB-connected Android device to TCP/IP mode on a chosen port so you can disconnect USB and connect over the network via ADB.
Instructions
Switch a USB-connected device to TCP/IP mode on the specified port (default 5555). After this, you can disconnect USB and use 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_tcpip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | TCP port for ADB (1-65535, default 5555) | |
| device | No | Device serial (must be USB-connected) |