create_resource
Create a new Godot resource by specifying its type and file path. Optionally set initial properties for immediate use.
Instructions
Create a new Godot 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": {
"type": "<type>",
"path": "<path>"
},
"name": "create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Resource file path (e.g. 'res://assets/theme.tres') | |
| type | Yes | Resource type (e.g. 'StyleBoxFlat', 'Gradient', 'Curve') | |
| properties | No | Optional property key-value pairs |