Diagnose Build Failure
diagnose_buildDiagnose CI build failures in one call: get structured failure details plus relevant log context from Zuul. Returns everything needed to understand the root cause.
Instructions
One-call failure diagnosis — structured failures + relevant log context.
Combines get_build_failures (which task failed, error message) with targeted log grep (surrounding context from job-output.txt). Returns everything needed to understand a failure in a single call.
Use this instead of calling get_build_failures + get_build_log separately.
Args: uuid: Build UUID tenant: Tenant (default from env) url: Zuul build URL (alternative to uuid + tenant) brief: Return only classification + root cause (default false). Omits playbooks, log_context, and full task details for ~95% smaller response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| brief | No | ||
| tenant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |