script_create
Create a new GDScript file in your Godot project. Overwrites existing files and triggers a filesystem scan.
Instructions
Create a new GDScript source file (.gd) on disk.
Writes content to a .gd file in the project. Overwrites if it exists.
Triggers a filesystem scan. New files include data.cleanup.rm
listing the .gd + .gd.uid sidecar; overwrite omits it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | res:// path (e.g. "res://scripts/player.gd"). | |
| content | No | GDScript source. Empty creates a blank file. | |
| session_id | No | Optional Godot session to target. Empty = active session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||