get_pr_diff_hunks
Retrieves per-file diff hunks with line mappings for a pull request, enabling accurate inline comment placement by providing old and new line positions with patch content.
Instructions
Get diff hunks with line mapping for all changed files in a PR. Returns per-file hunks with oldStart/oldLines, newStart/newLines, and patch content for accurate inline comment placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner/organization | |
| prNumber | Yes | Pull request number |