adb_shell_send_ctrl
Send control characters (Ctrl+C/U/D/Z) to an active ADB shell session. Interrupt processes, clear lines, send EOF, or suspend tasks without adding a newline.
Instructions
Send a control character (Ctrl+C/U/D/Z) to an ADB 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 adb_shell_open |