gdscript_complete
Get scene-aware code completions for GDScript files using Godot's own engine. Returns candidate labels with kind and detail, resolving node paths and signals based on the actual scene.
Instructions
Get valid completions at a cursor position, from Godot's own completion engine. Returns: candidate labels with kind and detail. IMPORTANT: Uses ZERO-BASED coordinates. This is the only SCENE-AWARE query available: Godot resolves the scene that owns this script and completes against the real node, so $NodePath entries and the signals actually present on that node are included. No analysis of the .gd file alone can reproduce that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute or relative path to the .gd file | |
| line | Yes | Zero-based line number | |
| limit | No | Max items to return (default 100) | |
| character | Yes | Zero-based character position |