write_resource
Write properties to a Godot .tres resource file, enabling programmatic updates with optional backup creation.
Instructions
Write properties to a 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": {
"path": "<path>",
"properties": "<properties>"
},
"name": "write_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .tres file (relative to project root) | |
| properties | Yes | Properties to set/overwrite in the [resource] section | |
| create_backup | No | Create .bak backup (default: true) |