search_functions
Find functions by name or concept across a codebase to check for duplicates, locate implementations, and replace grep with alias-aware results.
Instructions
Find functions by name or concept across the whole codebase.
CALL THIS WHEN: • You're about to write a function, helper or utility: check it doesn't already exist • You need to know where something is implemented (e.g. "retry", "validate", "notify")
RETURNS: Matching functions with file path, line range, module, signature, export status and complexity.
USE INSTEAD OF: grep, which misses aliases and re-exports and includes comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Only this file (full path matches exactly, a file name as a substring) | |
| repo | Yes | Repository name — one of your connected repos. | |
| limit | No | Max results (default 20, max 50) | |
| query | Yes | Function name or part of one | |
| module | No | Only this module | |
| offset | No | Results to skip (default 0) | |
| exported_only | No | Exported functions only (default false) |