list_directory_content
Access and display files and directories within a specified repository path on Bitbucket, enabling easy navigation and management of repository content.
Instructions
List files and directories in a repository path
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name (optional, defaults to default branch) | |
path | No | Directory path (optional, defaults to root, e.g., "src/components") | |
repository | Yes | Repository slug (e.g., "my-repo") | |
workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"description": "Branch name (optional, defaults to default branch)",
"type": "string"
},
"path": {
"description": "Directory path (optional, defaults to root, e.g., \"src/components\")",
"type": "string"
},
"repository": {
"description": "Repository slug (e.g., \"my-repo\")",
"type": "string"
},
"workspace": {
"description": "Bitbucket workspace/project key (e.g., \"PROJ\")",
"type": "string"
}
},
"required": [
"workspace",
"repository"
],
"type": "object"
}