script_create
Create a new GDScript file in a Godot project. Specify project path, script path, base class, and optional full script content.
Instructions
Create a new GDScript file.
Category: Script
Args: project_path: Path to the Godot project directory script_path: Path for the new script (relative to project, e.g., "scripts/player.gd") extends_type: Base class the script extends (default: "Node") content: Optional full script content. If not provided, creates a template.
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| script_path | Yes | ||
| extends_type | No | Node | |
| content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |