create_resource
Create a new .tres or .res resource file by specifying the resource class and optional properties.
Instructions
Create a new .tres/.res resource of a given class with optional properties (e.g. StandardMaterial3D, custom Resource)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"resourcePath": "<resourcePath>",
"resourceClass": "<resourceClass>"
},
"name": "create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| resourcePath | Yes | Path for the new resource (relative to project) | |
| resourceClass | Yes | Resource class name (e.g. StandardMaterial3D) | |
| properties | No | Optional initial properties |