serial_set_dtr
Set the Data Terminal Ready line state to reset or control connected hardware devices through serial communication.
Instructions
Set DTR (Data Terminal Ready) line state. Used for device reset on many boards.
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": {
"connection_id": "<connection_id>",
"state": "<state>"
},
"name": "serial_set_dtr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Connection ID from serial_connect | |
| state | Yes | DTR state (true=high, false=low) |