get_logs
Fetch app logcat entries with PID-scoping, returning classified errors and counts since the last action or raw lines at a specified priority level for debugging crashes and ANRs.
Instructions
Query app logcat, PID-scoped to the current app.
By default returns the classified delta since the last action (crashes, ANRs,
errors + counts). With level set, returns raw filtered lines at that
priority and above.
Args:
lines: Max lines to fetch when not scoping to the last action.
level: Minimum priority to show raw: V/D/I/W/E.
since_last_action: Scope to the window since the most recent action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| lines | No | ||
| since_last_action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |