Read Logcat
logcat_readRead Android logcat output and filter by tag, priority, search string, or time to inspect recent device logs for debugging.
Instructions
Read Android logcat output with optional filtering by tag, priority level, or search string
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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by log tag, e.g. 'MyApp' | |
| grep | No | Filter output lines containing this string (case-insensitive) | |
| lines | No | Maximum number of recent log lines to return | |
| since | No | Only show logs since this time, e.g. '2024-01-01 12:00:00.000' | |
| deviceId | No | Target device serial | |
| priority | No | Minimum log priority level (V=Verbose, D=Debug, I=Info, W=Warn, E=Error, F=Fatal) |