find_symbol
Find where a function, class, or variable is defined: file, line, signature, and preview in one call, returning definitions rather than all textual mentions.
Instructions
Where is X defined: file, line, signature and preview in one call, the definition only where Grep returns every mention. Functions and classes first, then module constants and variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| hints | No | Add a `_hints` key with next-step tool calls (default true). | |
| kinds | No | Symbol kinds to search. Default: function+class (plus variable when TOKEN_SAVIOR_VARIABLES=search). | |
| level | No | 0 full, 1 no preview, 2 minimal. | |
| names | No | Batch mode: list of names (max 10). Returns {name: result} dict. Mutually exclusive with 'name'. | |
| query | No | Alias de `name`. | |
| symbol | No | Alias de `name`. | |
| project | No | Project name/path (default: active). | |
| compress | No | Compact rows (default true). | |
| symbol_name | No | Alias de `name`. |