capture_start
Start writing live serial-port traffic to a file, appending raw bytes or timestamped TX/RX lines for protocol debugging. Captured output helps analyze terminal sessions and device responses.
Instructions
Start writing this connection's traffic to a file until capture_stop.
Args: path: File to write. Empty = an auto-named file in the app's captures folder. A bare name goes in that folder; an absolute path is used as is. Existing files are appended to. format: "raw" writes received bytes exactly as they arrive (a terminal log; echo included). "annotated" writes timestamped lines marked TX or RX, which is better for protocol debugging. connection: Which open connection (name). Default: the current one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| format | No | raw | |
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |