get_blame
Identify who changed specific lines in a file with line-by-line git blame annotations, including commit, author, and PR metadata. Slice results using start and end lines.
Instructions
Returns line-by-line git blame annotations for a file at a commit or ref. Use to identify who changed specific lines, when, in which commit, and via which PR. Returns ranges of lines with commit, author, and PR metadata. Use start_line and end_line to slice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA (default: default branch / HEAD). | |
| path | Yes | File path inside repository. | |
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner (organization or user). | |
| end_line | No | Optional 1-indexed ending line number. | |
| start_line | No | Optional 1-indexed starting line number. |