list_directory
Browse repository contents without cloning by listing files and directories in a specified path. View structure, types, and sizes for repositories in Bitbucket.
Instructions
List contents of a directory in a repository.
Browse repository structure without cloning.
Args:
repo_slug: Repository slug
path: Directory path (empty string for root)
ref: Branch, tag, or commit hash (default: "main")
limit: Maximum number of entries (default: 100)
Returns:
List of files and directories with their types and sizesInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| path | No | ||
| ref | No | main | |
| limit | No |