find_variable
Locate where a specific variable or constant is defined and used across indexed files, returning matching files with context snippets.
Instructions
Find where a specific variable, constant, enum value, or #define is defined and used. Uses text matching to find exact occurrences across indexed files.
Args: variable_name: Name of the variable/constant to find project: Optional project name filter
Returns: Files containing the variable with context snippets
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| variable_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |