find_references
Locate all references to Python symbols in code by analyzing a specific position. This tool identifies where variables, functions, or classes are used throughout your codebase.
Instructions
Find all references to a symbol at a specific position.
Returns all reference locations for the symbol at the given position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code as string. | |
| position | Yes | Character position (0-indexed) in the code. | |
| python_path | No | Optional path to Python interpreter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||