get_failed_tests
Fetch failed tests from a GitHub Actions job with full error details. Adjust error line count and filter by suite to pinpoint root causes.
Instructions
Get failed tests for a job with full error details. Use error_lines param to control stack trace length. Returns all failures by default (no limit).
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": {
"run_id": "<run_id>",
"job_id": "<job_id>"
},
"name": "get_failed_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of failed tests to return (default: all) | |
| suite | No | Filter by test suite name (e.g., "FeatureFlags Middleware") | |
| job_id | Yes | GitHub Actions job ID | |
| run_id | Yes | GitHub Actions workflow run ID | |
| error_lines | No | Number of error lines to include per test (default: 5, max: 50) |