open_uart
Establish a persistent UART connection to a target device, start a logged engagement, and create a dedicated folder for raw data.
Instructions
Open a persistent UART connection and start an engagement. Creates engagement folder and raw logging. [allowed-write] [Duration: fast (~0.5-2 s -- mode switch + folder creation).]
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": {
"baud": "<baud>",
"engagement_name": "<engagement_name>"
},
"name": "open_uart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baud | Yes | Baud rate | |
| rx_pin | No | ESP32 GPIO for RX (e.g., 5) | |
| tx_pin | No | ESP32 GPIO for TX (e.g., 4) | |
| engagement_name | Yes | Target device name | |
| engagement_path | No | Path to an engagement folder (from project-mcp). If provided, writes to <engagement_path>/uart/ instead of creating a standalone engagement. |