bb_write_file
Create or update a file in a Bitbucket repository by providing its path and full content. Choose a branch and commit message to save the change directly to the repo.
Instructions
Write or update a file in a Bitbucket repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file within the repository | |
| branch | No | Branch to commit to | main |
| content | Yes | Full new contents of the file | |
| message | No | Commit message | Update file via MCP |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |