Get PR Changes
bitbucket_get_pull_request_changesRetrieve file changes in a pull request, including added, modified, deleted, or renamed files. Use this to review affected files before merging.
Instructions
Get the list of files changed in a pull request.
Shows which files were added, modified, deleted, or renamed in the PR.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_key": "<project_key>",
"repository_slug": "<repository_slug>",
"pull_request_id": "<pull_request_id>"
},
"name": "bitbucket_get_pull_request_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-1000) | |
| start | No | Pagination start index | |
| project_key | Yes | The project key | |
| change_scope | No | UNREVIEWED to only show unreviewed changes, or ALL | |
| with_comments | No | Include comment counts per file | |
| pull_request_id | Yes | The pull request ID number | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |