Summarize test failures
summarize_test_failuresSummarize a previous test run's failures: failing tests, error messages, top project stack frames, likely fix source files, and failure groups by shared error, largest first.
Instructions
Summarize the failures of a previous run_tests call: each failing test with its message, top project stack frames, and likely_source_files (non-test files from the stack — where the fix probably goes), plus groups of failures sharing the same normalized error, largest first.
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>"
},
"name": "summarize_test_failures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run_id returned by run_tests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| run_id | Yes | ||
| failures | Yes | ||
| truncated | Yes | ||
| workspace | Yes | ||
| total_failures | Yes |