set_property
Set a property on a resolved Godot object with undo support. Values are converted to the declared type and validated before writing, so incompatible input returns an error and changes nothing.
Instructions
Set a property on a resolved object (undoable). value is converted to the type the property declares: vectors take [x,y,z], "x y z" or "(x, y, z)", colors "#rrggbb", a name or [r,g,b,a], an enum its number, an object property a res:// path (loaded) or null. A value that does not fit is an ERROR and nothing is written. Every spelling: help(tool="set_property").
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": {
"target": "<target>",
"property": "<property>",
"value": "<value>"
},
"name": "set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | also write the resource's own .tres/.res file now | |
| value | Yes | any JSON value | |
| target | Yes | ||
| property | Yes |