List Files
bitbucket_list_filesRecursively list all file paths in a Bitbucket repository or sub-directory to understand project structure or locate files by name. Optionally set a branch, tag, commit, or sub-path for targeted results.
Instructions
Recursively list all file paths in a repository or sub-directory.
Returns a flat list of all file paths (no directories). Useful for understanding the project structure or finding files by name.
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": {
"project_key": "<project_key>",
"repository_slug": "<repository_slug>"
},
"name": "bitbucket_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Branch, tag, or commit (default: default branch) | |
| path | No | Sub-path to list from (default: repository root) | |
| limit | No | Max results (1-5000) | |
| start | No | Pagination start index | |
| project_key | Yes | The project key | |
| repository_slug | Yes | The repository slug | |
| response_format | No | Output format: markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |