logcat_watch
Stream Android logcat for a fixed capture window and return parsed events filtered by tags, PIDs, packages, level, or grep so you can inspect current device activity.
Instructions
Stream logcat for a fixed window (max seconds) and return parsed events. Trigger the action first, then watch — this catches what is happening right now.
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_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | Keep only lines containing this substring | |
| pids | No | Limit to these PIDs | |
| tags | No | Log tags to include | |
| level | No | Minimum level V D I W E F (default V) | |
| limit | No | Max events returned, newest kept (default 200) | |
| seconds | No | Capture window in seconds (default 5) | |
| packages | No | Limit to these app packages |