set_lines
Set and hold DTR/RTS serial lines to trigger PTT, reset a microcontroller, or signal a modem, leaving unspecified lines unchanged.
Instructions
Set the DTR and/or RTS output lines and hold them.
Uses: key a transmitter whose PTT is wired to RTS or DTR (set it True to transmit, False to stop; pulse_line is safer for that), hold an Arduino in reset (DTR False), or tell a modem you're present. Leave a line at None to keep it unchanged. Refused in read-only mode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtr | No | ||
| rts | No | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |