Browse Files
bitbucket_browseBrowse repository file tree to list files and directories, view file contents, and explore specific branches, tags, or commits.
Instructions
Browse the file tree of a repository.
Lists files and directories at the given path. If path points to a file,
returns its content instead. Use at to browse a specific branch or commit.
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": {
"project_key": "<project_key>",
"repository_slug": "<repository_slug>"
},
"name": "bitbucket_browse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag, or commit to browse at (default: default branch) | |
| path | No | Path to browse (e.g. 'src/main/java'). Leave empty for root. | |
| limit | No | Max results (1-1000) | |
| start | No | Pagination start index | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |