repositories
List Bitbucket workspace repos or fetch details for a single repo by slug to support browsing and targeted inspection.
Instructions
List repositories in a Bitbucket workspace, or get details for a single repository when repo_slug is provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | (list only) Page number or opaque next page URL | |
| role | No | (list only) Filter by user role | |
| sort | No | (list only) Sort by field | |
| pagelen | No | (list only) Items per page (10-100, default 10) | |
| repo_slug | No | Repository slug/name. If provided, returns a single repository; otherwise lists repositories. | |
| workspace | No | Bitbucket workspace name. Falls back to BITBUCKET_WORKSPACE env var if not provided. |