game_resource
Load, save, or check existence of game resources at runtime using resource paths. Supports saving node resources via node path and property.
Instructions
Runtime resource load, save, or preload
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": {
"action": "<action>",
"path": "<path>"
},
"name": "game_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Resource path (res://) | |
| action | Yes | Action: load, save, exists | |
| nodePath | No | Node path (for save - saves node resource) | |
| property | No | Property name holding the resource |