get_definition
Find where Python symbols are defined in code by analyzing a specific position. This tool helps developers navigate codebases and understand symbol origins during static analysis.
Instructions
Get definition location at a specific position.
Returns the location of the definition 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 | |||