bb_search_repositories
Search Bitbucket repositories by name, project key, language, or update date using query syntax. Filter results and page through matches to locate relevant repos.
Instructions
Search repositories using Bitbucket's query syntax: name (name ~ "pattern"), project key (project.key = "PROJ"), language (language = "python"), or dates (updated_on >= "2024-01-19", ISO 8601 only). To search file contents instead, use bb_list_endpoints for the code-search endpoints.
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": {
"query": "<query>"
},
"name": "bb_search_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| query | Yes | Query, e.g. 'name ~ "test"' or 'project.key = "PROJ"' | |
| pagelen | No | Results per page | |
| workspace | No | Bitbucket workspace; '~' targets your personal workspace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |