adb_shell_read
Read output from an ADB shell session using its session ID. Fetches buffered command results and optionally clears the buffer for fresh reads.
Instructions
Read output from an ADB shell session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Buffer clear flag: 1 (default) = clear buffer after reading, 0 = keep buffer | |
| session_id | Yes | The session ID returned by adb_shell_open |