bb_write_file
Write or update files in a Bitbucket repository, specifying workspace, repo slug, path, content, commit message, and branch. Streamline file management within Bitbucket repositories.
Instructions
Write/update a file in a Bitbucket repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name (defaults to main/master) | main |
content | Yes | Content to write to the file | |
message | No | Commit message | Update file via MCP |
path | Yes | Path where to create/update the file | |
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"
},
"content": {
"description": "Content to write to the file",
"type": "string"
},
"message": {
"default": "Update file via MCP",
"description": "Commit message",
"type": "string"
},
"path": {
"description": "Path where to create/update the file",
"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",
"content"
],
"type": "object"
}