adb_logcat
Capture a logcat snapshot from Android devices with tag, priority, grep, and buffer filters for precise diagnostics.
Instructions
Capture a logcat snapshot. Supports tag filtering, priority levels, and grep patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of recent lines to capture (1-10000) | |
| tag | No | Filter by tag (e.g., 'ActivityManager' or 'MyApp') | |
| priority | No | Minimum priority: V(erbose), D(ebug), I(nfo), W(arn), E(rror), F(atal) | |
| grep | No | Grep filter applied to output (literal string match, case-insensitive) | |
| device | No | Device serial | |
| buffer | No | Logcat buffer to read from | main |