diagnose_log
Extract the error signature from a failing build or runtime log and retrieve the documentation pages that explain that class of failure.
Instructions
Extract the error from a failing build or runtime log and fetch the docs for it.
Reduces the log to one error signature — the most specific failure line, not the last one — and returns the documentation pages explaining that class of failure.
Args: log: The raw log text. Only the last 300 lines are read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |