get_changed_files
Retrieve changed files in a Bitbucket pull request or commit, including per-file line additions and deletions for code review and impact analysis.
Instructions
Get the list of files changed in a pull request or commit, with per-file line add/remove counts.
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": {
"ref": "<ref>",
"repoSlug": "<repoSlug>"
},
"name": "get_changed_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | PR number (e.g. "42") or commit hash (e.g. "a1b2c3d4") | |
| repoSlug | Yes | Repository slug (e.g. my-repo) |