bb_get_file
Retrieve the full text content of a file from a Bitbucket repository at a specified branch or commit.
Instructions
Read the full content of a file at a ref. Returns the text content as-is (no wrapping).
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>",
"at": "<at>"
},
"name": "bb_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | Ref: branch name or commit SHA | |
| path | Yes | File path, e.g. 'src/index.ts' | |
| repoSlug | Yes | ||
| projectKey | Yes |