Get crash logs
get_crash_logsRetrieve Android crash logs covering Java exceptions, native crashes, and ANRs to diagnose app failures.
Instructions
Dump the crash log buffer (Java exceptions, native crashes, ANRs).
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_crash_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Max lines (default 300) | |
| serial | No | Device serial (defaults to session or the only device) |