vectr_locate
Find which file defines a symbol by name, returning file path, line number, and kind for every match. Know the symbol name but not its file? This resolves the location directly.
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. |