list_repositories
List repositories in a Bitbucket workspace to discover available repos or browse for specific ones. Optionally specify workspace and limit.
Instructions
List repositories in a BitBucket workspace.
This is the primary tool for discovering repositories. Use this when the user wants to see what repositories are available or when searching for a specific repository by browsing.
Args: workspace: Workspace slug. If not provided, uses the default workspace from BITBUCKET_WORKSPACE environment variable. limit: Maximum number of repositories to return. Default 50.
Returns: JSON list of repositories with their names, descriptions, and URLs.
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": "list_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |