Bitbucket
Work in Bitbucket Cloud: browse workspaces, repositories, files, branches and commits; review, comment on, approve and merge pull requests; create branches and commits; and follow pipelines, code-insights reports, deployments and environments.
Tools38
bitbucket__list_workspacesFreeList the Bitbucket workspaces the connected account belongs to, with whether it administers each.List the Bitbucket workspaces the connected account belongs to, with whether it administers each.
bitbucket__get_workspaceFreeGet a workspace by slug or UUID.Get a workspace by slug or UUID.
bitbucket__list_repositoriesFreeList the repositories in a workspace that the connected account can see, filterable by role and BBQL (e.g. name, project.key, updated_on).List the repositories in a workspace that the connected account can see, filterable by role and BBQL (e.g. name, project.key, updated_on).
bitbucket__get_repositoryFreeGet a repository — its main branch, project, language, size and links.Get a repository — its main branch, project, language, size and links.
bitbucket__get_default_reviewersFreeList a repository's effective default reviewers — its own plus those inherited from its project — who Bitbucket adds to every new pull request.List a repository's effective default reviewers — its own plus those inherited from its project — who Bitbucket adds to every new pull request.
bitbucket__get_file_contentFreeRead a file's text, or list a directory, at a branch, tag or commit (default: the main branch). Long files come back in line windows with next_start_line; binary files return their size, not their bytes.Read a file's text, or list a directory, at a branch, tag or commit (default: the main branch). Long files come back in line windows with next_start_line; binary files return their size, not their bytes.
bitbucket__get_branchFreeGet a branch — its tip commit (target.hash) and allowed merge strategies.Get a branch — its tip commit (target.hash) and allowed merge strategies.
bitbucket__get_commitFreeGet a commit — author, message, date and parents.Get a commit — author, message, date and parents.
bitbucket__list_commit_reportsFreeList the code-insights reports (tests, coverage, security, bugs) attached to a commit.List the code-insights reports (tests, coverage, security, bugs) attached to a commit.
bitbucket__get_commit_reportFreeGet one code-insights report on a commit — its result and data fields.Get one code-insights report on a commit — its result and data fields.
bitbucket__get_commit_report_annotationsFreeList the annotations (findings with file, line, severity) of a code-insights report.List the annotations (findings with file, line, severity) of a code-insights report.
bitbucket__list_pull_requestsFreeList a repository's pull requests — open ones by default — filterable by state and BBQL.List a repository's pull requests — open ones by default — filterable by state and BBQL.
bitbucket__get_pull_requestFreeGet a pull request — branches, commits, description, reviewers and participants with their approval state.Get a pull request — branches, commits, description, reviewers and participants with their approval state.
bitbucket__get_pull_request_diffFreeGet a pull request's unified diff, optionally for chosen files. A diff too long for one call is cut at a line and comes with the changed-file list — ask again with path for the files you need.Get a pull request's unified diff, optionally for chosen files. A diff too long for one call is cut at a line and comes with the changed-file list — ask again with path for the files you need.
bitbucket__list_pull_request_commentsFreeList a pull request's comments — general, inline (with file and line) and replies — oldest first.List a pull request's comments — general, inline (with file and line) and replies — oldest first.
bitbucket__list_pull_request_tasksFreeList a pull request's tasks with their state.List a pull request's tasks with their state.
bitbucket__list_pipelinesFreeList a repository's pipeline runs, newest first, filterable by status, branch, commit and trigger.List a repository's pipeline runs, newest first, filterable by status, branch, commit and trigger.
bitbucket__get_pipelineFreeGet a pipeline run — state, result, target and duration.Get a pipeline run — state, result, target and duration.
bitbucket__list_pipeline_stepsFreeList the steps of a pipeline run with their state.List the steps of a pipeline run with their state.
bitbucket__get_pipeline_stepFreeGet one step of a pipeline run.Get one step of a pipeline run.
bitbucket__get_pipeline_step_logFreeRead a pipeline step's log in byte windows — from the start, from start_byte, or the tail (where failures usually are).Read a pipeline step's log in byte windows — from the start, from start_byte, or the tail (where failures usually are).
bitbucket__list_deploymentsFreeList a repository's deployments with their environment, release and state.List a repository's deployments with their environment, release and state.
bitbucket__get_deploymentFreeGet a deployment.Get a deployment.
bitbucket__list_environmentsFreeList a repository's deployment environments (e.g. Test, Staging, Production).List a repository's deployment environments (e.g. Test, Staging, Production).
bitbucket__get_environmentFreeGet a deployment environment.Get a deployment environment.
bitbucket__create_pull_requestFreeOpen a pull request from a branch (or a fork's branch) into the main branch or destination_branch, with a Markdown description and reviewers.Open a pull request from a branch (or a fork's branch) into the main branch or destination_branch, with a Markdown description and reviewers.
bitbucket__update_pull_requestFreeChange an open pull request's title, description, destination, reviewers, close-source-branch flag or draft state. Only the fields given change; everything else, reviewers included, is kept.Change an open pull request's title, description, destination, reviewers, close-source-branch flag or draft state. Only the fields given change; everything else, reviewers included, is kept.
bitbucket__merge_pull_requestFreeMerge a pull request with a chosen strategy and message. If Bitbucket is still merging when the call returns, the result says so — check get_pull_request instead of merging again.Merge a pull request with a chosen strategy and message. If Bitbucket is still merging when the call returns, the result says so — check get_pull_request instead of merging again.
bitbucket__approve_pull_requestFreeApprove a pull request as the connected account.Approve a pull request as the connected account.
bitbucket__request_changes_on_pull_requestFreeRequest changes on a pull request as the connected account.Request changes on a pull request as the connected account.
bitbucket__add_pull_request_commentFreeComment on a pull request — generally, on a file, on a line or line range of the new or old version, or as a reply.Comment on a pull request — generally, on a file, on a line or line range of the new or old version, or as a reply.
bitbucket__resolve_pull_request_commentFreeResolve a comment thread (by its top-level comment).Resolve a comment thread (by its top-level comment).
bitbucket__reopen_pull_request_commentFreeReopen a resolved comment thread.Reopen a resolved comment thread.
bitbucket__create_pull_request_taskFreeAdd a task to a pull request, optionally under a comment.Add a task to a pull request, optionally under a comment.
bitbucket__set_pull_request_task_stateFreeResolve or reopen a pull request task.Resolve or reopen a pull request task.
bitbucket__create_branchFreeCreate a branch at a commit.Create a branch at a commit.
bitbucket__create_commitFreeCommit file additions, overwrites and deletions to a branch (created if missing) in one commit, without a clone. Returns the new commit's hash.Commit file additions, overwrites and deletions to a branch (created if missing) in one commit, without a clone. Returns the new commit's hash.
bitbucket__run_pipelineFreeStart a pipeline run for a branch, tag or commit — the matching definition, or a custom one by name, with variables. A custom pipeline can deploy; check its definition first.Start a pipeline run for a branch, tag or commit — the matching definition, or a custom one by name, with variables. A custom pipeline can deploy; check its definition first.