vectr_locate
Locates a symbol by name to return its file path, line number, and definition kind. Use when you know the symbol name but not its file.
Instructions
Use when you know the SYMBOL NAME but not which file it's in. Returns file path + line number + kind for every matching definition. NOT when you're searching by concept or behaviour — use vectr_search instead. NOT when you want call relationships — use vectr_trace instead. Example: vectr_locate(name='EvaluateSegments') → 'targeting/evaluator.go:45'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name or partial name to locate (case-sensitive partial match) | |
| limit | No | Max results (default: 10) | |
| caller_file | No | Absolute path of the file containing the call site. Enables same-module and import-chain fallback strategies. |