codebase_symbols
Find code symbols by searching project-wide or listing all symbols in a file. Locate existing functions, classes, and variables before exploring a specific symbol in detail.
Instructions
List symbols in a file, or search by name across the project. Use to discover what exists before drilling into a single symbol with codebase_symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative file path — list all symbols in this file. | |
| limit | No | Maximum results (default 200). | |
| query | No | Substring to match against symbol names project-wide. | |
| projectPath | No | Absolute path to the project directory. |