Pull request diff
get_pull_request_diffRetrieve the full unified diff of a Bitbucket pull request to enable first-pass code review. Compare changes and evaluate modifications directly.
Instructions
Returns the PR's full unified diff — the basis for a first-pass review.
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": {
"repo": "<repo>",
"id": "<id>"
},
"name": "get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pull request number. | |
| repo | Yes | Repository repo_slug. | |
| workspace | No | Bitbucket workspace. Omit to use BITBUCKET_WORKSPACE. |