adb reverse for Metro
android_reverse_metroRuns adb reverse tcp:8081 tcp:8081 so Android apps can reach Metro on the host, enabling USB devices and emulators to connect.
Instructions
Runs adb reverse tcp:8081 tcp:8081 so the app can reach Metro on the host (needed for USB devices, harmless on emulators).
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": "android_reverse_metro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| serial | No | adb serial (from android_devices). Default: the only online device. |