search_code
Find code and text within a repository by searching file contents. Filter results by path, branch, file extension, or project.
Instructions
Search for code/text content in a repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Max results to return | |
| path | No | Folder path to search in (e.g., "/src") | |
| branch | No | Branch to search (default: default branch) | |
| project | No | Project name | |
| repository | Yes | Repository name or ID | |
| searchText | Yes | Text to search for in file contents | |
| fileExtension | No | Filter by file extension (e.g., ".cs", ".ts") |