bb_read_file
Read file content from a Bitbucket repository using the file path, branch, workspace, and repo slug. Retrieve the source code or data needed for review and automation.
Instructions
Read a file from a Bitbucket repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file within the repository | |
| branch | No | Branch or commit to read from | main |
| 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 |