adb_logcat
Retrieve a snapshot of the current logcat buffer from a connected Android device, with optional line count and filter, to debug app issues or analyze system logs.
Instructions
Dump and tail the current logcat buffer from a connected device (a snapshot, not a live stream).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many lines to tail, default 200 | |
| filter | No | logcat filterspec, e.g. "MyTag:D *:S" | |
| workspace | No | Workspace name (not id) - created automatically if it doesn't exist yet. Defaults to "default". | |
| deviceSerial | No |