get_pull_request_diff
Fetch the diff of a Bitbucket pull request using workspace, repository slug, and PR ID to review code changes.
Instructions
Get the diff of a 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": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>"
},
"name": "get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | Yes | Repository slug | |
| workspace | Yes | Bitbucket workspace slug |