bb_delete_file
Delete a file from a Bitbucket branch and commit the change automatically. Specify the branch and file path; the commit message is 'Delete ' unless a custom message is provided.
Instructions
Remove a file from 'branch' with a commit. The commit message is 'Delete ' by default.
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"path": "<path>",
"branch": "<branch>"
},
"name": "bb_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| branch | Yes | ||
| message | No | ||
| repoSlug | Yes | ||
| projectKey | Yes |