devops_code_search
Search source code in Azure DevOps projects by keywords or code fragments. Filter results by repository, path, or branch to find exact file locations with snippet context.
Instructions
Search source code in the configured Azure DevOps project. Returns matching file locations with snippet context. Optionally filter by repository, path, and branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of results to return (1–1000). | |
| path | No | Filter results to one or more file paths (prefix match). | |
| skip | No | Number of results to skip for pagination. | |
| branch | No | Filter results to one or more branch names. | |
| repository | No | Filter results to one or more repository names. | |
| search_text | Yes | Keywords or code fragment to search for. | |
| include_facets | No | When true, include facet counts (projects, repositories, etc.) in the response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |