get_bitbucket_pr_diff
Retrieve the diff of a Bitbucket pull request for code review. Specify workspace, repository, PR ID, and credentials to get changes with context lines and ignore whitespace options.
Instructions
Get the diff for a Bitbucket pull request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Bitbucket workspace name | |
| repo_slug | Yes | Repository name/slug | |
| pr_id | Yes | Pull request ID | |
| Yes | Atlassian account email | ||
| api_token | Yes | Bitbucket API token (App password) | |
| context_lines | No | Number of context lines around changes. Defaults to 3. | |
| ignore_whitespace | No | Whether to ignore whitespace changes. Defaults to True. | |
| binary | No | Whether to include binary file diffs. Defaults to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |