report
Generate a Markdown evidence document from a USB capture, linking each claim to frame numbers and summarizing device responses, handshake messages, and observations for human protocol review.
Instructions
Generate a Markdown evidence report: every claim links to frame numbers in the capture.
Includes a 'Device responses' section when the device answers queries (status polls, command ACKs, GET_REPORT), saying which reply bytes could not be explained, a 'Handshake' section for messages sent once before the first action (session setup, tokens), and an 'Observations' section for 'seen' markers (named readings and unmatched observations).
Read-only: returns Markdown text (does not write a file). Same inputs as diff_actions. Use after capture_stop (or on an existing pcap). Choose this over diff_actions when the human should read the protocol; choose scaffold_driver when they need a pyusb driver.
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": {
"capture": "<capture>"
},
"name": "report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | USB device address to analyse; default = bus address with the most host→device payloads | |
| labels | No | Marker-free mode: ';'-separated labels in click order, or a text file path (one label per line) | |
| capture | Yes | Path to a usbmon or USBPcap pcap/pcapng file | |
| markers | No | Markers JSON path; default <capture>.actions.json. Ignored when labels is set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |