Open Serial Session
terminal_open_serialOpens a serial terminal session from a profile or explicit port settings so users and AI agents can connect to embedded devices for debugging and command interaction.
Instructions
Open a serial terminal session from a profile and optional connection overrides. When opening after device discovery, call this only after user approval or a terminal_get_connection_decision action of connect; explicit user-requested connections remain allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baud | No | Serial baud rate. | |
| port | No | Serial port name, such as COM3 or /dev/ttyUSB0. | |
| save | No | Optional profile name used to save resolved settings before opening. | |
| wake | No | Send one carriage return after connecting. | |
| label | No | Optional display-only session label; it is not an identifier. | |
| parity | No | Serial parity. | |
| profile | No | Optional named serial profile. | |
| data_bits | No | Serial data bits: 5, 6, 7, or 8. | |
| stop_bits | No | Serial stop bits. | |
| config_path | No | Optional TOML configuration path. | |
| flow_control | No | Serial flow control. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reused | Yes | ||
| session_id | Yes | ||
| session_ref | Yes |