bitbucket-mcp
v0.5.0MCP server for comprehensive Bitbucket Cloud API integration
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
setup_bitbucket Setup Bitbucket
Configure Bitbucket credentials for the MCP server.
| Parameter | Type | Description |
|---|---|---|
api_token * | string | Atlassian API Token from https://id.atlassian.com/manage-profile/security/api-tokens |
username * | string | Your Atlassian account email (e.g., "user@example.com") |
workspace * | string | Bitbucket workspace slug (e.g., "myworkspace") |
get_config_status Get Config Status
Check if Bitbucket is configured and return current status.
create_pull_request Create Pull Request
Create a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
source_branch * | string | Branch to merge from |
title * | string | PR title |
description | string | PR description (optional) |
destination_branch | string | Branch to merge into (default: main) |
reviewers | List of reviewer UUIDs or account_ids (optional). These are added in addition to default reviewers. | |
use_default_reviewers | boolean | Whether to include default reviewers (default: True) |
workspace | Bitbucket workspace (optional if configured) |
list_pull_requests List Pull Requests
List Pull Requests for a repository on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 50 (default: 25) |
state | string | PR state filter - OPEN, MERGED, DECLINED, SUPERSEDED, or ALL (default: OPEN) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request Get Pull Request
Get details of a specific Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
update_pull_request Update Pull Request
Update/edit an existing Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID to update |
repo_slug * | string | Repository slug (name) |
close_source_branch | Whether to close source branch on merge (optional) | |
description | New PR description (optional) | |
destination_branch | New destination branch (optional) | |
reviewers | List of reviewer UUIDs or account_ids to set as reviewers (optional). Pass empty list [] to remove all reviewers. | |
title | New PR title (optional) | |
workspace | Bitbucket workspace (optional if configured) |
approve_pull_request Approve Pull Request
Approve a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID to approve |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
unapprove_pull_request Unapprove Pull Request
Remove approval from a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID to unapprove |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
request_changes_pull_request Request Changes Pull Request
Request changes on a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
add_pull_request_comment Add Pull Request Comment
Add a comment to a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment text (supports markdown) |
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_comments Get Pull Request Comments
Get comments from a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 50) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_diffstat Get Pull Request Diffstat
Get a summary of files changed in a Pull Request with line counts.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_diff Get Pull Request Diff
Get the diff (code changes) for a Pull Request.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
context_lines | integer | Number of context lines around changes (default: 3) |
file_path | Optional specific file path to get diff for (recommended for large PRs) | |
workspace | Bitbucket workspace (optional if configured) |
merge_pull_request Merge Pull Request
Merge a Pull Request on Bitbucket Cloud.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID to merge |
repo_slug * | string | Repository slug (name) |
close_source_branch | boolean | Whether to close the source branch after merge (default: False) |
merge_strategy | string | Merge strategy - "merge_commit", "squash", or "fast_forward" (default: merge_commit) |
message | Custom merge commit message (optional) | |
workspace | Bitbucket workspace (optional if configured) |
decline_pull_request Decline Pull Request
Decline/close a Pull Request on Bitbucket Cloud without merging.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID to decline |
repo_slug * | string | Repository slug (name) |
reason | Optional reason for declining (will be added as a comment) | |
workspace | Bitbucket workspace (optional if configured) |
reply_to_comment Reply To Comment
Reply to a specific comment on a Pull Request.
| Parameter | Type | Description |
|---|---|---|
comment_id * | integer | ID of the comment to reply to |
content * | string | Reply text (supports markdown) |
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
add_inline_comment Add Inline Comment
Add an inline comment on a specific line of code in a Pull Request.
| Parameter | Type | Description |
|---|---|---|
content * | string | Comment text (supports markdown) |
file_path * | string | Path to the file to comment on |
line * | integer | Line number to comment on |
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
delete_comment Delete Comment
Delete a comment from a Pull Request.
| Parameter | Type | Description |
|---|---|---|
comment_id * | integer | ID of the comment to delete |
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_activity Get Pull Request Activity
Get the activity/timeline of a Pull Request including comments, approvals, and updates.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 50) |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_commits Get Pull Request Commits
Get the list of commits in a Pull Request.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 50) |
workspace | Bitbucket workspace (optional if configured) |
add_reviewer Add Reviewer
Add a reviewer to a Pull Request without removing existing reviewers.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
reviewer * | string | UUID or account_id of the reviewer to add |
workspace | Bitbucket workspace (optional if configured) |
remove_reviewer Remove Reviewer
Remove a reviewer from a Pull Request.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
reviewer * | string | UUID or account_id of the reviewer to remove |
workspace | Bitbucket workspace (optional if configured) |
get_pull_request_merge_status Get Pull Request Merge Status
Check if a Pull Request can be merged and get merge status details.
| Parameter | Type | Description |
|---|---|---|
pr_id * | integer | Pull Request ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
list_repositories List Repositories
List repositories in a Bitbucket workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
query | Optional search query to filter repositories by name | |
workspace | Bitbucket workspace (optional if configured) |
get_repository Get Repository
Get detailed information about a specific repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
create_repository Create Repository
Create a new repository in a Bitbucket workspace.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (URL-friendly name) |
description | Repository description (optional) | |
fork_policy | string | Fork policy - "allow_forks", "no_public_forks", or "no_forks" (default: no_public_forks) |
is_private | boolean | Whether the repository is private (default: True) |
language | Programming language (optional) | |
project_key | Project key to create the repo under (optional) | |
workspace | Bitbucket workspace (optional if configured) |
update_repository Update Repository
Update repository settings.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
description | New description (optional) | |
fork_policy | Fork policy - "allow_forks", "no_public_forks", or "no_forks" (optional) | |
has_issues | Enable/disable issue tracker (optional) | |
has_wiki | Enable/disable wiki (optional) | |
is_private | Whether the repository is private (optional) | |
language | Programming language (optional) | |
workspace | Bitbucket workspace (optional if configured) |
delete_repository Delete Repository
Delete a repository. This action is irreversible.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
fork_repository Fork Repository
Fork a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) to fork |
new_name | Name for the forked repository (optional, defaults to original name) | |
workspace | Bitbucket workspace (optional if configured) |
list_repository_forks List Repository Forks
List forks of a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
list_branches List Branches
List branches in a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
query | Optional search query to filter branches by name | |
workspace | Bitbucket workspace (optional if configured) |
create_branch Create Branch
Create a new branch in a repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the new branch |
repo_slug * | string | Repository slug (name) |
target * | string | Commit hash, branch name, or tag to branch from |
workspace | Bitbucket workspace (optional if configured) |
delete_branch Delete Branch
Delete a branch from a repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | Branch name to delete |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
list_tags List Tags
List tags in a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
query | Optional search query to filter tags by name | |
workspace | Bitbucket workspace (optional if configured) |
create_tag Create Tag
Create a new tag in a repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the new tag |
repo_slug * | string | Repository slug (name) |
target * | string | Commit hash to tag |
workspace | Bitbucket workspace (optional if configured) |
delete_tag Delete Tag
Delete a tag from a repository.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tag name to delete |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_branching_model Get Branching Model
Get the branching model configuration for a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_file_contents Get File Contents
Get the contents of a file from a repository at a specific branch/commit.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Path to the file in the repository |
repo_slug * | string | Repository slug (name) |
ref | string | Branch name, tag, or commit hash (default: main) |
workspace | Bitbucket workspace (optional if configured) |
list_commits List Commits
List commits in a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
branch | Branch name to list commits from (optional) | |
exclude | Commit hash to exclude (optional) | |
include | Commit hash to include (optional) | |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
get_commit Get Commit
Get details of a specific commit.
| Parameter | Type | Description |
|---|---|---|
commit_hash * | string | The commit hash |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_commit_diff Get Commit Diff
Get the diff for a commit or commit range.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
spec * | string | Commit hash or range (e.g., "abc123" or "abc123..def456") |
workspace | Bitbucket workspace (optional if configured) |
get_commit_diffstat Get Commit Diffstat
Get the diffstat (summary of changes) for a commit or commit range.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
spec * | string | Commit hash or range (e.g., "abc123" or "abc123..def456") |
workspace | Bitbucket workspace (optional if configured) |
list_commit_statuses List Commit Statuses
List build statuses for a specific commit.
| Parameter | Type | Description |
|---|---|---|
commit_hash * | string | The commit hash |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
create_build_status Create Build Status
Create a build status for a commit.
| Parameter | Type | Description |
|---|---|---|
commit_hash * | string | The commit hash |
key * | string | Unique key for this build status |
repo_slug * | string | Repository slug (name) |
state * | string | Build state - "SUCCESSFUL", "FAILED", "INPROGRESS", or "STOPPED" |
description | Description of the build status (optional) | |
name | Display name for the build (optional) | |
url | URL to the build results (optional) | |
workspace | Bitbucket workspace (optional if configured) |
list_commit_comments List Commit Comments
List comments on a specific commit.
| Parameter | Type | Description |
|---|---|---|
commit_hash * | string | The commit hash |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
list_pipelines List Pipelines
List pipelines for a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
sort | Sort field (e.g., "-created_on" for newest first) (optional) | |
workspace | Bitbucket workspace (optional if configured) |
get_pipeline Get Pipeline
Get details of a specific pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_uuid * | string | Pipeline UUID (with or without braces) |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
trigger_pipeline Trigger Pipeline
Trigger a new pipeline run.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
branch | Branch to run pipeline on (optional, defaults to main branch) | |
custom_pipeline | Name of custom pipeline to run (optional) | |
variables | List of pipeline variables as [{"key": "name", "value": "val", "secured": false}] (optional) | |
workspace | Bitbucket workspace (optional if configured) |
stop_pipeline Stop Pipeline
Stop a running pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_uuid * | string | Pipeline UUID (with or without braces) |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
list_pipeline_steps List Pipeline Steps
List steps in a pipeline.
| Parameter | Type | Description |
|---|---|---|
pipeline_uuid * | string | Pipeline UUID (with or without braces) |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
get_pipeline_step_log Get Pipeline Step Log
Get the log output for a pipeline step.
| Parameter | Type | Description |
|---|---|---|
pipeline_uuid * | string | Pipeline UUID (with or without braces) |
repo_slug * | string | Repository slug (name) |
step_uuid * | string | Step UUID (with or without braces) |
workspace | Bitbucket workspace (optional if configured) |
list_pipeline_variables List Pipeline Variables
List pipeline variables configured for a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
create_pipeline_variable Create Pipeline Variable
Create a pipeline variable for a repository.
| Parameter | Type | Description |
|---|---|---|
key * | string | Variable name |
repo_slug * | string | Repository slug (name) |
value * | string | Variable value |
secured | boolean | Whether the variable is secured/encrypted (default: False) |
workspace | Bitbucket workspace (optional if configured) |
list_workspace_members List Workspace Members
List members of a Bitbucket workspace. Use this to find users who can be added as reviewers.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 50) |
workspace | Bitbucket workspace (optional if configured) |
get_default_reviewers Get Default Reviewers
Get the default reviewers configured for a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
list_workspaces List Workspaces
List all workspaces the authenticated user has access to.
get_workspace_details Get Workspace Details
Get detailed information about a workspace.
| Parameter | Type | Description |
|---|---|---|
workspace | Bitbucket workspace slug (optional if configured) |
list_workspace_permissions List Workspace Permissions
List permissions for a workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 50) |
workspace | Bitbucket workspace (optional if configured) |
list_projects List Projects
List projects in a workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
get_project Get Project
Get details of a specific project.
| Parameter | Type | Description |
|---|---|---|
project_key * | string | Project key |
workspace | Bitbucket workspace (optional if configured) |
create_project Create Project
Create a new project in a workspace.
| Parameter | Type | Description |
|---|---|---|
key * | string | Project key (unique identifier, uppercase letters and numbers) |
name * | string | Project name |
description | Project description (optional) | |
is_private | boolean | Whether the project is private (default: True) |
workspace | Bitbucket workspace (optional if configured) |
search_code Search Code
Search for code across repositories in a workspace.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
get_current_user Get Current User
Get the currently authenticated user's profile information.
get_user_profile Get User Profile
Get a user's public profile information.
| Parameter | Type | Description |
|---|---|---|
username * | string | Bitbucket username or UUID |
get_user_permissions Get User Permissions
Get the current user's repository permissions.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Filter by workspace (optional) |
list_issues List Issues
List issues in a repository's issue tracker.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
priority | Filter by priority - "trivial", "minor", "major", "critical", "blocker" (optional) | |
query | Search query to filter issues (optional) | |
state | Filter by state - "new", "open", "resolved", "on hold", "invalid", "duplicate", "wontfix", "closed" (optional) | |
workspace | Bitbucket workspace (optional if configured) |
create_issue Create Issue
Create a new issue in a repository's issue tracker.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
title * | string | Issue title |
assignee | Account ID of the assignee (optional) | |
content | Issue description in markdown (optional) | |
kind | string | Issue kind - "bug", "enhancement", "proposal", or "task" (default: bug) |
priority | string | Issue priority - "trivial", "minor", "major", "critical", or "blocker" (default: major) |
workspace | Bitbucket workspace (optional if configured) |
get_issue Get Issue
Get details of a specific issue.
| Parameter | Type | Description |
|---|---|---|
issue_id * | integer | Issue ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
update_issue Update Issue
Update an existing issue.
| Parameter | Type | Description |
|---|---|---|
issue_id * | integer | Issue ID |
repo_slug * | string | Repository slug (name) |
assignee | Account ID of new assignee, or empty string to unassign (optional) | |
content | New issue description in markdown (optional) | |
kind | New kind - "bug", "enhancement", "proposal", "task" (optional) | |
priority | New priority - "trivial", "minor", "major", "critical", "blocker" (optional) | |
state | New state - "new", "open", "resolved", "on hold", "invalid", "duplicate", "wontfix", "closed" (optional) | |
title | New issue title (optional) | |
workspace | Bitbucket workspace (optional if configured) |
list_issue_comments List Issue Comments
List comments on an issue.
| Parameter | Type | Description |
|---|---|---|
issue_id * | integer | Issue ID |
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
add_issue_comment Add Issue Comment
Add a comment to an issue.
| Parameter | Type | Description |
|---|---|---|
content * | string | Comment text (supports markdown) |
issue_id * | integer | Issue ID |
repo_slug * | string | Repository slug (name) |
workspace | Bitbucket workspace (optional if configured) |
list_webhooks List Webhooks
List webhooks configured for a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
create_webhook Create Webhook
Create a webhook for a repository.
| Parameter | Type | Description |
|---|---|---|
events * | array | List of events to subscribe to (e.g., ["repo:push", "pullrequest:created"]) |
repo_slug * | string | Repository slug (name) |
url * | string | The URL to receive webhook events |
active | boolean | Whether the webhook is active (default: True) |
description | Webhook description (optional) | |
workspace | Bitbucket workspace (optional if configured) |
delete_webhook Delete Webhook
Delete a webhook from a repository.
| Parameter | Type | Description |
|---|---|---|
repo_slug * | string | Repository slug (name) |
webhook_uid * | string | Webhook UUID (with or without braces) |
workspace | Bitbucket workspace (optional if configured) |
list_workspace_webhooks List Workspace Webhooks
List webhooks configured for a workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
list_snippets List Snippets
List snippets in a workspace.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number for pagination (default: 1) |
pagelen | integer | Number of results per page, max 100 (default: 25) |
workspace | Bitbucket workspace (optional if configured) |
create_snippet Create Snippet
Create a new snippet.
| Parameter | Type | Description |
|---|---|---|
content * | string | Snippet file content |
filename * | string | Filename for the snippet content |
title * | string | Snippet title |
is_private | boolean | Whether the snippet is private (default: False) |
workspace | Bitbucket workspace (optional if configured) |
get_snippet Get Snippet
Get details of a specific snippet.
| Parameter | Type | Description |
|---|---|---|
snippet_id * | string | Snippet ID |
workspace | Bitbucket workspace (optional if configured) |
delete_snippet Delete Snippet
Delete a snippet.
| Parameter | Type | Description |
|---|---|---|
snippet_id * | string | Snippet ID |
workspace | Bitbucket workspace (optional if configured) |