Logs and crashes
read_logsRetrieve an app's log lines (Android logcat) or crash, ANR and exit reports to diagnose failures after an action. Filter by level, text, and time, with secrets redacted.
Instructions
Read the app's log, or with source crashes its crash, ANR and exit reports. Returns, for the log, its own lines (logcat on Android), newest last, secrets redacted; level, contains, limit (200). For crashes: a bounded summary and each report's file; limit (5), symbols. An action the app died under already says why: this is for more. Requests: capture_network.
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": "read_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| level | No | info | |
| limit | No | ||
| since | No | ISO time; default: since the last action | |
| source | No | app | |
| symbols | No | a .dSYM or folder of them; Android: a folder of .so | |
| contains | No |