getPullRequestDiff
Retrieve the raw diff for a specific Bitbucket pull request using its repository slug and pull request ID to inspect exact code changes.
Instructions
Get the raw diff for 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": {
"repoSlug": "<repoSlug>",
"pullRequestId": "<pullRequestId>"
},
"name": "getPullRequestDiff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace name | |
| pullRequestId | Yes | Pull request ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Tool-specific result payload | |
| status | Yes | Whether the tool call succeeded | |
| message | Yes | Human-readable status message |