get_logcat
Retrieve recent Android system logs with configurable line limits and ADB-compatible filters to diagnose device issues.
Instructions
Dump a snapshot of recent system logs (logcat) with custom line limits and filter criteria.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of recent lines to retrieve (e.g. 50, 100, 500) | |
| serial | No | Specific device serial number | |
| filterSpec | No | Filter specifications matching ADB format (e.g. '*:E' for errors only, 'ActivityManager:I *:S' for info-level ActivityManager logs and silencing others) |