browseFiles
List files and folders in a Bitbucket Data Center repository directory at a branch, tag, or commit to inspect repository structure and locate paths.
Instructions
List a directory
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>"
},
"name": "browseFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag or commit | |
| path | No | Path within the repository | |
| limit | No | ||
| start | No | ||
| repoSlug | Yes | ||
| projectKey | No |