search_code
Locate specific code across repositories within a project. Apply filters like branch, code element, file path, or repository to refine results and include full file content or snippets.
Instructions
Search for code across repositories in a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filters | No | Optional filters to narrow search results | |
includeContent | No | Whether to include full file content in results (default: true) | |
includeSnippet | No | Whether to include code snippets in results (default: true) | |
projectId | Yes | The ID or name of the project to search in | |
searchText | Yes | The text to search for | |
skip | No | Number of results to skip for pagination (default: 0) | |
top | No | Number of results to return (default: 100, max: 1000) |