bb_get_pr_all_file_diffs
Retrieve complete diffs for all modified files in a pull request in a single call, avoiding the need to request each file separately.
Instructions
Get the complete diff for every modified file in a pull request in a single call - much more efficient than calling bb_get_pr_file_diff per file
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": {
"pr_id": "<pr_id>"
},
"name": "bb_get_pr_all_file_diffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace | |
| include_context | No | Keep diff metadata/context lines |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |