create_resource
Create a .tres resource file with typed properties for Godot, specifying resource type, properties, and optional GDScript script.
Instructions
Create a .tres resource file with typed properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | No | Properties to set on the resource | |
| scriptPath | No | Optional: Path to a GDScript that defines the resource class | |
| projectPath | Yes | Path to the Godot project directory | |
| resourcePath | Yes | Path where the .tres file will be saved (relative to project) | |
| resourceType | Yes | Type of resource (e.g., "Resource") or path to a script with class_name |