bb_search_code
Search Bitbucket code across projects, repos, and branches by text, file path, or date range to locate relevant code snippets.
Instructions
Not available on this Bitbucket Server (v7.12.1). The code-search endpoint is disabled; use get_file / list_directory instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Limit to one file path (glob supported) | |
| repo | No | Limit to one repo slug (requires 'project') | |
| text | Yes | Code to search for (e.g. function name, string literal) | |
| limit | No | ||
| since | No | Only matches after this date (yyyy-mm-dd) | |
| start | No | ||
| until | No | Only matches before this date (yyyy-mm-dd) | |
| branch | No | Limit to one branch | |
| project | No | Limit to projects matching this project key |