atlas_code_find
Locate function or class definitions across a codebase by symbol and return file, line, and signature; optionally scan call sites to verify whether the symbol is used.
Instructions
Locate function or class definitions across the codebase (file, line, signature) and optionally inspect call sites.
Use this tool BEFORE reading source files to find where a symbol lives (~30 tokens per signature vs.
thousands of tokens for a full file) or set `usage=True` to check if a symbol is actually called before
marking a task done. Supports GDScript (`.gd`/`.tscn`), Python, TypeScript/JavaScript, Rust, C#, Go,
Java, Kotlin, and Swift.
Behavior & Output:
- Read-only static scan of project source files; ignores build directories and `.atlas/`.
- Returns a formatted summary of matching definitions (`path:line — signature`) and, when `usage=True`,
the caller/reference count and file:line call sites for each symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matching symbol definitions to return (1-100, default 10). | |
| usage | No | If true, also scan the repository for call sites and references to each matched symbol (including Godot `.tscn` signal bindings) to verify whether the symbol is wired up (default false). | |
| symbol | Yes | Function, method, or class name (or substring) to search for across the codebase (e.g. 'apply_damage' or 'TurnManager'). Does not match local variables. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |