Diagnose with Tests
diagnose_and_testDiagnose build failures and fetch JUnit test results in one call. Fetches build metadata, then runs failure analysis and test parsing in parallel, saving a round-trip. Provide a build UUID or URL to get a brief or detailed diagnosis.
Instructions
One-call diagnosis + test results — combines diagnose_build and get_build_test_results.
Fetches build metadata once, then runs failure analysis and JUnit test parsing in parallel. Saves a round-trip vs calling both tools separately.
Args: uuid: Build UUID tenant: Tenant (default from env) url: Zuul build URL (alternative to uuid + tenant) brief: Brief diagnosis (default true). Set false for full failure details.
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": "diagnose_and_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| brief | No | ||
| tenant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |