read_file
Access and retrieve the contents of a specific file on an Android device by specifying the device serial, file path, and optional size limit, useful for debugging and analysis tasks.
Instructions
Read the contents of a file on the device.
Args: serial: Device serial number device_path: Path to the file on device max_size: Maximum file size to read in bytes (default: 100KB) Files larger than this will return an error message instead
Returns: File contents as text or error message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
device_path | Yes | ||
max_size | No | ||
serial | Yes |