get_patch_failed_jobs_evergreen
Analyze failed CI/CD jobs for a patch to debug build failures, showing failed tasks, timeout issues, and test failure counts with log links.
Instructions
Analyze failed CI/CD jobs for a specific patch to understand why builds are failing. Shows detailed failure information including failed tasks, build variants, timeout issues, log links, and test failure counts. Essential for debugging patch failures. If project_id is not specified, will automatically detect it from your workspace directory and recent patch activity.This tool may return a list of available project_ids if it cannot determine the project_id automatically.You should ask the user which project they want to use, then call this tool again with the project_id parameter set to their choice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch_id | Yes | Patch identifier obtained from list_user_recent_patches. This is the 'patch_id' field from the patches array. | |
| project_id | No | Evergreen project identifier for the patch. If not provided, will auto-detect. | |
| max_results | No | Maximum number of failed tasks to analyze. Use 10-20 for focused analysis, 50+ for comprehensive failure review. | |
| bearer_token | No | Override with a bearer token for this request. If not provided, uses the server's default credentials. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |