serial_send_ctrl
Send control characters (Ctrl+C/U/D/Z) to a serial shell session to interrupt, clear, EOF, or suspend processes without newline.
Instructions
Send a control character (Ctrl+C/U/D/Z) to a serial shell session without appending a newline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Control character: c=Ctrl+C(SIGINT), u=Ctrl+U(clear line), d=Ctrl+D(EOF), z=Ctrl+Z(suspend) | |
| session_id | Yes | The session ID returned by serial_open |