edit_script
Replace a specific text segment in a GDScript file to update script logic or fix errors. Specify the file path, exact old text, and new replacement text.
Instructions
Edit an existing GDScript file by replacing a text segment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Script file path (e.g. 'res://scripts/player.gd') | |
| new_text | Yes | Replacement text | |
| old_text | Yes | Exact text to find and replace |