lookup_device
Check whether a USB device's protocol is already documented by open-source projects before capturing traffic. Returns vendor/product, status, matching projects, and limits from only VID:PID.
Instructions
Before capturing: is this device's protocol already documented by an open-source project?
Returns JSON per device: vendor/product names, status ('documented', 'unknown', or
'listed in OpenDeviceDB'), projects (liquidctl, rivalcfg, turing-smart-screen-python,
linux-thermalright-lcd-control, usb-rea's own case studies, with links and notes), limits
(e.g. a generic chip ID shared by unrelated products), same_vendor and with online=true
opendevicedb (matching records and their projects, or error when the network is down).
Read-only: sends only the VID:PID, never capture contents. A matching ID is a hint, not proof
of the same protocol; an unknown device stays 'unknown'. Use it before capture_start.
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": "<device>"
},
"name": "lookup_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | USB VID:PID as hex, e.g. '1e71:170e', or a capture path (looks up every device whose descriptor it contains) | |
| online | No | Also query OpenDeviceDB's read-only public API; default false (offline table and local usb.ids only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |