analyzer_read
Read decoded USB capture packets and bus events from the buffer for live or post-capture analysis, using sequence-based polling to fetch only new records.
Instructions
Read decoded capture records (packets with PID/address/endpoint/data/CRC check, and bus events) from the buffer. Use next_seq for incremental polling. Works during and after a capture.
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": "analyzer_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Include raw packet bytes as hex. | |
| pids | No | Only these PIDs, e.g. ['SETUP','DATA0','IN']. | |
| kinds | No | Record kinds to include (default both). | |
| limit | No | Maximum records to return. | |
| address | No | Only tokens/transactions for this device address. | |
| endpoint | No | Only this endpoint number. | |
| start_seq | No | First record sequence number (None = oldest available). | |
| include_nak | No | Include NAK handshakes. | |
| include_sof | No | Include SOF packets. | |
| only_errors | No | Only records with invalid PID or bad CRC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||