bb_list_directory
List immediate children of a directory in a Bitbucket repo at a branch or commit. Returns each item's name, type, and path for a clear repository structure view.
Instructions
List immediate children of a directory in a repo at a given ref (default branch or commit SHA). Each item: name, type (FILE/DIRECTORY), and path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Ref: branch name or commit SHA (default = default branch) | |
| path | No | Directory path to list; empty = repo root. Use '' for root, 'src' for src/. | |
| repoSlug | Yes | ||
| projectKey | Yes |