adb_logcat
Retrieve recent Android device logs (last N lines) with an optional grep filter for targeted debugging and log analysis on a specified device.
Instructions
Get recent logs from an Android device (last N lines).
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": "adb_logcat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| filter | No | Optional grep filter | |
| deviceId | No | Target device serial |