allure_search_failed_tests
Retrieve failed and broken tests from the most recent or a specific launch, enabling quick triage of issues without reviewing all test results.
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 |