get_logs
Retrieve recent app logs from Android or iOS simulators. Filter by process, tag, level, or device to debug mobile app issues.
Instructions
Get recent logs from Android or iOS simulator. Returns device metadata and structured logs suitable for AI consumption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Filter by process id | |
| tag | No | Filter by tag (Android) or subsystem/category (iOS) | |
| appId | No | Filter by Android package name or iOS bundle id | |
| level | No | Log level filter (VERBOSE, DEBUG, INFO, WARN, ERROR) | |
| limit | No | Override default number of returned lines | |
| lines | No | Legacy - number of log lines (android only) | |
| contains | No | Substring to match in log message | |
| deviceId | No | Device UDID (iOS) or Serial (Android). Defaults to booted/connected. | |
| platform | Yes | ||
| since_seconds | No | Only return logs from the last N seconds |