bitbucket_get_pull_request_diff
Retrieve the diff for a Bitbucket pull request to review changed code and analyze modifications before merging or commenting.
Instructions
Gets the diff for a Bitbucket pull request
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": {
"repository": "<repository>",
"prId": "<prId>"
},
"name": "bitbucket_get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID | |
| project | No | Bitbucket project key | |
| repository | Yes | Repository slug | |
| contextLines | No | Number of context lines |