Skip to main content
Glama

bitbucket_get_pull_request_diff

Retrieve unified text diffs showing additions and deletions for specific files in Bitbucket pull requests to review code changes.

Instructions

Get the text diff for a specific file in a pull request.

Returns the unified diff showing additions and deletions for the specified file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_keyYesThe project key
repository_slugYesThe repository slug
pull_request_idYesThe pull request ID number
pathYesFile path to get the diff for
context_linesNoNumber of context lines around changes (default: 10)
diff_typeNoEFFECTIVE (merge result) or RANGE (commit range)
whitespaceNoWhitespace handling: SHOW, IGNORE_ALL, or IGNORE_TRAILING

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/christopherekfeldt/mcp-bitbucket-dc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server