allure_search_failed_tests
Find FAILED and BROKEN tests in the most recent or specified launch to quickly triage what's broken.
Instructions
Find FAILED and BROKEN tests in the most recent (or given) launch.
Useful for triage: "what's broken in the latest run" without listing every test. Performs up to 3 API calls; progress reported via MCP Context.
Args:
project_id: Allure project ID.
launch_id: Specific launch ID. If None, the latest launch is used.
limit: Max failures per status (so up to 2 * limit total).
ctx: MCP Context (auto-injected).
Returns:
dict with keys:
- launch_id (int): the resolved launch (latest if not passed in)
- failed_count (int)
- results (list): id / name / status / duration_ms / error
Examples:
- "What's failing in project 63 right now?" -> project_id=63
- "Failures in launch 98765" -> project_id=N, launch_id=98765
Don't use when:
- You need PASSED tests too (use ``allure_get_test_results`` without status filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Allure project ID. | |
| launch_id | No | Specific launch ID. If omitted, uses the most recent launch. | |
| limit | No | Max failures to return per status. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| launch_id | Yes | ||
| failed_count | Yes | ||
| results | Yes | ||
| reason | Yes |