search_code
Search code in a Bitbucket Server repository by project key, repository slug, and query string.
Instructions
Search for code in a Bitbucket Server repository
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query string | |
| repoSlug | Yes | The repository slug | |
| projectKey | Yes | The project key (e.g., PROJ) |