logcat_dump
Read recent Android log entries filtered by level, tag, PID, package, or keyword to debug runtime behavior without blocking on a live stream.
Instructions
Read recent Android log entries, filtered by level/tag/pid/keyword. Use for debugging runtime behaviour without blocking on a live stream.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logcat_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | Substring to keep (case-insensitive) | |
| pids | No | Only lines from these PIDs | |
| tags | No | Log tags to include, e.g. ['ActivityManager'] | |
| clear | No | Clear the buffer after reading (default false) | |
| level | No | Minimum level: V D I W E F (default W) | |
| limit | No | Max lines returned, newest kept (default 300) | |
| seconds | No | If the buffer is empty, stream for N seconds (default 3) | |
| packages | No | Only lines from these app packages |