Read Android logcat
devilge_get_logcatRetrieve recent Android device logcat output to diagnose crashes, ANRs, and runtime errors.
Instructions
Reads recent logcat output from a connected Android device or emulator using adb. Useful for diagnosing crashes, ANRs, runtime errors, and tracing application logs.
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": "devilge_get_logcat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (from devilge_list_devices). Defaults to the only attached device. | |
| maxLines | No | Maximum number of recent log lines to return. | |
| minLevel | No | Minimum log level to include. Defaults to all. | |
| tagFilter | No | Restrict output to a single logcat tag. |