Get File Content
bitbucket_get_file_contentRetrieve raw file content from any Bitbucket repository branch, tag, or commit using project key and file path.
Instructions
Get the raw content of a file from a repository.
Returns the full file content as text. Use at to fetch from a specific
branch, tag, or commit hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag, or commit (default: default branch) | |
| path | Yes | File path (e.g. 'src/main/App.java') | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |