modify_script
Overwrite GDScript files in Godot 4 projects by providing new content, enabling direct script modification through natural language commands.
Instructions
Overwrite a GDScript file with new content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scriptPath | Yes | Script path (res:// or relative to project) | |
| newContent | Yes | Full new content of the script |