Parse a build log
parse_build_logParse native build logs (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with probable causes and suggested fixes to quickly resolve build failures.
Instructions
Parse a native build log (xcodebuild, Gradle, CocoaPods, Metro) into structured diagnostics with probable causes and suggested fixes. Use on logs from terminals, CI, or a logPath from get_build_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logPath | No | Path to a log file on disk (max 20MB) | |
| logText | No | Raw log text (max 256KB) — provide exactly one of logPath/logText |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errorCount | Yes | ||
| diagnostics | Yes | ||
| warningCount | Yes | ||
| platformGuess | Yes | ||
| unmatchedTail | No |