Browse repository contents
bb_browse_repositoryBrowse a repository's default or specified branch to list root or directory entries and return truncated file content, so you can explore the tree before fetching files.
Instructions
Browse the default (or given) branch of a repository. Without 'path' lists the root directory; with a directory path lists entries; with a file path returns truncated content. Use this to explore the tree before fetching files.
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": "bb_browse_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag or commit to browse (default: default branch). | |
| page | No | One-based page number (Cloud only; from nextPageStart of the previous call). Ignored on Server/DC. | |
| path | No | Path inside the repository. Empty/omitted = root directory. Trailing slash selects a directory. | |
| limit | No | Page size (1-1000). | |
| start | No | Zero-based page offset (Server/DC). | |
| projectKey | Yes | Project key. | |
| repositorySlug | Yes | Repository slug. |