Decode Signal Recording
decode_signal_recordingDecode existing local logic or signal recordings on Linux with explicit sigrok decoder stacks, channels, and options; optionally select annotations and page output for file-only analysis.
Instructions
Decode an existing local logic/signal recording on Linux with sigrok-cli 0.7.2 and util-linux prlimit. Supply decoder stack, channels and options explicitly; optionally select input format and annotation classes. Return 50 literal output lines by default, with line_offset/line_limit paging; line_limit:null requests all remaining lines. Output windows count display lines, not annotations or samples, and do not shorten decoding. Preserve selected text, sample ranges, stderr, source/tool identity and coverage inline. Configure absolute REA_SIGROK_COMMAND. File-only analysis; no hardware acquisition or device communication. Empty output does not prove absence of traffic.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "/artifacts/uart.vcd",
"decoders": "uart:rx=RX:baudrate=9600",
"annotations": "uart=rx-data",
"input_format": "vcd"
},
"name": "decode_signal_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute local recording path | |
| decoders | Yes | sigrok decoder stack, options and channel assignments, e.g. uart:rx=RX:baudrate=9600 | |
| line_limit | No | Return at most this many output lines; default 50. Null explicitly returns all remaining lines within producer limits. Lines are not annotation counts. | |
| annotations | No | Optional annotation selection, e.g. uart=rx-data | |
| line_offset | No | Skip this many literal LF-separated output lines; default 0 | |
| input_format | No | Explicit sigrok input format and options; omitted means autodetection |