usb_devices
Read USB ports and attached storage from a MikroTik device by name, combining routerboard USB hardware and disk entries in one response.
Instructions
USB hardware on a device: physical USB ports
(/system/routerboard/usb, if the board exposes them) plus attached
storage (/disk - USB flash drives, and USB LTE/5G modems that
surface as a disk rather than under routerboard/usb). Combined into
one read since which of the two a given USB device shows up under
depends on the hardware.
Returns {"usb_ports": [...], "disks": [...]} - either or both
lists empty (never an error) if the board doesn't expose that
menu/hardware at all.
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_name": "<device_name>"
},
"name": "usb_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||