logcat
Dump recent Android device logs with optional filter specifications to inspect system and app activity. Use filters like 'ActivityManager:I *:S' to target specific log tags.
Instructions
Dump recent logcat lines. Optional filter_spec e.g. 'ActivityManager:I *:S'.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| lines | No | ||
| serial | No | ||
| filter_spec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||