get_pull_request_diff
Retrieve pull request diffs with optional file path, context lines, and include/exclude filters for targeted code review.
Instructions
Get the diff/changes for a pull request with optional filtering
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Specific file path to get diff for (e.g., "src/index.ts") (optional) | |
| workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") | |
| repository | Yes | Repository slug (e.g., "my-repo") | |
| context_lines | No | Number of context lines around changes (optional, default: 3) | |
| pull_request_id | Yes | Pull request ID | |
| exclude_patterns | No | Array of glob patterns to exclude (e.g., ["*.lock", "*.svg"]) (optional) | |
| include_patterns | No | Array of glob patterns to include (e.g., ["*.res", "src/**/*.js"]) (optional) |