list_repositories
Retrieve and filter repositories from a Bitbucket Cloud workspace with paginated results, sorting, and role-based access.
Instructions
List repositories in a workspace. Returns paginated results with repository details.
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": {
"workspace": "<workspace>"
},
"name": "list_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace slug | |
| role | No | Filter by role | |
| q | No | Query string for filtering | |
| sort | No | Sort field (e.g., "-updated_on") | |
| page | No | Page number | |
| pagelen | No | Results per page (max 100) |