bb_create_commit_files
Create or update files in a Bitbucket repository with a single commit. Specify files, branch, and commit message to apply changes directly.
Instructions
Create or update files in a Bitbucket repository by creating a new commit
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_slug": "<repo_slug>",
"branch": "<branch>",
"message": "<message>",
"files": "<files>"
},
"name": "bb_create_commit_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Map of file paths to file contents (e.g. {"src/main.ts": "console.log('hello')"}) | |
| author | No | Author string in 'Name <email>' format (uses authenticated user if not set) | |
| branch | Yes | Target branch for the commit | |
| message | Yes | Commit message | |
| repo_slug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace slug (uses default if not set) |