Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Approve Pull Request
BITBUCKET_APPROVE_PULL_REQUESTTool to approve a pull request as the authenticated user. Use when you need to formally approve changes in a pull request review process.
Browse repository path
BITBUCKET_BROWSE_REPOSITORY_PATHRetrieves file content or browses directory contents at a specified revision in a Bitbucket repository. File content is returned as text or base64-encoded binary data; directory listings are paginated, and metadata can also be requested.
Commit files
BITBUCKET_COMMIT_FILESCreate one commit that adds, replaces, or deletes text files in a repository.
Create a branch
BITBUCKET_CREATE_BRANCHCreates a new branch in a Bitbucket repository from a target commit hash; the branch name must be unique, adhere to Bitbucket's naming conventions, and not include the 'refs/heads/' prefix.
Create an issue
BITBUCKET_CREATE_ISSUECreates a new issue in a Bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component IDs exist.
Create an issue comment
BITBUCKET_CREATE_ISSUE_COMMENTAdds a new comment with markdown support to an existing Bitbucket issue.
Create a pull request
BITBUCKET_CREATE_PULL_REQUESTCreates a new pull request in a specified Bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.
Create pull request comment
BITBUCKET_CREATE_PULL_REQUEST_COMMENTCreates a new comment on a Bitbucket pull request. Supports top-level comments, threaded replies, and inline code comments. Use when providing feedback on a PR, replying to existing comments, or commenting on specific code lines.
Create commit report annotations
BITBUCKET_CREATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSAdds multiple annotations to a commit report in bulk. Use when you need to add code analysis findings (vulnerabilities, code smells, bugs) to a report attached to a specific commit.
List commits from revision (POST)
BITBUCKET_CREATE_REPOSITORIES_COMMITS2Tool to list commits from a revision using POST method. Identical to GET endpoint but allows sending include/exclude parameters in request body to avoid URL length limits. Use when include/exclude parameters are too long for query strings.
Create repository
BITBUCKET_CREATE_REPOSITORYCreates a new Bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project_key` is not provided.
Create snippet comment
BITBUCKET_CREATE_SNIPPET_COMMENTPosts a new top-level comment or a threaded reply to an existing comment on a specified Bitbucket snippet.
Create team pipeline variable
BITBUCKET_CREATE_TEAMS_PIPELINES_CONFIG_VARIABLESCreates a workspace-level pipeline configuration variable in Bitbucket for the workspace identified by the supplied team username. Use to add environment variables or configuration values for pipelines in that workspace.
Create user pipeline variable
BITBUCKET_CREATE_USERS_PIPELINES_CONFIG_VARIABLESCreates a user-level pipeline variable for Bitbucket pipelines. Use when you need to create account-level configuration variables that can be used across all repositories owned by the user.
Decline Pull Request
BITBUCKET_DECLINE_PULL_REQUESTDecline a Bitbucket Cloud pull request via the REST API. Use this action when you need to reject a pull request that should not be merged. This action is irreversible — once declined, the pull request cannot be reopened and must be recreated if needed.
Delete branch
BITBUCKET_DELETE_BRANCHDelete a non-main branch from a Bitbucket repository.
Delete commit comment
BITBUCKET_DELETE_COMMIT_COMMENTPermanently deletes a specific comment on a commit. Use when removing outdated, incorrect, or unwanted feedback on a commit.
Delete issue
BITBUCKET_DELETE_ISSUEPermanently deletes a specific issue, identified by its `issue_id`, from the repository specified by `repo_slug` within the given `workspace`.
Delete pull request comment
BITBUCKET_DELETE_PULL_REQUEST_COMMENTPermanently deletes a specific pull request comment (top-level, inline, or threaded reply). Use when removing outdated, incorrect, or unwanted feedback from a pull request.
Delete commit report annotation
BITBUCKET_DELETE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSDeletes a single annotation matching the provided ID from a commit report. Use when you need to remove a specific annotation from a code analysis report.