get_file_content
Retrieve the raw content of a file from a BitBucket repository. Useful for reviewing code, configuration files, or documentation.
Instructions
Get the raw content of a specific file from a BitBucket repository.
Use this tool when you need to read the full content of a specific file. This is useful for reviewing code, configuration files, or documentation.
Args: file_path: Path to the file in the repository. repository: Repository slug. If not provided, uses current repository context. workspace: Workspace slug. If not provided, uses the default workspace. ref: Branch, tag, or commit hash (default: HEAD).
Returns: The raw file content as a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| file_path | Yes | ||
| workspace | No | ||
| repository | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |