fuzzy_search
Find functions, classes, or methods in a codebase by approximate name matching. Returns similar names, file locations, and similarity scores to locate entities when exact names are unknown.
Instructions
Fuzzy name matching for functions, classes, and methods using Levenshtein distance. Returns 'Did you mean?' suggestions, file locations, and similarity scores. Great for finding entities when you don't know the exact name.
Requires: index_repository must be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| query | Yes | Name to search for (function, class, method) | |
| threshold | No | Minimum similarity score 0.0-1.0 (default: 0.6) | |
| limit | No | Maximum results to return (default: 10, max: 50) | |
| entity_type | No | Filter: 'function', 'class', 'method', or 'module' |