searchcode
Perform semantic code searches with metadata extraction and AST-aware chunking. Search within specified folders, file types, and exclude patterns to retrieve relevant code snippets efficiently.
Instructions
Semantic code search with metadata extraction and AST-aware chunking
Input Schema
Name | Required | Description | Default |
---|---|---|---|
extensions | No | Optional comma-separated list of file extensions to include (default: js,ts) | |
folders | No | Optional comma-separated list of folders to search (defaults to working directory) | |
ignores | No | Optional comma-separated list of patterns to ignore (default: node_modules) | |
query | Yes | Semantic search query for code | |
topK | No | Optional number of results to return (default: 8) | |
workingDirectory | No | Optional working directory for the operation (defaults to server working directory) |