Bitbucket
Overview
SLUG: BITBUCKET
Description
Bitbucket is a Git-based code hosting and collaboration platform supporting private and public repositories, enabling teams to manage and review code through pull requests and integrations
Authentication Details
OAuth2
Connecting to Bitbucket
Create an auth config
Use the dashboard to create an auth config for the Bitbucket toolkit. This allows you to connect multiple Bitbucket accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Bitbucket toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
BITBUCKET_CREATE_BRANCH
Tool Name: Create a branch
Description
Action Parameters
Action Response
BITBUCKET_CREATE_ISSUE
Tool Name: Create an issue
Description
Action Parameters
Action Response
BITBUCKET_CREATE_ISSUE_COMMENT
Tool Name: Create an issue comment
Description
Action Parameters
Action Response
BITBUCKET_CREATE_PULL_REQUEST
Tool Name: Create a pull request
Description
Action Parameters
Action Response
BITBUCKET_CREATE_REPOSITORY
Tool Name: Create repository
Description
Action Parameters
Action Response
BITBUCKET_DELETE_ISSUE
Tool Name: Delete issue
Description
Action Parameters
Action Response
BITBUCKET_DELETE_REPOSITORY
Tool Name: Delete repository
Description
Action Parameters
Action Response
BITBUCKET_GET_CURRENT_USER
Tool Name: Get current user
Description
Action Parameters
Action Response
BITBUCKET_GET_FILE_FROM_REPOSITORY
Tool Name: Get file from repository
Description
Action Parameters
Action Response
BITBUCKET_GET_SNIPPET
Tool Name: Get snippet
Description
Action Parameters
Action Response
BITBUCKET_LIST_PULL_REQUESTS
Tool Name: List pull requests
Description
Action Parameters
Action Response
BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACE
Tool Name: List repositories in workspace
Description
Action Parameters
Action Response
BITBUCKET_LIST_WORKSPACES
Tool Name: List workspaces
Description
Action Parameters
Action Response
BITBUCKET_LIST_WORKSPACE_MEMBERS
Tool Name: List workspace members
Description
Action Parameters
Action Response
BITBUCKET_CREATE_SNIPPET_COMMENT
Tool Name: Create snippet comment
Description
Action Parameters
Action Response
BITBUCKET_UPDATE_ISSUE
Tool Name: Update an issue
Description
Action Parameters
Action Response