Get pull request diff
bb_get_pull_request_diffFetches the unified diff of a pull request as raw text for reviewing code changes.
Instructions
Fetches the unified diff of a pull request as raw text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | No | Repository slug. Falls back to BITBUCKET_REPO_SLUG if omitted. | |
| workspace | No | Bitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted. | |
| contextLines | No | Lines of context around each change. | |
| pullRequestId | Yes | Pull request ID. |