remove_script_function
Delete a function and its entire body from a GDScript file in Godot 4 projects to clean up code and remove unused methods.
Instructions
Remove a function and its entire body from a GDScript file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scriptPath | Yes | Script path (res:// or relative to project) | |
| funcName | Yes | Name of the function to remove |