Get file coverage
get_file_coverageGet line-by-line coverage for any source file in your Android project, showing exactly which lines are tested and which are not.
Instructions
Show covered/uncovered line numbers of one source file from the latest coverage report (run get_coverage_report 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": {
"file": "<file>"
},
"name": "get_file_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Source file name, e.g. 'BookRepository.kt' | |
| module | No | Module (defaults to session) | |
| projectDir | No | Project root (defaults to session) |