find_symbol
Locate function, class, or method definitions by name and get their locations with compact signatures. Filter by language or include call sites for efficient code navigation.
Instructions
Find function, class, or method definitions by name. Returns all matching definitions with their locations and compact signatures - far cheaper than reading files. Optionally filter by language or include call sites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The symbol name to search for (e.g., 'calculate_tax', 'MyClass'). Searches function, class, and method definitions. | |
| language | No | Filter results to specific language (e.g., 'python', 'typescript', 'javascript'). Leave empty to search all languages. | |
| include_calls | No | Include all call sites where this symbol is used. When true, returns both definitions and call locations. |