stream_errors
Retrieve recent error logs from Metro, Android, and iOS devices to diagnose mobile app failures. For specific errors, use wait_for_log instead of polling.
Instructions
Get recent error logs from Metro, Android, and iOS. To wait for a specific error, use wait_for_log(pattern: 'error|exception') in a background subagent instead of polling.
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": "stream_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Restrict android/ios sources to this device's own log buffer. | |
| tailLength | No |