bb_delete_file
Remove files from a Bitbucket repository using a commit, specifying workspace, repo slug, file path, and branch. Streamline file deletion with automated commit messages.
Instructions
Delete a file from a Bitbucket repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name (defaults to main/master) | main |
message | No | Commit message for the deletion | Delete file via MCP |
path | Yes | Path to the file to delete | |
repo_slug | Yes | Repository slug/name | |
workspace | No | Repository workspace (defaults to kallows) | kallows |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"default": "main",
"description": "Branch name (defaults to main/master)",
"type": "string"
},
"message": {
"default": "Delete file via MCP",
"description": "Commit message for the deletion",
"type": "string"
},
"path": {
"description": "Path to the file to delete",
"type": "string"
},
"repo_slug": {
"description": "Repository slug/name",
"type": "string"
},
"workspace": {
"default": "kallows",
"description": "Repository workspace (defaults to kallows)",
"type": "string"
}
},
"required": [
"repo_slug",
"path"
],
"type": "object"
}