write_script
Write or update a Godot script file by specifying its path and new content. Optionally creates a backup before overwriting.
Instructions
Write content to a script file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to script file (relative to project root) | |
| content | Yes | New file content | |
| create_backup | No | Create .bak backup (default: true) |