logcat
Dump Android device logs non-blocking with size limits, filtered by app package, tag, minimum level, or timestamp to inspect app behavior during QA.
Instructions
Read the logcat buffer (non-blocking dump), size-capped.
Filters: package (running process), tag, minimum level and since.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 |
|---|---|---|---|
| tag | No | ||
| level | No | Minimum priority: V < D < I < W < E < F. | V |
| since | No | Only lines at or after '[YYYY-]MM-DD HH:MM:SS[.mmm]' (device time). | |
| serial | No | ||
| package | No | Only lines from this app's running process. | |
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| serial | Yes | ||
| entries | Yes | ||
| scanned | Yes | ||
| returned | Yes | ||
| truncated | Yes |