USB Hub List
uhubctl_listLists USB hubs and per-port device attachments in read-only mode, including power-switching support and VID:PID data, so you can verify hub locations before power-cycling ports.
Instructions
List every USB hub + per-port device attachment as seen by uhubctl. Read-only.
Each hub has its location, descriptor, whether it supports per-port power switching,
and its populated ports with the attached VID:PID; check it before a power-cycle.
location is uhubctl notation (1-1.3) on Linux and macOS. On Windows the backend is
VirtualHere's vhfilter (uhubctl cannot switch port power there) and a location is
the hub's PnP device path, e.g. USB\VID_0BDA&PID_0411\6&28cf390b&0&2. Pass either
form to the power tools unchanged.
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": "uhubctl_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |