remove_reverse
Delete a single adb reverse port forwarding rule for a specified device port. Use it to clean up TCP reverse mappings and free device ports when a rule is no longer needed.
Instructions
Remove a single adb reverse rule for tcp:device_port.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_port": "<device_port>"
},
"name": "remove_reverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| device_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||