DroidMind

by hyperb1iss
Verified

device_logcat

Retrieve recent logcat output from Android devices for debugging and system analysis. Filter by tags, prioritize logs, and manage output size for efficient troubleshooting.

Instructions

Get recent logcat output from a device.

Args: serial: Device serial number lines: Number of recent lines to fetch (default: 1000, max recommended: 20000) Higher values may impact performance and context window limits. filter_expr: Optional filter expression (e.g., "ActivityManager:I *:S") Use to focus on specific tags or priority levels max_size: Maximum output size in characters (default: 100000) Set to None for unlimited (not recommended)

Returns: Recent logcat entries

Input Schema

NameRequiredDescriptionDefault
filter_exprNo
linesNo
max_sizeNo
serialYes

Input Schema (JSON Schema)

{ "properties": { "filter_expr": { "default": "", "title": "Filter Expr", "type": "string" }, "lines": { "default": 1000, "title": "Lines", "type": "integer" }, "max_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 100000, "title": "Max Size" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial" ], "title": "device_logcatArguments", "type": "object" }
ID: p03zdsi6ol