get_logcat
Retrieve recent logcat output from Android devices and filter by a text fragment (case-insensitive) to isolate relevant messages.
Instructions
Read recent logcat lines, optionally retaining only lines containing a case-insensitive text fragment.
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": "get_logcat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| contains | No | ||
| device_serial | No | ADB serial such as emulator-5554, a USB serial, or host:port. If omitted, the active device is used; a sole ready device is selected automatically. |