Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List repository paths
BITBUCKET_LIST_REPOSITORY_PATHSLists file and directory entries under a repository path at a given revision, with optional breadth-first recursion via max_depth for repository traversal and scanning. Fails if the path points to a file rather than a directory.
List repository webhooks
BITBUCKET_LIST_REPOSITORY_WEBHOOKSReturn webhook subscriptions installed on a repository.
List snippets
BITBUCKET_LIST_SNIPPETSLists a page of snippets accessible to the authenticated user, optionally filtered by role (owner, contributor, or member). Pagination parameters select the page and page size.
List tags
BITBUCKET_LIST_TAGSLists tags in a Bitbucket repository with optional server-side filtering by name pattern or commit hash (BBQL) and sorting. Use when you need to discover available tags, search for specific tag patterns, or find tags pointing to specific commits.
List versions
BITBUCKET_LIST_VERSIONSLists versions (milestones) in a Bitbucket repository's issue tracker. Use when you need to discover available versions for associating with issues, or to retrieve version IDs for use with create_issue.
List workspace members
BITBUCKET_LIST_WORKSPACE_MEMBERSLists members of a specified Bitbucket workspace, returning one page of results.
List workspace projects
BITBUCKET_LIST_WORKSPACE_PROJECTSLists projects in a specified Bitbucket workspace, returning a page of results with optional filtering and sorting.
List workspaces
BITBUCKET_LIST_WORKSPACESLists Bitbucket workspaces accessible to the authenticated user, optionally filtered and sorted. Results are paginated; follow the `next` field in each response to retrieve subsequent pages until `next` is absent. When multiple workspaces are returned, verify the correct `slug` or UUID before passing to downstream tools.
Merge Pull Request
BITBUCKET_MERGE_PULL_REQUESTMerge a Bitbucket Cloud pull request, with optional custom merge message, merge strategy, and source branch deletion. The merge may complete asynchronously, returning task details to check completion.
Request Pull Request Changes
BITBUCKET_REQUEST_PULL_REQUEST_CHANGESTool to request changes on a pull request as the authenticated user. Use when you need to formally request changes in a pull request review process, indicating the PR needs modifications before approval.
Resolve pull request comment
BITBUCKET_RESOLVE_PULL_REQUEST_COMMENTTool to resolve or reopen a pull request comment thread. Use when marking a comment as addressed during review or reopening a previously resolved thread.
Search code in user repositories
BITBUCKET_SEARCH_USER_REPOSITORIES_CODETool to search for code in the repositories of a specified user. Use when you need to find specific code patterns, functions, or text across all repositories owned by a user.
Stop pipeline
BITBUCKET_STOP_PIPELINESignal the stop of a pipeline and all of its steps that have not completed yet. This action is irreversible — once stopped, a pipeline cannot be restarted and must be re-triggered to run again. Use this action when you need to cancel a running pipeline execution that is no longer needed or was triggered incorrectly.
Trigger pipeline
BITBUCKET_TRIGGER_PIPELINEStart a pipeline for a branch or tag, optionally pinning a commit, selecting a custom definition, and supplying per-run variables.
Update commit insight report
BITBUCKET_UPDATE_INSIGHTS_PROJECTS_REPOS_COMMITS_REPORTSCreate or update an insight report for a commit. Creates a new report if it doesn't exist, or replaces the existing one if a report already exists for the given repository, commit, and report key. Note: replacing an existing report will be rejected if the authenticated user was not the creator of the specified report.
Update an issue
BITBUCKET_UPDATE_ISSUEUpdates an existing issue in a Bitbucket repository by modifying specified attributes; requires `workspace`, `repo_slug`, `issue_id`, and at least one attribute to update.
Update Pull Request
BITBUCKET_UPDATE_PULL_REQUESTTool to update an existing pull request's editable fields (e.g., title, description, reviewers) via the Bitbucket Cloud API. Use when you need to modify a pull request without creating a new one. Only sends fields that are explicitly provided to avoid accidental overwrites.
Update pull request comment
BITBUCKET_UPDATE_PULL_REQUEST_COMMENTReplace the markdown text of an existing pull request comment and return the updated comment.
Update commit comment
BITBUCKET_UPDATE_REPOSITORIES_COMMIT_COMMENTSUpdates the contents of a comment on a commit. Use when you need to modify an existing comment's text on a commit.
Update commit report annotation
BITBUCKET_UPDATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSCreates or updates an individual annotation for a commit report. Use when you need to add or modify code analysis findings (vulnerabilities, code smells, or bugs) identified in a commit.