getCodeCoverage
Parse coverage reports (lcov, coverage-summary.json, clover.xml) to get per-file line, branch, and function coverage percentages. Filter by file path or minimum coverage threshold.
Instructions
Parse coverage report (lcov/coverage-summary.json/clover.xml) → per-file line/branch/fn %. Does not run tests.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getCodeCoverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Coverage report path. Omit to auto-detect in coverage/ | |
| minCoverage | No | Filter: only return files below this coverage % |