find_usages
Find every occurrence of a variable, function, or type in a TypeScript/JavaScript file. Identify all usages of an identifier to trace dependencies or refactor safely.
Instructions
Finds all occurrences of a specific identifier (variable, function, type) within a file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the TS/JS file | |
| identifier | Yes | The name of the identifier to search for |