get_file_content
Retrieve the full raw text of any file in a Bitbucket repository by providing its repository slug and file path, returning source code for direct reading.
Instructions
Read the full content of a file in a repository. Returns the raw file content as text. Use this to read source code files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file path (e.g., 'src/index.ts'). | |
| branch | No | The branch name. Defaults to the main branch. | |
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |