bb_search_repositories
Search Bitbucket repositories by name, project key, language, or update date using Bitbucket's query syntax. Supports pagination and workspace-specific searches for efficient repository management.
Instructions
Search repositories in Bitbucket using Bitbucket's query syntax. Search by name (name ~ "pattern"), project key (project.key = "PROJ"), language (language = "python"), or dates (updated_on >= "2024-01-19"). NOTE: All dates must be in ISO 8601 format (YYYY-MM-DD). For searching files within repositories, use Bitbucket's code search in the web interface.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
page | No | Page number for pagination | |
pagelen | No | Number of results per page (max 100) | |
query | Yes | Search query (e.g., 'name ~ "test"' or 'project.key = "PROJ"') | |
workspace | No | Workspace to search in (defaults to kallows) | kallows |
Input Schema (JSON Schema)
{
"properties": {
"page": {
"default": 1,
"description": "Page number for pagination",
"type": "integer"
},
"pagelen": {
"default": 10,
"description": "Number of results per page (max 100)",
"type": "integer"
},
"query": {
"description": "Search query (e.g., 'name ~ \"test\"' or 'project.key = \"PROJ\"')",
"type": "string"
},
"workspace": {
"default": "kallows",
"description": "Workspace to search in (defaults to kallows)",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}