adb_shell_write
Send a command to an active ADB shell session on embedded devices. Enables remote board management and command execution via MCP.
Instructions
Send a command to an ADB shell session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Buffer clear flag: 1 (default) = clear buffer before collecting, 0 = append to buffer | |
| command | Yes | The command to send to the shell | |
| session_id | Yes | The session ID returned by adb_shell_open |