browse_files
Browse files and directories in a Bitbucket repository at a given path, branch, tag, or commit. View the project structure and retrieve file listings for read-only access.
Instructions
Browse files/directories in a repository at a given path and ref.
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>",
"repositorySlug": "<repositorySlug>"
},
"name": "browse_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag, or commit to browse (default: default branch) | |
| path | No | Path within the repository (default: root) | |
| limit | No | Maximum number of items to return | |
| start | No | Starting index for pagination | |
| projectKey | Yes | The Bitbucket project key | |
| repositorySlug | Yes | The repository slug |