godot_read_script
Reads GDScript (.gd) or text-based resource files from Godot projects to access script content for editing or analysis.
Instructions
Reads the content of a GDScript (.gd) or other text-based resource file.
Args:
file_path (string): res:// path e.g. "res://player/player.gd"
Returns: { path: string, content: string }
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | res:// path to the script file |