streamPullRequestDiff
Retrieves a Bitbucket Data Center pull request diff as unified text, enabling AI clients to inspect code changes for review or analysis.
Instructions
Get the PR diff as unified text
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": {
"repoSlug": "<repoSlug>",
"prId": "<prId>"
},
"name": "streamPullRequestDiff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| repoSlug | Yes | ||
| projectKey | No |