getFileContent
Retrieves the raw content of a file from a Bitbucket Data Center repository by project, repository, and path, optionally at a specific branch, tag, or commit.
Instructions
Get raw content of a file
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": {
"repoSlug": "<repoSlug>",
"path": "<path>"
},
"name": "getFileContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag, or commit hash | |
| path | Yes | File path | |
| repoSlug | Yes | ||
| projectKey | No |