gdscript_definition
Find where GDScript functions, variables, or classes are defined by navigating to symbol definitions with file path and line number.
Instructions
Navigate to the definition of a symbol at a given position. Returns: file path and line number where the symbol is defined. IMPORTANT: Uses ZERO-BASED coordinates (editor line 1 = pass line 0). Use when you need to find where a function, variable, or class is defined.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute or relative path to the .gd file | |
| line | Yes | Zero-based line number (editor line - 1) | |
| character | Yes | Zero-based character position |