adb_forward_remove
Remove a specific host-to-device port forward or clear all forwards after testing to clean up ADB connections.
Instructions
Remove a port forward (host → device), or all forwards. Use after testing to clean up.
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_forward_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local | No | Local spec to remove (e.g., 'tcp:8080'). Omit to remove all forwards. AF2 fix: format-validated. | |
| device | No | Device serial |