test_coverage
Analyze coverage reports from lcov, istanbul, and cobertura to reveal covered and uncovered lines, untested functions, and coverage percentages.
Instructions
Analyze test coverage. Reads lcov, istanbul, and cobertura formats. Shows covered/uncovered lines, untested functions, and coverage percentages.
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": {
"action": "<action>"
},
"name": "test_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File path for file-specific coverage | |
| action | Yes | summary: overall coverage stats, file: coverage for specific file, untested: list uncovered files, test_files: find test files |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| action | Yes |