verify_connection
Check for signal activity on specified ESP32 GPIO pins by providing TX/RX pin mapping and optional sample duration. Confirms whether a connection is active before probing.
Instructions
Check for signal activity on specified pins. User must provide pin mapping. [read-only] [Duration: fast (~2 s -- samples for sample_duration_ms, default 2000).]
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": {
"tx_pin": "<tx_pin>",
"rx_pin": "<rx_pin>"
},
"name": "verify_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rx_pin | Yes | ESP32 GPIO for RX (e.g., 5) | |
| tx_pin | Yes | ESP32 GPIO for TX (e.g., 4) | |
| sample_duration_ms | No | How long to sample for activity (ms) |