get_bundler_logs
Retrieve recent Metro bundler, Android, or iOS logs to diagnose mobile app issues. Specify source and device to filter log output.
Instructions
Get recent logs from Metro bundler, Android, or iOS. To wait for a specific line, use wait_for_log in a background subagent instead of polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Log source: 'metro', 'android', 'ios', or 'all' (default 'all') | |
| deviceId | No | Restrict android/ios sources to this device's own log buffer. Useful when capturing logs for multiple devices at once; omit to merge all devices' buffers. | |
| tailLength | No | Number of lines to return (default 100) |