get_pull_request_diff
Retrieve the diff of a pull request to review changes. Filter by file or adjust context lines as needed.
Instructions
Get the diff of a pull request.
Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. context_lines: Number of context lines around changes (default 10, max 100). src_path: Optional path to restrict the diff to a specific file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| context_lines | No | ||
| src_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |