list_directory_content
Lists files and directories at a specified Bitbucket repository path so you can browse repository contents by workspace, repository, branch, and optional path.
Instructions
List files and directories at a repository path.
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": {
"workspace": "<workspace>",
"repository": "<repository>"
},
"name": "list_directory_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Default: root | |
| branch | No | Branch (default: default branch) | |
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | Yes | Repository slug |