edit_script
Replace a specific exact match in a GDScript file with new code, enabling precise find-and-replace patching of Godot scripts.
Instructions
Replaces one exact occurrence of old_text with new_text in a GDScript file (like a find-and-replace patch).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | Yes | ||
| old_text | Yes | ||
| script_path | Yes | ||
| project_path | Yes |