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