browse_repository
Browse files and directories in a Bitbucket repository by specifying the repository, path, and optional branch to locate code and inspect project structure.
Instructions
Browse files and directories in a repository.
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": {
"repository": "<repository>"
},
"name": "browse_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path to browse (default: root). | |
| limit | No | Maximum items to return (default: 50). | |
| branch | No | Branch or commit hash (optional). | |
| project | No | Bitbucket project key (optional if default project configured). | |
| repository | Yes | Repository slug containing the path. |