device_connection
List, select, connect, disconnect, or pair ADB devices by serial or host:port; selecting a device clears UI indices and avoids defaulting arbitrarily when multiple are attached.
Instructions
List/select ADB devices or connect/disconnect/pair host:port. Selection clears UI indices; no arbitrary default when multiple devices are attached.
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": "device_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| serial | No | ||
| address | No | ||
| pairing_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||