logcat_dump
Retrieve recent Android logcat lines as structured records, filtered by tag, priority, or message substring, with optional tail limit. Reads from active buffer or performs one-shot dump.
Instructions
Return recent logcat lines as records {time, pid, tid, level, tag, message}.
Reads the running capture's buffer if active, else does a one-shot logcat -d.
tags = filter by tag substring(s); priority = min level V/D/I/W/E/F;
message_contains = substring filter on the message; tail = newest N records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| tail | No | ||
| serial | No | ||
| priority | No | ||
| message_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |