bitbucket_list_directory
List files and folders in a Bitbucket repository directory. Specify workspace, repository, path, and branch to view contents.
Instructions
List the contents of a directory in a repository.
Args: workspace: Workspace name or project key. repository: Repository name. path: Directory path in the repository (empty for root). branch: Branch name to list from (default: main).
Returns: JSON string containing directory contents.
Raises: ValueError: If the Bitbucket client is not configured or available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path in the repository | |
| branch | No | Branch name to list from | main |
| workspace | Yes | Workspace name (Cloud) or project key (Server/DC) | |
| repository | Yes | Repository name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |