create_resource
Creates a new Godot Resource file of a specified type at a res:// path, with optional initial property values for setup.
Instructions
Create a new Godot Resource file of the given type.
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": {
"type": "<type>",
"path": "<path>"
},
"name": "create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | res:// path to save the resource | |
| type | Yes | Resource class (e.g. Environment, PhysicsMaterial) | |
| properties | No | Initial property values |