DroidMind

by hyperb1iss
Verified

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

NameRequiredDescriptionDefault
device_pathYes
max_sizeNo
serialYes

Input Schema (JSON Schema)

{ "properties": { "device_path": { "title": "Device Path", "type": "string" }, "max_size": { "default": 100000, "title": "Max Size", "type": "integer" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial", "device_path" ], "title": "read_fileArguments", "type": "object" }
ID: p03zdsi6ol