Disconnect TCP/IP devices
disconnectDisconnect one TCP/IP-connected Android device by host:port, or omit the address to drop every wireless ADB connection at once. USB links stay active.
Instructions
Disconnect one TCP/IP-connected device (adb disconnect <host>:<port>) or, when address is omitted, every TCP/IP-connected device (adb disconnect). USB connections are unaffected. Not device-scoped: for a TCP/IP device the address itself is the serial.
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": "disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | TCP address "host:port" to disconnect; omit to disconnect every TCP/IP device. |