read_file
Fetch a text file from an Android device via ADB, optionally as root and capped by max_bytes, returning content plus truncation status.
Instructions
Read a text file from the device (up to max_bytes). as_root uses su -c cat
(WSA/Magisk). Returns {remote, truncated, content}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | Yes | ||
| serial | No | ||
| as_root | No | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||