get_file_coverage
Query line-by-line coverage for any file in a repository. Get coverage percentages and hit/miss details by specifying owner, repo, and file path.
Instructions
Get line-by-line coverage data for a specific file in a repository. Returns coverage percentages and line-level hit/miss information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git reference (branch, tag, or commit SHA). Defaults to default branch if not specified. | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (username or organization) | |
| file_path | Yes | Path to the file within the repository (e.g., 'src/index.ts') |