search
Find code or files across Bitbucket repositories via the Bitbucket API, with project, repository, type, limit, and pagination filters.
Instructions
Search for code or files across repositories using the Bitbucket search API.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Search mode optimization. | |
| limit | No | Results to return (default: 25, max: 100). | |
| query | Yes | Search query string. | |
| start | No | Start index for pagination (default: 0). | |
| project | No | Project key to limit search scope. | |
| repository | No | Repository slug to limit search scope. |