Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Search code in workspace
BITBUCKET_GET_WORKSPACES_SEARCH_CODETool to search for code in the repositories of the specified workspace. Use when you need to find specific code patterns, function definitions, or text across all repositories in a workspace.
List branches
BITBUCKET_LIST_BRANCHESLists branches in a Bitbucket repository with optional server-side filtering by name pattern (BBQL) and sorting. Use when you need to discover available branches, search for specific branch patterns, or navigate repository branch structure.
List commits
BITBUCKET_LIST_COMMITSTool to retrieve a page of commits from a Bitbucket repository. Returns commits in reverse chronological order (newest first), similar to git log. Use when you need to browse commit history, filter commits by branch/tag, or restrict to commits affecting a specific path.
List commits from revision
BITBUCKET_LIST_COMMITS_FROM_REVISIONTool to list commits starting from a specific revision in a Bitbucket repository. Commits are paginated and returned in reverse chronological order. Use when you need to retrieve commit history from a specific commit, branch, or tag.
List commits on master
BITBUCKET_LIST_COMMITS_ON_MASTERLists commits on the master branch of a Bitbucket repository. Use when you need to retrieve the commit history for the master branch, including commit messages, authors, dates, and parent relationships.
List deployments
BITBUCKET_LIST_DEPLOYMENTSLists deployments for a specified Bitbucket repository. Use when you need to view deployment history and status across environments.
List issues in a repository
BITBUCKET_LIST_ISSUESLists issues in a Bitbucket repository with optional filtering by state, priority, kind, or assignee. Use when you need to discover issue IDs or get an overview of repository issues.
List pipelines
BITBUCKET_LIST_PIPELINESList pipelines in a Bitbucket repository, returning pipeline metadata including state, trigger, and build seconds used. Use to browse pipeline history or check pipeline status.
List pipeline step test cases
BITBUCKET_LIST_PIPELINE_STEP_TEST_CASESReturn test cases discovered for one pipeline step, including failures and durations.
List pull request mergeability checks
BITBUCKET_LIST_PULL_REQUEST_MERGEABILITY_CHECKSReturn Bitbucket's current pre-merge checks for one pull request. The result is not exhaustive because Bitbucket cannot evaluate every merge condition before attempting the merge. Use each check's ``blocking`` field, not ``status`` alone, to determine whether it currently prevents merging.
List pull requests
BITBUCKET_LIST_PULL_REQUESTSLists pull requests in a specified, accessible Bitbucket repository, optionally filtering by state (OPEN, MERGED, DECLINED).
List pull requests for commit
BITBUCKET_LIST_PULL_REQUESTS_FOR_COMMITList pull requests in which a repository commit was reviewed. Requires Bitbucket's Pull Request Commit Links app to be installed and the repository to be indexed.
List pull request tasks
BITBUCKET_LIST_PULL_REQUEST_TASKSLists a page of tasks associated with a pull request in a Bitbucket repository, with pagination metadata.
List all public repositories
BITBUCKET_LIST_REPOSITORIESRetrieves a paginated list of all public repositories on Bitbucket. Use when you need to discover or search across public repositories, optionally filtered by role, query string, creation date, or sorted by various fields.
List repository environments
BITBUCKET_LIST_REPOSITORIES_ENVIRONMENTSLists a page of deployment environments configured for a Bitbucket repository, with optional filtering and sorting. Use it to view available environments, check their configurations, or select one for deployment operations.
List repositories in workspace
BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACELists repositories in a specified Bitbucket workspace, accessible to the authenticated user, with options to filter by role or query string, and sort results. Responses are paginated; iterate using the `next` field in each response until it is absent to retrieve all repositories.
List repository forks
BITBUCKET_LIST_REPOSITORY_FORKSRetrieves a paginated list of all forks for a specific repository in a Bitbucket workspace. Returns repository objects for each fork with metadata like owner, creation date, and size. Use this action when you need to discover who has forked a repository or analyze fork relationships.
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 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.