bb_get_pr_file_diff
Retrieve the line-by-line diff for a specific file in a Bitbucket pull request, using the PR ID and file path to pinpoint changes.
Instructions
Get the line-by-line diff for one specific file in a pull request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| file_path | Yes | Path of the file to diff | |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |