search_code
Find code across Azure DevOps repositories using text search with optional filters for path, branch, repository, and code element type.
Instructions
Search for code across repositories in a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of results to return (default: 100, max: 1000) | |
| skip | No | Number of results to skip for pagination (default: 0) | |
| filters | No | Optional filters to narrow search results | |
| projectId | No | The ID or name of the project to search in (Default: MyProject). If not provided, the default project will be used. | |
| searchText | Yes | The text to search for | |
| includeContent | No | Whether to include full file content in results (default: true) | |
| includeSnippet | No | Whether to include code snippets in results (default: true) | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |