Flaky Job Detection
find_flaky_jobsDetect flaky CI jobs by analyzing recent build results, computing pass/fail rates to spot intermittent failures.
Instructions
Detect flaky jobs by analyzing recent build history for intermittent failures.
Computes pass/fail statistics from recent builds. A job with mixed results and >20% failure rate is likely flaky.
Args: job_name: Job name to analyze tenant: Tenant (default from env) project: Project filter pipeline: Pipeline filter limit: Builds to analyze (default 20, max 100) detail: Include individual build list (default false)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_name": "<job_name>"
},
"name": "find_flaky_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| detail | No | ||
| tenant | No | ||
| project | No | ||
| job_name | Yes | ||
| pipeline | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |