read_adb_logcat
Read a bounded, read-only snapshot of Android logcat for a chosen buffer, optionally filtered by process ID, returning the newest lines for recent device-log inspection without streaming or clearing.
Instructions
Read a bounded dump of the device log (logcat -d -t) for one buffer, optionally restricted to a process id. No streaming, no clearing; the newest lines are kept when the count cap trims. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Restrict to one process id (logcat --pid) | |
| count | No | Number of most recent lines to read (logcat -d -t) | |
| buffer | No | Log buffer to read (logcat -b) | main |
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |