write_line
Sends text plus a newline to an open serial port so you can issue firmware CLI commands and other line-based interactions.
Instructions
Send text plus a newline to an open port, e.g. a command for the firmware's CLI.
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": {
"port": "<port>",
"text": "<text>"
},
"name": "write_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| text | Yes | ||
| newline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||