Get pull request diffstat
bb_get_pull_request_diffstatFetches a per-file summary of changes for a pull request, showing added, removed, and modified line counts.
Instructions
Fetches a per-file summary of changes (added/removed/modified, line counts) 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": {
"pullRequestId": "<pullRequestId>"
},
"name": "bb_get_pull_request_diffstat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | No | Repository slug. Falls back to BITBUCKET_REPO_SLUG if omitted. | |
| workspace | No | Bitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted. | |
| pullRequestId | Yes | Pull request ID. |