search_code
Search code across Azure DevOps repositories, filtering by project, repository, branch, or path to find relevant source files.
Instructions
Search for code in repositories.
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": {
"searchText": "<searchText>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum results. | |
| path | No | Filter by paths. | |
| skip | No | Results to skip. | |
| branch | No | Filter by branches. | |
| project | No | Filter by projects. | |
| repository | No | Filter by repositories. | |
| searchText | Yes | Search text. |