List port forwards
list_forwardsList a device's active forward socket connections as JSON objects with serial, local, and remote fields. Returns an empty array when no forwards exist.
Instructions
List the forward socket connections of one device (adb forward --list) as a JSON array of {serial, local, remote} objects (empty array when there are none).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial from list_devices; optional when exactly one device is connected. |