CodeGraph: codegraph_search
codegraph_searchFind symbols by name in a codebase and get their exact file locations, with no code snippets. Locate functions, classes, variables, and more by partial or exact name.
Instructions
Quick symbol search by name. Returns locations only (no code). Use codegraph_explore instead to get the actual source / understand an area in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by node kind | |
| limit | No | Maximum results (default: 10) | |
| query | Yes | Symbol name or partial name (e.g., "auth", "signIn", "UserService") | |
| projectPath | Yes | Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project). |